Access 2007 - I have a temporary table with a column named 'verified_dt' with datatype as date/time. When I look in the table this field is formatted correctly as "10/28/10". This data in this table is exported in from an excel spreadsheet.
I use this as a work table and then do updates on the 'real' table. I am updating a production table with a column(same name, same format), however, when I look at the results after the update statement runs, it does not show the same format for the date. I have used various versions of the 'format' statement as an attempt to get the value "10/28/10" with no luck. My latest attempt was format(tmptable .verified_dt, "mm/dd/yy") the result I am seeing in prodTable.verif ied_dt is "1:12:00AM" .
Any help would be appreciated!!!
I use this as a work table and then do updates on the 'real' table. I am updating a production table with a column(same name, same format), however, when I look at the results after the update statement runs, it does not show the same format for the date. I have used various versions of the 'format' statement as an attempt to get the value "10/28/10" with no luck. My latest attempt was format(tmptable .verified_dt, "mm/dd/yy") the result I am seeing in prodTable.verif ied_dt is "1:12:00AM" .
Any help would be appreciated!!!
Comment