setting a defalut date in a report

teiben

Registered User.
Local time
Today, 11:50
Joined
Jun 20, 2002
Messages
462
I have a report which uses a startdate and a enddate. Problem is users are suppose to run the calendar to set the date range before they initially enter the report. I wanted to set a default date range when the report opens, how would I do this? :)
 
Hello,

I assume you're using unbound boxes in a form for start and end dates. That being the case, you can just set the "Default Value"s for those boxes in properties.

"Date()" would give today's date.

You could also assign those values via code in the OnOpen Event of that form.


HTH,

Chris
 

Users who are viewing this thread

Back
Top Bottom