Results 1 to 6 of 6
  1. #1
    J Bhujanga is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Nov 2016
    Location
    Colorado
    Posts
    27

    Adding Columns to an Existing Table


    I'm trying to figure out how to add columns from one table to another existing table using a query or vba code if necessary.
    The columns to be added have no data in them - I just want to add them by name and properties. I will need to do this process many times, hence I can't just go into the table design mode and add them.
    The tables that I will be adding them to will already have over 150 fields and I need to add an additional 50 or so. We will receive new sets of data (i.e. the 150-field tables) periodically and the first thing I will need to do is add these additional fields.
    What is the best way to go about this?
    Thanks!

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,525
    if you have 150 fields, then your table is designed wrong.
    these fields should be related in a sub table ,not constantly adding on to the master record.

  3. #3
    J Bhujanga is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Nov 2016
    Location
    Colorado
    Posts
    27
    Be that as it may, it's not something we have any control over. The data is sent to us from a State database this way. I can't do what I need to do by creating queries. Our job is to recondition this data into another flat table structure that is compatible with another program that will be using it.

  4. #4
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  5. #5
    J Bhujanga is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Nov 2016
    Location
    Colorado
    Posts
    27
    That should do the trick. Thank you.

  6. #6
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    No problem, and welcome to the site!
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

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

Similar Threads

  1. I am stumped...adding field to existing table
    By tanyalee123 in forum Queries
    Replies: 6
    Last Post: 12-09-2013, 06:04 PM
  2. Replies: 5
    Last Post: 11-01-2013, 09:34 AM
  3. Replies: 1
    Last Post: 01-31-2012, 11:54 AM
  4. Adding columns to existing tables.
    By OrangePie in forum Access
    Replies: 1
    Last Post: 07-07-2011, 01:49 PM
  5. Adding records to existing table
    By Mclaren in forum Programming
    Replies: 5
    Last Post: 05-18-2011, 12:44 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