-----Original Message-----
You have a Text field containing dates, and you want to convert that to a
real date/time field. You can use an Update query to populate the date for
the 10000 rows.
1. Open your table in design view, and add a new field of type Date/Time.
Leave the text field in place. Save.
2. Create a query into this table, and drag the new date/time field into the
grid. In the Criteria row under this field, enter:
Is Not Null
3. Change the query to an Update query: Update on Query menu.
Access adds an Update row to the grid.
4. In the Update row beneath the new date/time field, enter:
DateSerial(Right([td],4), Mid([td], 3,2), Left ([td],2))
replacing the [td] with the name of your text date field.
5. Run the query.
6. After confirming the date field is correctly populated, open the table in
design view, and delete the text field that you no longer need.
--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Reply to group, rather than allenbrowne at mvps dot org.
As an untrained user of Access, I have foolishly created a
simple database using the date format dd/mm/yyyy (text).
I now need to extract records within certain timeframes
and can't see how I can do this without retyping the dates
in number format for all 10,000 records. I would really
appreciate some help.
Thanks
Beth
.