Loop over TfrxDataSet

It seems as if the TfrxDataSet is missing some properties that are necessary for retrieving the field names from that table. If anyone could post an example of how to do this it would be greatly appreciated.

Comments

  • edited 2:15AM
    I found the answer after a couple of days of searching (They need better documentation!!!)

    There is a very poorly thought out procedure that they use for the TfrxDataSet Class.
    var 
      fields: TStringList;
      estDataList: TfrxDataSet;
    
    begin
      estDataList := Report.GetDataset('EstData');
      fields := TStringList.Create;
    
      estDataList.GetFieldList(fields);
    end.
    

    Where I have the problem with this way of doing it is that it uses a Procedure rather than a function.

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.