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

Date Shows Seconds?

Status
Not open for further replies.

Dannybe2

Programmer
Jan 31, 2001
136
GB
I have a date field which holds the time and date (default is current time and date).
When I go to change a time / date which is on a record already added, that is no problem, but if I try and edit the default time or date it changes the layout:

It reverses the order of time then date and allows you to edit the seconds as well. I don't want either of these to happen and can't work out how they do because my input mask and format fields are all correct in both the form and the table field property.
 
Not sure about a solution.

But you might make sure that you've tried deleting the form control for the field and then reinserting it. That's cleared up similar problems for me in the past, I think.
 
Yes, I have tried that, but to no avail! Thanks, anyway!
 
Have you tried this

Format(Now(),"dd/mm/yyyy")

Enter this as your default value
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top