Results 1 to 2 of 2
  1. #1
    vientito is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Oct 2014
    Posts
    26

    single query row display multiple subrecords?

    I have a recordset which contains a subrecord linked by one-to-many relationship as depicted below:



    Click image for larger version. 

Name:	TBL.gif 
Views:	10 
Size:	9.6 KB 
ID:	18438

    My question is as follows: I can construct a query which consists of rows that I can put constraint to show only one single CatType at a time.

    What I really want to do is to be able to construct a query table where one single row will show all the subrecord fields on one line, meaning that they are put side by side on neighbouring columns. I do not want to show duplicate itemID to account for all the rows in the subrecord. I would like one item ID having one row that embeds two columns each correspond to every single CatType in the subrecord.

    Is that at all possible to do?

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,550
    Yes, build a crosstab query. (use the wizard) Make that your subform query.

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

Similar Threads

  1. Replies: 1
    Last Post: 07-03-2014, 08:27 PM
  2. Replies: 2
    Last Post: 04-18-2013, 12:42 PM
  3. Replies: 1
    Last Post: 02-02-2010, 07:19 AM
  4. Query to display in single row
    By access in forum Queries
    Replies: 10
    Last Post: 01-14-2010, 11:40 AM
  5. Multiple UPDATE in single query
    By nishezaman in forum Access
    Replies: 0
    Last Post: 12-13-2009, 01:40 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