Hi,
I have imported some data to a table, one field is [Arrival Time] whose values are in the form "dd/mm/yyyy 00:00:00" however I would like to run a command (possibly just after importing the table) to change this field to the form "dd/mm/yyyy" or short date. This is so that I can later Group By [Arrival Time]
In Access 2007 If I was in design view of my Table [January] i would make sure the Data Type is set to [Date/Time] and then under Field Properties the Format would be set to [Short Date]
Basically I wondered if anyone knew the VB (or SQL) to do this.
Thank you
Chris
I have imported some data to a table, one field is [Arrival Time] whose values are in the form "dd/mm/yyyy 00:00:00" however I would like to run a command (possibly just after importing the table) to change this field to the form "dd/mm/yyyy" or short date. This is so that I can later Group By [Arrival Time]
In Access 2007 If I was in design view of my Table [January] i would make sure the Data Type is set to [Date/Time] and then under Field Properties the Format would be set to [Short Date]
Basically I wondered if anyone knew the VB (or SQL) to do this.
Thank you
Chris
Comment