Date format problem

fergler

Registered User.
Local time
Today, 08:34
Joined
Feb 28, 2007
Messages
18
I have a dialog form with a date field, formatted as Short Date, that updates a listbox. I set it up so that when the form opens, the date field is populated with the current date, which can then be changed if needed by the user.

The code is on the OnOpen Event and is:
Me!startdate = Now()

The problem is, when the current date autopopulates, it is formated with both the date and time. I would like to get rid of the time portion. I've searched the forum and can't seem to find any code to fix this. Am I doing something wrong? Can someone please help me?

Thank you in advance.
 
Works perfect.

Thanks!
 
You also really don't need the code..... Just put Date() on the default value.
 

Users who are viewing this thread

Back
Top Bottom