H
hollis via AccessMonster.com
I am building a RUNSQL macro action for an Access 2003 database. The data is
originally downloaded from an unnormalized excel spreadsheet. My TempTable1
is generated from a series of queries that clean up the data. When the query
builds the table the expression is given the field name Expr1 with a TEXT
data type. I need to change the data type of from TEXT to NUMBER. After
repeated syntax errors, I am in need of some guidance.
My macro:
OpenTable
RunSQL
ALTER TABLE TempTable1 ALTER COLUMN Expr1 NUMBER (15);
Save
thanks in advance!
-S.
originally downloaded from an unnormalized excel spreadsheet. My TempTable1
is generated from a series of queries that clean up the data. When the query
builds the table the expression is given the field name Expr1 with a TEXT
data type. I need to change the data type of from TEXT to NUMBER. After
repeated syntax errors, I am in need of some guidance.
My macro:
OpenTable
RunSQL
ALTER TABLE TempTable1 ALTER COLUMN Expr1 NUMBER (15);
Save
thanks in advance!
-S.