|
Hi
Could you just use
the code
AcustomTable['Ref'] := 111;
I think that this
uses variants and I would not have a clue if this
would handle large
integers correctly but it would be worth a try.
It would be easy to
do a search and replace to
replace
.FieldByName( with [
and replace
).AsInteger with ]
nb
The only downside I
have found using this method to access
fields is that
s:=Table['CustName'] will return an error if the
CustName field is
NULL as this is a valid variant value.
ie need to do
if
Table['CustName']<>NULL then
s:=Table['CustName']
else
s:='';
where s is s
String
s:=Table.FieldByName('CustName').AsString
just returns a blank
string.
Warren
|
_______________________________________________ Delphi mailing list [EMAIL PROTECTED] http://ns3.123.co.nz/mailman/listinfo/delphi
