dataset commands ?
I have this in the the OnActivate section of a DialogForm. The form contains a listbox that I am trying to fill from the table. I keep getting errors that the .eof and .next are not valid commands. How do I do this in FR??
begin
DialogForm.tblPrograms.Open;
while not DialogForm.tblPrograms.eof do begin
lbPrograms.Add([DialogForm.tblPrograms."name"]);
DialogForm.tblPrograms.next;
end;
end
begin
DialogForm.tblPrograms.Open;
while not DialogForm.tblPrograms.eof do begin
lbPrograms.Add([DialogForm.tblPrograms."name"]);
DialogForm.tblPrograms.next;
end;
end
Comments