MySQL Forums
Forum List  »  Delphi

Re: Problem with INSERT INTO
Posted by: John Kuiper
Date: January 11, 2010 04:03AM

Just do a select from your table. Use virtualtable connected to DBGrid

procedure ShowByOne;
begin
while not myquery1.eof do
begin
virtualtable1.disablecontrols;
virtualtable1.filter := 'datefield = ' myquery1.fieldbyname('datefield).AsString;
virtualtable.filtered := true;
virtualtabl1.enablecontrols;
sleep(200); //I don't know exacly how the value for 2 seconds in sleep
end;
end;

but why a dbdrid?

Options: ReplyQuote


Subject
Written By
Posted
January 07, 2010 08:51AM
January 07, 2010 08:55AM
Re: Problem with INSERT INTO
January 11, 2010 04:03AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.