Link to home
Start Free TrialLog in
Avatar of amaru96
amaru96

asked on

MS Access - Add new field to multiple tables

Hi guys, I have an Access 2010 database with about 90 identical tables and need to add a new field to all of them. Is there a way I can add the new field to all of them at once or do I have to manually go into each table one by one and add the new field?
ASKER CERTIFIED SOLUTION
Avatar of Joe Howard
Joe Howard
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of amaru96
amaru96

ASKER

That worked great! Thanks for that.

I have another db that I need to do the same thing to, however I only want it to add the new field to table names containing the word "details". Is there a way to modify that code to do that?

For example, I have:
Table1
Table1_details
Table2
Table2_details
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of amaru96

ASKER

Awesome! Saved me a lot of time. Thanks!