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!

Programmatic access to default parameters c#

Status
Not open for further replies.

jwaldner

Programmer
Jan 21, 2011
77
US
I am involved an a project where we are generating and rendering reports as pdf's. I would like to be able to run the report with default parameters. I have not been able to do this. I fill in each parameter then the report is fine. I would like to either get the default parameters and add them to my list in .net or just run the report the way it is changing only the parameters I want to change and leaving others alone.
 
Is this a C# question in the wrong thread? Or if it is Crystal, which version?

[yinyang] Madawc Williams (East Anglia, UK). Using Crystal 11.5 with SQL and Windows XP [yinyang]
 
Try editing a parameter. You should see the values in the middle of the box. At the bottom will be an extra set of options, which include a default value that you can enter.

I had trouble with this when we upgraded from 10 to 11.5. It had been using the first specified value, but this stopped with 11.5.

[yinyang] Madawc Williams (East Anglia, UK). Using Crystal 11.5 with SQL and Windows XP [yinyang]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top