Heidestrand
Registered User.
- Local time
- Today, 02:43
- Joined
- Apr 21, 2015
- Messages
- 73
Hello,
I have an imported table from Excel with three columns I want to change the data type of. To do that I use the code
But now I want to change one column to date with this format: mm.yyyy
and the other one dd.mm.yyyy.
Right now it is the text format, but I need the date for both.
Can I use my code for this or do I need more code than that?
Thanks in advance for your help!
I have an imported table from Excel with three columns I want to change the data type of. To do that I use the code
Code:
CurrentDb.Execute "ALTER TABLE [tblOrders] ALTER COLUMN [MaterialID] DOUBLE"
and the other one dd.mm.yyyy.
Right now it is the text format, but I need the date for both.
Can I use my code for this or do I need more code than that?
Thanks in advance for your help!
Last edited: