Starscream
Starscream
- Local time
- Today, 00:44
- Joined
- Jun 8, 2005
- Messages
- 5
Helo…please really need your help.
I designed a small desktop database to automatically import some Log files. A sample of a transmit log file (emails sent from our rural email stations) looks like this when imported in access.
Date Time Direction Sender MessageID
03062005 133501 To Internet emailX@ab.com Blablabla
03062005 125001 To Internet emailQ@ab.com Blablabla
03062005 125001 To Internet emailZ@ab.com Blablabla
03062005 125001 To Internet emailA@ab.com Blablabla
I would like to be able to query all emails sent between one date and another. However, the date here is recorded has a string or text. I would like to automatically add a field with the date as Date/Time datatype in the Table. I think I should be able to do this with a few SQL statement like ALTER TABLE myTable ADD COLUMN NewDate AS datetime…and then another SQL statement to separate data and put it into this new field.
Then I could query for BETWEEN Date1 and Date 2 easily.
I’m pretty close but been trying for a while now and always error messages as results. I think I really NEED help this time.
Thank you,
Ghislain Bob Hachey
I designed a small desktop database to automatically import some Log files. A sample of a transmit log file (emails sent from our rural email stations) looks like this when imported in access.
Date Time Direction Sender MessageID
03062005 133501 To Internet emailX@ab.com Blablabla
03062005 125001 To Internet emailQ@ab.com Blablabla
03062005 125001 To Internet emailZ@ab.com Blablabla
03062005 125001 To Internet emailA@ab.com Blablabla
I would like to be able to query all emails sent between one date and another. However, the date here is recorded has a string or text. I would like to automatically add a field with the date as Date/Time datatype in the Table. I think I should be able to do this with a few SQL statement like ALTER TABLE myTable ADD COLUMN NewDate AS datetime…and then another SQL statement to separate data and put it into this new field.
Then I could query for BETWEEN Date1 and Date 2 easily.
I’m pretty close but been trying for a while now and always error messages as results. I think I really NEED help this time.
Thank you,
Ghislain Bob Hachey
Attachments
Last edited: