Good morning.....
I am creating an Access Project (SQL 2000) and I need some help in converting a text field to a date field. I have the old field imported from a DBase IV database and I want to convert data to a date field. Here is the data fields from the table CERTMSTR:
1 EXPIRES nvarchar 6 1 (Old Dbase)
0 ExpDate datetime 8 1 (New)
And here is sample data:
EXPIRES ExpDate
200501 1/31/2005
200001 1/31/2000
200001 1/31/2000
200503 3/31/2005
The expires data is read by the user as: yyyy/mm
I would like to write some code that will allow me to take the character date of EXPIRES and move it to the ExpDate field as a mm/dd/yyyy.
Any suggestions would be appreciated as I am one of those Network guys that suddenly found themselves in the role of DBA. Thanks
I am creating an Access Project (SQL 2000) and I need some help in converting a text field to a date field. I have the old field imported from a DBase IV database and I want to convert data to a date field. Here is the data fields from the table CERTMSTR:
1 EXPIRES nvarchar 6 1 (Old Dbase)
0 ExpDate datetime 8 1 (New)
And here is sample data:
EXPIRES ExpDate
200501 1/31/2005
200001 1/31/2000
200001 1/31/2000
200503 3/31/2005
The expires data is read by the user as: yyyy/mm
I would like to write some code that will allow me to take the character date of EXPIRES and move it to the ExpDate field as a mm/dd/yyyy.
Any suggestions would be appreciated as I am one of those Network guys that suddenly found themselves in the role of DBA. Thanks