Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Force user to choose new paramaters upon opening report in viewer

Status
Not open for further replies.

jlopeman

IS-IT--Management
Apr 25, 2011
35
I have a report that is working fine from within Crystal Reports XI. The report consists of a main report that lists a location (hospital or clinic) and the provider (doctor or RN) and is linked to a sub report that shows the tasks associated with that provider at that location.

I have cascading parameters set up to choose the location first, and then the providers that are associated with that location.

The report works fine in CR. The issue, however, is that when using this report with CR Viewer, the report loads with the last saved data of the actual .RPT file. I need this report to open up, always asking for new parameters.

I've done this before using stored procedures, but the report and subreport pull directly from tables. The "set to null" check boxes do not show up. Is there a way that I can force the report to open up, requiring the user to enter parameters?
 
Thanks Ido....

I knew it was something simple. I was stuck on the "set to null" boxes.
 
Note that you can also discard saved data in your viewer application. In my viewer application I have a setting that allows you to set what should happen when a report is opened with saved data: view the saved data, refresh, or ask the user.

hth,
- Ido

view, export, burst, email, and schedule Crystal Reports.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top