Results 1 to 5 of 5
  1. #1
    tmaxxcar is offline Novice
    Windows 8 Access 2013
    Join Date
    Mar 2013
    Posts
    3

    Multiple Queries on One Report (Not a dupe)

    I am currently making a database to sort through some sales data. On my report, I want it to show the name from a query and the total sum. I can make the report based from one query, but then to add different queries onto the same report I have to use subreport/subform. My issue is that this shows up in a new window on the same page, and I would like it to be all in a simple list. I want to remove the subreport/subform and have a simple text box and total sum for each query that I have. Is there any way that I can create the text box and set it equal to the value from a different query, or do I need to remove all the extra data from the subreport/subform that I do not want? Thanks in advance.

  2. #2
    tmaxxcar is offline Novice
    Windows 8 Access 2013
    Join Date
    Mar 2013
    Posts
    3
    Nvm, apparently when building an expression in the Access 2013 version, it incorrectly builds the expression. When I have been using the text boxes to build my expression, I get «Expr» Reports![A Report]![A Field]. Instead it should be Reports.[A Report].[A Field]. Now, is there a way for this to be populated even though the [A Report] isn't open?

  3. #3
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,652
    Two thoughts: a union query to join all the query results into one, and using DLookup() to get values from each query.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  4. #4
    tmaxxcar is offline Novice
    Windows 8 Access 2013
    Join Date
    Mar 2013
    Posts
    3
    Quote Originally Posted by pbaldy View Post
    Two thoughts: a union query to join all the query results into one, and using DLookup() to get values from each query.
    Thanks, ill try both and see if either one of those is what I am looking for.

  5. #5
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,652
    No problem; post back if you get stuck.
    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. Multiple Queries into one report.
    By Ray67 in forum Reports
    Replies: 3
    Last Post: 04-24-2012, 11:22 AM
  2. Filtering dupe Data in a single field
    By label027 in forum Queries
    Replies: 4
    Last Post: 10-25-2011, 01:18 PM
  3. Use 1 report for multiple queries?
    By Rosier75 in forum Reports
    Replies: 4
    Last Post: 10-22-2011, 07:57 AM
  4. Queries with multiple tables to create report
    By Solstice in forum Queries
    Replies: 1
    Last Post: 09-22-2011, 02:23 PM
  5. Replies: 1
    Last Post: 06-29-2010, 03: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