Re: invalid class typecast
- From: "Andrew Ryazanov" <aust@xxxxxx>
- Date: Mon, 25 Apr 2005 14:59:20 +0400
"yc" <yc@xxxxx> wrote in message news:426cc59b$1@xxxxxxxxxxxxxxxxxxxxxxxxx
> I'am trying to use TLargeIntField, it is giving me a headache.
> I've two Access tables tbl1 and tbl2 (qry1 and qry2).
> Using TLargeIntField field type as follows, I get an invalid class
typecast exception.
> li := qry2.FieldByName('REFNO') as TLargeIntField; //EXCEPTIO is here
Why do you cast it as TLargeInt? This means the INT64 type while MS Access
doesn't support INT64 fields. Suppose you need just TIntegerField.
.
- Follow-Ups:
- Re: invalid class typecast
- From: Mike Shkolnik
- Re: invalid class typecast
- References:
- invalid class typecast
- From: yc
- invalid class typecast
- Prev by Date: invalid class typecast
- Next by Date: Re: invalid class typecast
- Previous by thread: invalid class typecast
- Next by thread: Re: invalid class typecast
- Index(es):
Relevant Pages
|