Joined: 08 Jun 2007
Online Status: Offline
Posts: 27
Topic: How to set parameter default to today's date Posted: 20 Feb 2014 at 6:52am
We have a report in Crystal 11with a date parameter field and we would like to have it default to today's date. When we bring up the default value option drop down it is empty. Thank you
Joined: 21 Dec 2007
Online Status: Offline
Posts: 4374
Posted: 20 Feb 2014 at 7:27am
you could select NULL and then code for NULL to be today...that would just be a checkbox, I think, I haven't had to look at the parameter screens for several years.
Another option might be to use a Command to query for valid dates and to include today's as well...put it on top.
Joined: 05 Feb 2014
Online Status: Offline
Posts: 85
Posted: 20 Feb 2014 at 9:37am
If you choose DATE as the "Type:" field, the calendar button usually defaults to today's date.(if the user doesn't mind clicking on the calendar thingy)
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum