Results 1 to 4 of 4
  1. #1
    Join Date
    Nov 2010
    Posts
    2

    Access Help!! Table and Data xfer

    Hello Everyone,
    I need help with Access 2007. I have ONE table with 5 fields and I need to append that data in a different table..but I need to post the data in a different field. (basically, take data from one field and put it another table but in a different field name) For example:



    Fields from Table 1: to Fields in Table 2:
    Name = Customer Name
    Address = Customer Address
    ZipCode = Customer ZipCode
    PhoneNumber = Customer PhoneNumber

    P.s. I dont want to just change the names in Table 1. I actually want to xfer into another table with different field names. THANK YOU!

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,641
    You can create an append query, and specify the appropriate destination field for each source field.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    Join Date
    Nov 2010
    Posts
    2

    Append query needs modification

    I tried the append query, but it appears that I can't choose a difference Field Name in a Different Table, that's my main goal. The append query just appends to the same field name. Maybe it needs to be modified. How do I accomplish this? Again, see below for what my goal is. THANKS!!


    Table 1 Fields to Table 2 Fields
    Name = CustomerName
    Address = CustomerAddress
    ZipCode = Customer ZipCode
    PhNumber = Customer PhNumber

  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,641
    In design view, you can choose any field you want from the destination table in the Append To row. In SQL view:

    INSERT INTO TargetTable (TargetFieldName1, TargetFieldName2)
    SELECT SourceFieldName1, SourceFieldName2
    FROM SourceTable
    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. Linking Access Table with already imported External Data (Excel)
    By izzarshah in forum Import/Export Data
    Replies: 1
    Last Post: 07-29-2010, 09:40 AM
  2. Select Data from SQL into an Access table
    By MichaelC in forum Programming
    Replies: 4
    Last Post: 07-28-2010, 04:10 PM
  3. Replies: 1
    Last Post: 05-17-2010, 12:21 PM
  4. copy data from text file into table in access
    By miziri in forum Programming
    Replies: 3
    Last Post: 08-12-2009, 03:02 PM
  5. Call Excel Data into Access table
    By jiguvaidya in forum Import/Export Data
    Replies: 0
    Last Post: 09-15-2008, 04:58 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