Adding fields to an existing Access Database

Creating desktop or client-server database solutions?

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
kenkofi
Posts: 2
Joined: Wed Oct 18, 2006 10:23 am

Adding fields to an existing Access Database

Post by kenkofi » Sun Nov 18, 2007 11:45 pm

I am trying to add a field to an existing Access database using:

revExecuteSQL tConnectionID,"ALTER TABLE UserData ADD COLUMN CustomerEmail TEXT(25)"

Nothing seems to happen and no error is generated. I read somewhere that you can only do this using DAO command CreateField.

Does anyone have any idea what the syntax is and how it can be done.

Any help is much appreciated.

Post Reply

Return to “Databases”