Hi Michael. Thanks for all your help. I will try it out.
 
Best,
Lefti> Date: Tue, 5 Feb 2008 09:15:37 +0100> From: [EMAIL PROTECTED]> To: 
lazarus@miraclec.com> Subject: Re: [lazarus] DataBase Queries> > > > On Mon, 4 
Feb 2008, el stamatakos wrote:> > > > > Hi,> > I am working with a database and 
I am doing the following> > > > tFile:string;> > > > 
tFileName:=mainForm.SQLQuery1.FieldValues['tFileName'];> > You should never use 
FieldValues, this is a horrible construct which Delphi> introduced for Visual 
Basic "compatibility".> > You should use> 
tFileName:=mainForm.SQLQuery1.FieldByName('TFileName').AsString;> instead.> > 
Michael.> > _________________________________________________________________> 
To unsubscribe: mail [EMAIL PROTECTED] with> "unsubscribe" as the Subject> 
archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to