Subject | Re: TIBOBCDFields and TIBOFloatFields |
---|---|
Author | dcalford@distributel.ca |
Post date | 2001-05-09T04:29:46Z |
Hi Jason,
Sorry to keep bothering you.
What exactly is the syntax in the columnattributes to turn off bcd
for a specific domain?
Is there a newer reference for this?
best regards
Dalton
Sorry to keep bothering you.
What exactly is the syntax in the columnattributes to turn off bcd
for a specific domain?
Is there a newer reference for this?
best regards
Dalton
--- In IBObjects@y..., "Jason Wharton" <jwharton@i...> wrote:
> 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
>
>
> ----- Original Message -----
> From: <dcalford@d...>
> To: <IBObjects@y...>
> 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/
> >
> >