dynamic autosearch ?
Hi there
I am new to ReportBuilder and to this newsgroup, so if there is a more
specific newsgroup I should message to, please refer me to it.
I am using ReportBuilder 5.56 and I made some template reports with it.
What I want to do is create an application similar to the Windows explorer
(and the Report Explorer in the example demos) in that when the user clicks
on a report found in the folders, it loads it in the Print Preview window.
However, I want to be able to use autosearch fields so that the user can
specify certain constraints. Is there a way to store the information and
code in the .rtm file so that when the user clicks on a report, the
autosearch dialog is dynamically loaded with the fields corresponding to
that report? The only other way I can think of doing it is by .ini files,
in which for every report, I'd have to include initializing info.
Any help would be greatly appreciated.
Aaron
I am new to ReportBuilder and to this newsgroup, so if there is a more
specific newsgroup I should message to, please refer me to it.
I am using ReportBuilder 5.56 and I made some template reports with it.
What I want to do is create an application similar to the Windows explorer
(and the Report Explorer in the example demos) in that when the user clicks
on a report found in the folders, it loads it in the Print Preview window.
However, I want to be able to use autosearch fields so that the user can
specify certain constraints. Is there a way to store the information and
code in the .rtm file so that when the user clicks on a report, the
autosearch dialog is dynamically loaded with the fields corresponding to
that report? The only other way I can think of doing it is by .ini files,
in which for every report, I'd have to include initializing info.
Any help would be greatly appreciated.
Aaron
This discussion has been closed.
Comments
saved as part of the report template. Now, you'll just need to load the
tempate and the autosearch panel will be displayed when there are defined
autosearch fields. Report.ShowAutosearchDialog = True.
If you are using queries and datapipelines, then you could save the
autosearch criteria for each report, by adding a field to the database table
which stores the report templates.
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com