RecordCount is not working ?!
Posted: Thu 29 Jan 2009 15:00
Hello,
i have some problems using the RecordCount function with mySQL direct.
I get a exception.
Is there anything wrong in my Code?
I use the latest Release 4.40.14 from 20-Jan-09.
Thanks....
i have some problems using the RecordCount function with mySQL direct.
I get a exception.
Is there anything wrong in my Code?
Code: Select all
Form1.SQLQueryReminder.Active := false;
Form1.SQLQueryReminder.SQL.Clear;
Form1.SQLQueryReminder.SQL.Add(sql);
Form1.SQLQueryReminder.Active := true;
RemCount := Form1.SQLQueryReminder.RecordCount; <= here i get the exception !
while not Form1.SQLQueryReminder.Eof do
begin
// do something :)
Form1.SQLQueryReminder.Next;
end;
Thanks....