Results 1 to 3 of 3
  1. #1
    lpdds is offline Novice
    Windows XP Access 2003
    Join Date
    Nov 2009
    Posts
    3

    Programmatically add a field to an existing table

    I have a simple front end/back end application that I have distributed to different locations (each locations has it's own application). I need to modify the design of a table by adding several fields. Since I don't have direct access to the back end databases, and cannot rely on someone at each location to manually add the fields, I need a way to programmatically add the fields. Is this possible?

  2. #2
    dcrake's Avatar
    dcrake is offline Competent Performer
    Windows XP Access 2003
    Join Date
    Aug 2009
    Posts
    435
    The best way to do this is to create a new mdb that contains the correct table structure. Have a simple wizard that appends all records from the remote mdb table into the new structure then get it to export the table back to the remote back end which will overwire the existing one.

    Having said that this may work if relationships are in place in the remote back end (Which they should not be).

    David

  3. #3
    lpdds is offline Novice
    Windows XP Access 2003
    Join Date
    Nov 2009
    Posts
    3
    Thank you. I will try it.

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

Similar Threads

  1. Default Information for an existing field HELP
    By opinionsrfun in forum Access
    Replies: 1
    Last Post: 06-19-2013, 06:30 AM
  2. Change Row Background Color Programmatically
    By sales@4bco.com in forum Programming
    Replies: 2
    Last Post: 10-25-2009, 11:17 AM
  3. Replies: 0
    Last Post: 10-14-2009, 02:44 AM
  4. Using VBA create a new table from an existing table
    By KramerJ in forum Programming
    Replies: 0
    Last Post: 03-25-2009, 04:07 PM
  5. Import multiple dbf files into existing table?
    By sbg2 in forum Import/Export Data
    Replies: 0
    Last Post: 06-12-2006, 02:06 PM

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