Subject Re: [IBO] Numeric value changed by 0.01 using TwwIBOquery/TwwDBedit.
Author Jason Wharton
I've got this issue resolved as best I can tell. I also found that if you
assigned 123456789.11 that the last 1 would get lost. I fixed it so that as
long as you are using precion decimal places of 4 or less you will not lose
this piece of the value.

I'm putting the sub-release out there now... Just got to finish doing my
build process...

Jason

----- Original Message -----
From: <murmurrer@...>
To: <IBObjects@yahoogroups.com>
Sent: Wednesday, June 20, 2001 6:44 AM
Subject: Re: [IBO] Numeric value changed by 0.01 using
TwwIBOquery/TwwDBedit.


> If the problem is coming
> > from the application try compiling with debug DCUs and then check
> the
> > callstack when the exception occurs. Hopefully that will give some
> > idea where the problem is coming from (IBO/VCL/IP).
>
>
>
> I dont know what generates the error.
> I have created the following test database with 1 table and 1 record:
>
> CREATE TABLE TEST(
> AMOUNT NUMERIC(18,2))
>
> with no triggers
>
>
> I create a sample project with a:
>
> - TIB_Connection
> - wwIBOquery1 (select * from test / requestlive = true)
> - wwDataSource1
> - wwDbEdit1
>
> The only code is:
>
> wwIBOquery1.open;
> wwIBOquery1.edit;
>
> When entering 1234567890 and exiting the field the errormessage pops
> up. The same happens using a TIBOTable or a TwwIBOTable.
>
> When I connect a paradox table to wwDbEdit1 the error is not there.
>
> You can see the callstack here: http://www.murmur.nl/error.jpg
>
> I dont know where I should look. Hope you can find out where the
> problem is.
>
>
> TIA
> guus vorsterman