Op dinsdag 11-12-2007 om 15:54 uur [tijdzone -0800], schreef el
stamatakos:
> Hi All,
> I have an application that connects to a MySQl database. I have found the
> only way to get Lazrus to work without giving me an error "Cannot access
> Active DataSet" is to do a Clear,Add, Open Close, like below
>
> MainForm.SQLQuery1.SQL.Clear;
> MainForm.SQLQuery1.SQL.Add('SELECT revID from rev WHERE
> revName='+#39+CBProcessRev.Text+#39);
If you want to save some code, you could replace the lines above with:
Mainform.SQLQuery1.SQL.Text := 'SELECT revID fro......';
Joost
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives