Results 1 to 2 of 2
  1. #1
    seemi143 is offline Novice
    Windows XP Access 2007
    Join Date
    Dec 2013
    Posts
    1

    How to query for this output?

    i have a table invoicedetail.



    data is

    invoiceno partnumber qty docno

    1-------- a----------3 ----11
    1 --------a--------- 1---- 12
    1 --------a--------- 2----- 9
    2 --------b--------- 5 -----27
    2 --------b--------- 4----- 19



    now i want output


    invoiceno partnumber qty docno

    1------------ a------- 6 ----11 , 12 , 9

    2------------ b------- 9----- 27 , 19


    can any body give me query for this output?
    thanks

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,926
    This will require VBA. Review: http://allenbrowne.com/func-concat.html
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

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

Similar Threads

  1. Replies: 6
    Last Post: 10-09-2012, 02:29 PM
  2. Output query to list box
    By shabbaranks in forum Programming
    Replies: 4
    Last Post: 02-08-2012, 09:53 AM
  3. Ho do I output query to a list box
    By shabbaranks in forum Queries
    Replies: 1
    Last Post: 02-06-2012, 07:17 AM
  4. Insert Query output into a table
    By ammu_sridhar in forum Programming
    Replies: 1
    Last Post: 06-12-2009, 01:09 AM
  5. Output Query to Text
    By denileigh in forum Queries
    Replies: 1
    Last Post: 05-27-2006, 12:34 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