Results 1 to 3 of 3
  1. #1
    Riamor is offline Novice
    Windows XP Access 2003
    Join Date
    Jul 2010
    Posts
    6

    Add fields to a table through code

    Hi Here is I have to do. I have to add two fields to a table called Schedule. Only problem is, this table is in over 100 databases. I have the list of databases in a table. Is there a way I can loop through each database, and add the two fields to the table? I've never modified a table through code, so I have no idea where to start. Thanks Diarmuid

  2. #2
    ajetrumpet is offline VIP
    Windows Vista Access 2007
    Join Date
    Mar 2010
    Location
    N/A
    Posts
    2,694
    check this out: http://www.access-programmers.co.uk/...le+information

    portions of it can be extracte for you to get done what you want

  3. #3
    Riamor is offline Novice
    Windows XP Access 2003
    Join Date
    Jul 2010
    Posts
    6
    Thanks, that works.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replacement in table with VB code
    By miziri in forum Access
    Replies: 2
    Last Post: 06-28-2010, 01:38 AM
  2. VBA code - questions table onto forms
    By Tman in forum Programming
    Replies: 3
    Last Post: 04-26-2010, 05:47 AM
  3. How to loop code to run through entire table
    By kmajors in forum Reports
    Replies: 9
    Last Post: 04-23-2010, 09:27 AM
  4. Replies: 5
    Last Post: 03-20-2010, 08:30 AM
  5. Replies: 3
    Last Post: 08-10-2009, 08:33 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums