Subject Re: [IBO] IBOQuery & FieldByName("F1")->AsInt64
Author Rohit Gupta
We have a function calles AsInt64 (Field : TField) : int64

it accesses the value as string and does strtoint64


gbehnke2000 wrote:

> Dear all,
>
> calling the methode FieldByName of the IBOQuery component should
> return a pointer to a TIB_ Column object as i see it.
> Further has the Object TIB_Column the property AsInt64, but using
> IBOQuery i can't use this property. Its only possible with IB_Query.
> That would mean i can't use Int64 Values or LargeInt with IBOQuery ?!
> I make a casting to do that but i'm not sure if that is a good
> solution
>
> ((TLargeintField*)dsGetFolderItems->FieldByName("FOLDER_ID"))-
> >AsLargeInt;
>
> Has anywhere a better solution for IBOQuery ?
>
> thanks and regards
> Gerhard
>
>