Quick one for you, i'm importing a file which has a long date and time format, so once imported i update each date field with the correct format (dd/mm/yyyy).
I wrote this in on click of a button in Access 2007 which works great:
Expand|Select|Wrap|Line Numbers
- DoCmd.RunSQL ("UPDATE " & tName & " SET [Reported Date] = Format([Reported Date],'dd/mm/yyyy'), [Resolved] = Format([Resolved],'dd/mm/yyyy');")
Any ideas?
Thanks,
Chris