Subject | Re: [IBO] Re: Accessing "Numeric (18,0)" fields via FieldByName |
---|---|
Author | Artur Anjos |
Post date | 2003-11-02T19:23:19Z |
Pelle,
Since I'm working with D5, I have that quind of problems too often. What I
realized is, even without having that method, TIBOQuery is aware of a Int64
field, and always give you the right answer in a AsString statment (ie,
internally it calls Int64ToStr on this fields to return you the string).
It's easy for you to use this value and create a new method.
Artur
Since I'm working with D5, I have that quind of problems too often. What I
realized is, even without having that method, TIBOQuery is aware of a Int64
field, and always give you the right answer in a AsString statment (ie,
internally it calls Int64ToStr on this fields to return you the string).
It's easy for you to use this value and create a new method.
Artur
----- Original Message -----
From: "Pelle F. S. Liljendal" <pelle@...>
To: <IBObjects@yahoogroups.com>
Sent: Sunday, November 02, 2003 5:13 PM
Subject: [IBO] Re: Accessing "Numeric (18,0)" fields via FieldByName
> My problem is that the IBOxxx components don't have an "AsInt64"
> method like the IB_xxx components do.
>
> > I only use native (IB_xxx) components, and I've all PKs defined as
> > NUMERIC(18,0). There is no problem at all in access that value, not
> > with FieldByName, nor in ParamByName, since AsInt64 method is
> defined
> > for both.
> > What is your problem? What version of IBO are you using? (me the
> latest).
> > regards
> > Marco Menardi