Hi,
 I am working with a database and I am doing the following
 
tFile:string;
 
tFileName:=mainForm.SQLQuery1.FieldValues['tFileName'];
 
where tFileName is in a database and is a string.
 
I keep getting a EVariant error on this line. 
Is there any way to force mainForm.SQLQuery1.FieldValues['tFileName'] to return 
a string or at least be less restrictive so as to run with a warning. Any ways 
around this would be very helful. Thanks
 
Lefti

Reply via email to