Subject Re: [IBO] Fields[xx].value - unidentifyed type: 14
Author Mauricio Longo
The main problem I'm having is that the code for copying a dataset into a
memory table or from a memory table (methods of TkbMemTable) detects if the
fields are of a supported type and then does a

TargetDataset.FielbyName('xxx').Value :=
SourceDataset.FielbyName('xxx').Value;

assignment. I Don't remember right now if uses FieldByName or FieldValues
or some other method but I don't think it would make a difference in this.

The *main* problem I see is that I've already switched my field to Integer
in Interbase but I still get the same problem. I'll try starting over this
from scratch and let you know how it turns out.

Thanks!

Best regards,

Mauricio Longo


----- Original Message -----
From: "Christian Kaas" <christian@...>
To: <IBObjects@egroups.com>
Sent: Tuesday, January 02, 2001 6:26 AM
Subject: AW: [IBO] Fields[xx].value - unidentifyed type: 14


> > -----Ursprungliche Nachricht-----
> > Von: Geoff Worboys [mailto:geoff@...]
> > Gesendet: Dienstag, 2. Januar 2001 09:30
> > An: IBObjects@egroups.com
> > Betreff: Re: [IBO] Fields[xx].value - unidentifyed type: 14
> >
> >
> > I guess the moral of the story is to be very careful when using
> > Variant.
> >
> >
> I remember my VB/VBA days having a guideline NOT TO USE variant datatype
> where it can be avoided, but explicit datatypes instead :-o
>
> BTW i have a changed version of the IBdataset.pas file that works (the
> PARAM/Variant Problem).
> I've sent it to Jason - to review it.
>
>
> --
> Christian Kaas mailto:christian@...
> Client/Server/Internet/Multitier development
> http://www.ckaas.de
>
>
> eGroups Sponsor
>
>
>