Robjoy
04-01-2008, 12:50 PM
I'm importing dbase tables, then trying to tidy them up. The following works fine:
db.Execute "ALTER TABLE WSI_Orders DROP COLUMN SHIPATTN;"
- and many others like it, but this has no effect:
db.Execute "ALTER TABLE WSI_ORDERS MODIFY DELIVERYNO INT;"
What could be wrong? Is it that I can't alter the data type property after it's been created, because it is a read-only property? If so, I'm curious to know how Alter table . . modify . . could ever work.
I can think of another way to get numeric versions of the fields I need - add a field, update query - but I'm trying to make this mdb leaner and more efficient than my previous bloatware!
db.Execute "ALTER TABLE WSI_Orders DROP COLUMN SHIPATTN;"
- and many others like it, but this has no effect:
db.Execute "ALTER TABLE WSI_ORDERS MODIFY DELIVERYNO INT;"
What could be wrong? Is it that I can't alter the data type property after it's been created, because it is a read-only property? If so, I'm curious to know how Alter table . . modify . . could ever work.
I can think of another way to get numeric versions of the fields I need - add a field, update query - but I'm trying to make this mdb leaner and more efficient than my previous bloatware!