Dec 21, 2007 #1 jonney Instructor Jun 17, 2003 35 GB I have a split database and I would like to be able to add a field to a table using either a query or some code. I hope that makes sense Thanks Jonney
I have a split database and I would like to be able to add a field to a table using either a query or some code. I hope that makes sense Thanks Jonney
Dec 21, 2007 #2 jrbarnett Programmer Jul 20, 2001 9,645 GB CurrentDb.Execute "alter table TableName add column ColumnName Text (20)" Change Text (20) to the data type and size you need when needed. John Upvote 0 Downvote
CurrentDb.Execute "alter table TableName add column ColumnName Text (20)" Change Text (20) to the data type and size you need when needed. John
Dec 21, 2007 #3 Remou Technical User Sep 30, 2002 13,030 BE ADO with a data definition query is probably the best bet: http://office.microsoft.com/en-us/access/HA102061121033.aspx Upvote 0 Downvote
ADO with a data definition query is probably the best bet: http://office.microsoft.com/en-us/access/HA102061121033.aspx
Dec 21, 2007 Thread starter #4 jonney Instructor Jun 17, 2003 35 GB Thanks for the prompt replies. That is very helpful Jonney Upvote 0 Downvote