How to clear a report
BJL
Brussels, Belgium
BCB6 and FR3
The user makes some choices and sets parameters to run a report.
After viewing the report, he may change some parameters to get another view.
Unfortunately, after the changes, it is always the first report which displays.
After the new choices of the user, I have a
and, of course, a modified dataset. I even reload the FRF file.
What else is necessary to get rid of the first report?
Thanks for helping.
BJL
The user makes some choices and sets parameters to run a report.
After viewing the report, he may change some parameters to get another view.
Unfortunately, after the changes, it is always the first report which displays.
After the new choices of the user, I have a
frxReport->Clear()
and, of course, a modified dataset. I even reload the FRF file.
What else is necessary to get rid of the first report?
Thanks for helping.
BJL
Comments
The advantage is that if what Clear() does or you have to migrate to a new Reporting Tool you won't be stuck on what "you hope" Clear() does. The advantage in creating an inherited component if if you do change you only have to upgrade your component and you don't have to change your well tested business logic. Cost more up front but reduces your maintenance costs.
Wayne