Re: invalid class typecast



Parameters.ParamByName('REFNO').Value := li.Value;

Useing D6 + ADO i run into lots of problems regarding the Value and
LargeInt, if you will check the assignment you will probably see that the
Value passed is wrong when the Value is larger then normal Int.
In my case i gave up on BigInt and just use Float.


"Mike Shkolnik" <mshkolnik2002@xxxxxxx> wrote in message
news:426ccf08@xxxxxxxxxxxxxxxxxxxxxxxxx
> > Why do you cast it as TLargeInt? This means the INT64 type while MS
Access
> > doesn't support INT64 fields.
> MS Access database supports the INT64 fields. There is the dbBigInt field
> type and this is same to ftLargeint in VCL
>
> --
> With best regards, Mike Shkolnik
> EMail: mshkolnik@xxxxxxxxxxxxx
> http://www.scalabium.com
>
>


.