Subject | Re: [IBO] TIBOBCDFields and TIBOFloatFields |
---|---|
Author | Jason Wharton |
Post date | 2001-05-09T03:54:50Z |
You can add in the TIB_Connection (or TIBODatabase) ColumnAttributes
property the NOBCD attribute which will cause it to use the float field
instead of the BCD field.
Also, feel free to go into the source and look for 'NOBCD' in the IBODataset
(IBDataset) unit and change the code to avoid using BCD all together.
Why are BCD columns so awful to deal with?
Why are they so hard to get working?
Seems there is still a bug in them when accessing their value as a float.
Were you getting an "out of range" error by chance?
HTH,
Jason Wharton
CPS - Mesa AZ
http://www.ibobjects.com
property the NOBCD attribute which will cause it to use the float field
instead of the BCD field.
Also, feel free to go into the source and look for 'NOBCD' in the IBODataset
(IBDataset) unit and change the code to avoid using BCD all together.
Why are BCD columns so awful to deal with?
Why are they so hard to get working?
Seems there is still a bug in them when accessing their value as a float.
Were you getting an "out of range" error by chance?
HTH,
Jason Wharton
CPS - Mesa AZ
http://www.ibobjects.com
----- Original Message -----
From: <dcalford@...>
To: <IBObjects@yahoogroups.com>
Sent: Tuesday, May 08, 2001 8:52 PM
Subject: [IBO] TIBOBCDFields and TIBOFloatFields
> Hi,
>
> I have a field that is being identified as a bcd field but I want it
> to be dealt with as a float.
>
> I am using a TIBOTable and adding the fields.
> When I redefine the type in the class definition the compiler
> complains that it should be bcd....
>
> Any suggestions?
>
> best regards
>
> Dalton
>
>
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>