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

Default values in parameters

Status
Not open for further replies.

prgmrcr

Programmer
May 11, 2009
56
0
0
US
Hello Members,
I have Crystal report that has date range parameters ? Can i default the end date parameter with the current date (which changes every other day automatically)? Is it possible to do this in Crystal Reports ?


Thanks in Advance!
 
You could do it indirectly. Have a default value you are never going to use - 1/1/1900, for instance. Create a formula field that checks the 'end' parameter and uses the current date if it finds 1/1/1900.

This is based on Crystal 11. It always helps to give your Crystal version - 8, 8.5, 9, 10, 11 or whatever. Methods sometimes change between versions, and higher versions have extra options.



[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