Leigh46137
Registered User.
- Local time
- Today, 04:35
- Joined
- Dec 29, 2009
- Messages
- 12
I have a runtime Access database that I have developed using Access 2007. I need to change my price field type from Currency to Decimal.
I have to have 2 decimal places and I cannot use the Currency type because I have to export this table to a text file; the program I have to import it into chokes on the dollar signs.
In my code I am executing this SQL statement:
ALTER TABLE [History] ALTER COLUMN [Price] Decimal (5,2);
When I run the code, Access tells me that there is a syntax error in my SQL. (Everthing I've found on the internet in the last 3 hours of research says to use the syntax I'm using)
Can anyone tell me what the syntax ought to be?
Thanks!
I have to have 2 decimal places and I cannot use the Currency type because I have to export this table to a text file; the program I have to import it into chokes on the dollar signs.
In my code I am executing this SQL statement:
ALTER TABLE [History] ALTER COLUMN [Price] Decimal (5,2);
When I run the code, Access tells me that there is a syntax error in my SQL. (Everthing I've found on the internet in the last 3 hours of research says to use the syntax I'm using)
Can anyone tell me what the syntax ought to be?
Thanks!