Results 1 to 2 of 2
  1. #1
    pspk is offline Novice
    Windows XP Access 2007
    Join Date
    Aug 2016
    Posts
    1

    Unhappy How to join the result of a query as a string into another field.

    Hi All.

    I have a peculiar requirement. There is a materials table that has multiple names for the same material id. (due to some need)

    I have a query (group by) on materials table that runs fine and the result is as follows :

    MatID, MatName

    M123 Valves
    M123 Valves X


    M123 Valves Y

    Now, i need to get only 1 MatID, the three MatName horizontally in two fields on maybe another table (to be later exported to excel)

    ex: M123 Valves,Valves X, Valves Y
    Z435 Pins1,Pins1.2, Pins2

    so and so forth.

    Hope I am clear. I need a solution asap.

    Any help appreciated.

  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,521
    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. Replies: 4
    Last Post: 08-01-2016, 06:41 AM
  2. Replies: 3
    Last Post: 06-11-2016, 10:16 AM
  3. Replies: 10
    Last Post: 03-20-2015, 07:15 PM
  4. Replies: 3
    Last Post: 01-04-2015, 03:00 PM
  5. Query result based upon two field conditions
    By diane802 in forum Access
    Replies: 35
    Last Post: 01-08-2010, 06:31 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