Results 1 to 4 of 4
  1. #1
    mromberg is offline Novice
    Windows Vista Access 2007
    Join Date
    Jan 2017
    Posts
    4

    Sub Report to Main Report

    Hi all,

    I have a simple sub report that brings back product names and a count of records.



    Product 1 49
    Product 2 76
    TOTAL 125

    I have no trouble bringing back the total of 125 to my main report for calculations (=[qry_no ship date subreport].Report.Text4) but i also want to bring in the values for each product. Cant figure out how to do that.

    Any help is much 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,640
    I don't understand. It sounds like you're duplicating what's in the subreport. The total I understand, but the detail is already displayed, so why duplicate it?
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    mromberg is offline Novice
    Windows Vista Access 2007
    Join Date
    Jan 2017
    Posts
    4
    I need the individual product numbers in my main report for other calculations...not the total of the two products. Sure I can display the number which i am doing in the sub report but I need to create some mathematical formulas based on results from the main report and the sub report,(by product). And thanks for taking an interest in my problem!

  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,640
    Is it feasible to do them in the subreport? It would seem more logical there. Failing that, you're probably looking at DLookup() to get a specific value from the subreport.
    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: 6
    Last Post: 06-24-2016, 06:59 AM
  2. Replies: 2
    Last Post: 06-15-2012, 07:32 AM
  3. Replies: 1
    Last Post: 03-23-2012, 01:22 PM
  4. Replies: 1
    Last Post: 03-07-2012, 09:00 AM
  5. Replies: 0
    Last Post: 10-24-2008, 11:20 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