I had the same problem but used this and it worked. I am using an Access DB in VB 6 using ADO.
db.Execute ("ALTER TABLE ImportExport ADD EmailToName char(50)")
db.Execute ("ALTER TABLE ImportExport ALTER COLUMN EmailToName char(50) WITH COMPRESSION")
I tried it with one line and it didn't work... in too big of a hurry to screw with it... it works so, onward 
This is the specific query I am trying to run:
ALTER TABLE respones
ADD COLUMN testing TEXT(50) WITH COMPRESSION
Can anyone help? Thank you! |