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

Comments

  • edited 6:51PM
    When you accessing data fileds, you should use formname.tablename."fieldname" syntax. When accessing properties/methods of dialog components, you should use name of the component, without 'dialogform' prefix.

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.