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
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