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!

Default value for Date parameter

Status
Not open for further replies.

lana123

Programmer
Aug 20, 2003
79
US
Hi,people.
I need make the Date parameter equal to the the last day of the last month but I cannot find the Date functions which can do it.
I'll appreciate any suggestions.

Thanks,
Lana
 
If you're talking about Crystal's built in parameters, you cant set 'dynamic' defaults. You can set defaults, and in the case of a date, if you don't define a default, it will default to today, but out of the box, you cannot define parameter defaults that will change i.e. current date - 7 or last day of month. You could open the report up at the beginning of the month and MANUALLY set the default to the last day of the month... but I'm sure you don't want to do that!

Peter Shirley
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top