Results 1 to 2 of 2
  1. #1
    dave is offline Novice
    Windows 10 Access 2002
    Join Date
    Aug 2018
    Posts
    1

    I need to move or copy data from one table into a single row in another table.

    I may be asking a question that's simply impossible, as I have searched far and wide but have not been able to find


    a solution (or it as been under my nose all along, and I've just missed it.)

    Say I have the following table:

    Job Number Customer Name Distributor Name
    55 John Doe 1 Distributor Center 1
    55 John Doe 2 Distributor Center 2
    55 John Doe 3 Distributor Center 3


    I am trying to manipulate this data (maybe through an append query into an already established table) like so:

    Job Number Customer 1 Customer 2 Customer 3 Dist 1 Dist2 Dist3
    55 John Doe 1 John Doe 2 John Doe 3 Distributor 1 Distributor 2 Distributor 3

  2. #2
    Minty is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Sep 2017
    Location
    UK - Wiltshire
    Posts
    3,003
    This is moving data from a sensible normalised structure, into a non-normalised horrible (excel like) structure.

    You could produce a report or query to display this data in that format, but I certainly wouldn't store it like that. It serves no sensible purpose.
    If you suddenly have Customer 4 or distributor 4 you would have to redesign the whole process, or leap through a lot of hoops to get around the problem.

    One always has to ask why.
    And is never surprised to hear, "That's the way the boss had his old report in his spreadsheet..."

    So make him a nice new shiny report with better presentation of the facts, and tell him that's "A silly way to store data"
    DLookup Syntax and others http://access.mvps.org/access/general/gen0018.htm
    Please use the star below the post to say thanks if we have helped !
    ↓↓ It's down here ↓↓

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

Similar Threads

  1. Replies: 4
    Last Post: 09-27-2017, 01:16 AM
  2. Replies: 5
    Last Post: 08-25-2015, 08:39 AM
  3. Replies: 4
    Last Post: 01-21-2015, 09:34 AM
  4. Move a single record to an archive table
    By 10 Gauge in forum Forms
    Replies: 7
    Last Post: 02-14-2011, 06:50 AM
  5. Move or Copy a table to another database
    By Harley Guy in forum Access
    Replies: 7
    Last Post: 11-08-2010, 11:49 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