Are multiple Preview panes possible?
Adam
London
Dear All,
I have been using FR for years & really like it.
I am trying to extend a reporting tool, to allow side-by-side comparison of multiple reports.
The idea is pretty simple:
A PageControl with 1 ReportPreview component on each PageControl-TabSheet.
User has a tree-view showing the reports, doubling clicking on any one creates a new TabSheet with Caption = Report-File-Name.
The User can have several TabSheets open at the same time, so they can look at (say) report of sales + chart of stocks + crosstab of amounts owed by flicking between the tabsheets.
--
Problems / Issues:
1. I can create multiple TfrPreview components, but they all show the most recently run report-data.
i.e. I end up with correctly Captioned TabSheets and as each one is created it shows the correct data ... BUT once the second TabSheet is created the report shown in the first TabSheet is over-written by the data from the second etc., for each subsequent report.
2. I would also like to have a mechanism for "closing" the TabSheets if the user has finished with them. I can free the TabSheet & free the frPreview component on it ... this makes the TabSheet disappear, but if I try to run the same report again (i.e. one that has alrady been shown once) I get an exception. I am guessing this is to do with recreation of a preview for an existing report, with some trailing objects hanging around ...
--
Am I trying to do too much with Fast Report?
Should I just be happy with running 1 report at a time?
The problem is that if I can make it work, it will be a really nice feature that my users will like!
Adam x
I have been using FR for years & really like it.
I am trying to extend a reporting tool, to allow side-by-side comparison of multiple reports.
The idea is pretty simple:
A PageControl with 1 ReportPreview component on each PageControl-TabSheet.
User has a tree-view showing the reports, doubling clicking on any one creates a new TabSheet with Caption = Report-File-Name.
The User can have several TabSheets open at the same time, so they can look at (say) report of sales + chart of stocks + crosstab of amounts owed by flicking between the tabsheets.
--
Problems / Issues:
1. I can create multiple TfrPreview components, but they all show the most recently run report-data.
i.e. I end up with correctly Captioned TabSheets and as each one is created it shows the correct data ... BUT once the second TabSheet is created the report shown in the first TabSheet is over-written by the data from the second etc., for each subsequent report.
2. I would also like to have a mechanism for "closing" the TabSheets if the user has finished with them. I can free the TabSheet & free the frPreview component on it ... this makes the TabSheet disappear, but if I try to run the same report again (i.e. one that has alrady been shown once) I get an exception. I am guessing this is to do with recreation of a preview for an existing report, with some trailing objects hanging around ...
--
Am I trying to do too much with Fast Report?
Should I just be happy with running 1 report at a time?
The problem is that if I can make it work, it will be a really nice feature that my users will like!
Adam x