Report Variables from a Server

HI All - I have a Version 5 FastReport Server running , all functioning as expected however from Delphi (2009) code I'm having trouble extracting the variable list

On my Data Module I have a Report Client and a ServerConnection

1. I load the desired report - (data = Warehouse\BMS-StorageSummary.fr3);
2. I have a StringList "lvVarList"
3. Prepare the Report
4. Get the Variables,

Now if I load the report into a local frxReport and do the same the var's are available so I'm thinking its something to with the path ? the Application will not always be connected to a network , so would be nice to get the var from any type of connection to the server - any help appreciated

DataForm.frxReportClient.LoadFromFile(edReportName.Text) ;
DataForm.frxReportClient.PrepareReport;
DataForm.frxReportClient.Variables.GetVariablesList('RptVar',lvVarList);

Regards

Trevor Chant

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.