Subject RE: [IBO] Fields[xx].value - unidentifyed type: 14
Author Claudio Valderrama C.
From IBO:
// Avoiding having to load in the ActiveX unit.
const
VT_DECIMAL_X = 14;

And later, in GetAsVariant:
SQL_INT64_: if SQLScale = 0 then
begin
{$IFDEF IBO_VCL40_OR_GREATER}
TVarData(Result).VType := VT_DECIMAL_X;
tagDEC_X(Result).lo64 := AsInt64;
{$ELSE}
Result := AsExtended;
{$ENDIF}

In other words, variant of type 14 is longlong, I mean INT64.

C.

> -----Original Message-----
> From: Mauricio Longo [mailto:mlongo@...]
> Sent: Viernes 29 de Diciembre de 2000 9:55
> To: IBObjects@egroups.com
> Subject: [IBO] Fields[xx].value - unidentifyed type: 14
>
>
> I'm trying to copy a TIBOQuery into a tkbMemTable and I keep getting
> a Field "xx" must have a value error. While debugging I notice that
> my watch on the Source dataset's value property (the TIBOQuery) keeps
> showing "Unidentified type: 14".
>
> I'm using in this computer an older version of IBO - 3.3 or 3.4.
> I'll retry this at home where I have the latest version. If this was
> an issue, was it corrected?
>
> I was trying to gain some time on my IBO project since I have nothing
> to do at work (I never had anything to do in the last working day of
> the year. I don't know I bother to come to the office.) :-)
>
> Thanks!
>
> All my best,
>
> Mauricio Longo
>
>
>
>
>
>