Results 1 to 13 of 13
  1. #1
    fabiobarreto10 is offline Competent Performer
    Windows 7 32bit Access 2007
    Join Date
    Dec 2011
    Posts
    169

    report (using the wizard) with 8 queries

    Friends, I made a report (using the wizard) with 6 fields in a query. It works perfectly.
    How do I make a report (using the wizard) with 8 queries, all with 6 fields?
    But the view was separated in the report.
    Thank you.

  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
    If you want them separated, you're looking at using subreports based on each query.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    fabiobarreto10 is offline Competent Performer
    Windows 7 32bit Access 2007
    Join Date
    Dec 2011
    Posts
    169
    Hey Paul, thank you.
    I'm selecting all queries in the wizard. how do I separate each query in the report, but they all stay in one report. Sorry, it was unclear to me what you said.


    Thank you.

  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,521
    A report can only have one source query. One option would be a UNION query that joined all the others into 1, but you said you wanted them viewed separately. That leaves you with subreports. Create a report based on 1 of the queries. Create another report based on another. Then start a new report, and use the subreport control to add each of the other reports you created to this new one as subreports. The subreport control is one of the buttons on the ribbon along with text boxes, etc.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  5. #5
    fabiobarreto10 is offline Competent Performer
    Windows 7 32bit Access 2007
    Join Date
    Dec 2011
    Posts
    169
    ok, I'll try.Thank you.

  6. #6
    fabiobarreto10 is offline Competent Performer
    Windows 7 32bit Access 2007
    Join Date
    Dec 2011
    Posts
    169
    Paul, I did as you told me. It worked partially. I'm not able to make the header of thesubreport is displayed on the Main Report, Main Report and also in some reports were"tight", "together", and the data were in half. I did so, for each sub I used five lines and left a space of a line between the subreports. The images may explain better.
    Thank you.
    Attached Files Attached Files

  7. #7
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    Page headers will not show when a report is a subreport. Try putting those in the report header.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  8. #8
    fabiobarreto10 is offline Competent Performer
    Windows 7 32bit Access 2007
    Join Date
    Dec 2011
    Posts
    169
    Paul I put the header in the main report, but it was not good because it was only "up" and not in each subreport.
    It is impossible to put the header on each subreport? Thank you.

  9. #9
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    You can use the subreport's report header, just not its page header.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  10. #10
    fabiobarreto10 is offline Competent Performer
    Windows 7 32bit Access 2007
    Join Date
    Dec 2011
    Posts
    169
    Sorry, but how do I?

  11. #11
    fabiobarreto10 is offline Competent Performer
    Windows 7 32bit Access 2007
    Join Date
    Dec 2011
    Posts
    169
    How simple it was. I just took out the page header of the subreport, and put the heading of the
    subreport. Only the data with each page has a blank page. how do I get this blank page?
    Thank you.

  12. #12
    fabiobarreto10 is offline Competent Performer
    Windows 7 32bit Access 2007
    Join Date
    Dec 2011
    Posts
    169
    Paul, I did it! Thank you. Just dragged the white part of the report.
    Thank you.

  13. #13
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    Sorry, been grinding on a big project. Glad you got it sorted out!
    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. using two queries in a report
    By Alliana Gray in forum Access
    Replies: 9
    Last Post: 08-18-2011, 05:55 PM
  2. Two Queries for One Report
    By lynnmc26 in forum Reports
    Replies: 5
    Last Post: 08-05-2011, 10:45 AM
  3. Two queries in one report
    By victor in forum Programming
    Replies: 1
    Last Post: 08-05-2010, 01:31 AM
  4. Replies: 1
    Last Post: 06-29-2010, 03:40 AM
  5. Replies: 3
    Last Post: 05-21-2010, 03:57 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