[DUG] Cant convert varianttypecastError to OleStr
Phil Scadden
p.scadden at gns.cri.nz
Fri May 19 10:56:21 NZST 2006
Got a strange one.
This line:
ADOTable1.Locate('Alarmtime',VarArrayOf([dt]),[]);
generates 'Could not convert variant of type (Array Variant) into type (Olestr).
(dt is TDateTime)
Any ideas what is going on???
----------------------------------------------------------
Phil Scadden, Institute of Geological and Nuclear Sciences
764 Cumberland St, Private Bag 1930, Dunedin, New Zealand
Ph +64 3 4799663, fax +64 3 477 5232
More information about the Delphi
mailing list