Page 1 of 1
problems using oracle fieldtype float
Posted: Mon 11 Apr 2016 15:03
by Aufhauser
I have problems using ODAC 9.6.22 with oracle fieldtype 'float'.
Setting
OraSession.Options.EnableNumbers:= False;
Query.Fields[nn].AsFloat truncates the values.
If I set EnableNumbers:= True the values are not truncated.
V 9.6.20 of ODAC works correct!
Stefan
Re: problems using oracle fieldtype float
Posted: Tue 12 Apr 2016 08:38
by AlexP
Hello,
Please specify the field type in the Oracle database and the value that is trimmed on disabling the EnableNumbers option.
Re: problems using oracle fieldtype float
Posted: Wed 13 Apr 2016 11:23
by Aufhauser
The datatype used in create-statement was the pseudotype 'float'!
Stefan
Re: problems using oracle fieldtype float
Posted: Mon 18 Apr 2016 11:53
by AlexP
We can't reproduce the issue. Please specify the number that is cut.
Re: problems using oracle fieldtype float
Posted: Fri 22 Apr 2016 08:52
by Aufhauser
The error only occurs if my programm runs as Com-DLL in memory of another program (Intergraph GeoMedia) so it is very diffcult to build a test-program to show the problem.
If I install V 9.6.22 my program does not work, if I use the old version 9.6.20 my program works (without canges in my code).
My question: did you change something in your program? (Verision 7.2.9 of SDAC had a similar problem)
Re: problems using oracle fieldtype float
Posted: Tue 26 Apr 2016 13:00
by AlexP
Since a lot of modifications were made between these two versions, and we couldn't reproduce the problem, we can't tell what affected this behavior. Therefore try to create a sample reproducing the problem, in order for us to be able to reproduce and fix it.