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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Crystal Viewer & Default Parameters

Status
Not open for further replies.

Crystalyzer

Technical User
Mar 28, 2003
218
I posted this in the Business Objects forum, but thought perhaps there was some VB way around the fence so I'm posting it here too.

I am using CR XI and VB.Net with the viewer embedded in a form and the report object loaded based on the user's selection of a menu item. 98% of the time the users want the default values when they run the report.

Is it possible to upon opening a report to have the default values accepted automatically (ie no prompt for parameters at all to the user), however upon a refresh, the user would be prompted?

Thanks in advance for any assitance.


Thanks and best regards,
-Lloyd
 
Use the setparameter to set the default values.
E.g.
reportDocument1.SetParameterValue("rpt - mnthYr", rptDate)

When user presses refresh he will be prompted for new parameter values.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top