Page 5 of 5 FirstFirst 12345
Results 61 to 71 of 71
  1. #61
    cyanidem's Avatar
    cyanidem is offline Competent Performer
    Windows 10 Access 2010 64bit
    Join Date
    Nov 2015
    Location
    Consett, UK
    Posts
    270
    Ask if you get stuck

  2. #62
    pharrison74 is offline Competent Performer
    Windows 7 32bit Access 2010 32bit
    Join Date
    Jan 2016
    Posts
    114
    After doing some reading about subreports and trying it myself. I don't get what it will do for me. All it wants to do is add the report over top of my table of contents.

    Read a few articles and they all have the same instructions.. Maybe I don't understand what they are for?

    Pete

  3. #63
    cyanidem's Avatar
    cyanidem is offline Competent Performer
    Windows 10 Access 2010 64bit
    Join Date
    Nov 2015
    Location
    Consett, UK
    Posts
    270
    The idea is to include all 3 reports as subreports of one main "book". You may need to add page break after each subreport. All that will help with numbering pages of those 3 reports continuously. But at the same time you need to amend UpdateToc() function slightly to cover title and case name at the same time. And then rework ToC report as well but that should be piece of cake for you

  4. #64
    pharrison74 is offline Competent Performer
    Windows 7 32bit Access 2010 32bit
    Join Date
    Jan 2016
    Posts
    114
    "And then rework ToC report as well but that should be piece of cake for you ``

    LMAO!! Ok will mess with it today and see what I can come up with. Got a meeting tomorrow on an update for where I am at. Will go from there..

    Thanks
    Peter

  5. #65
    cyanidem's Avatar
    cyanidem is offline Competent Performer
    Windows 10 Access 2010 64bit
    Join Date
    Nov 2015
    Location
    Consett, UK
    Posts
    270
    That honestly will be the easiest part, you'll have all data in a toc table, just need to prepare report from it, add proper sorting and grouping, easy peasy
    Rebuilding UpdateToc function may be harder, so don't hesitate to ask if you have a problem with that

  6. #66
    pharrison74 is offline Competent Performer
    Windows 7 32bit Access 2010 32bit
    Join Date
    Jan 2016
    Posts
    114
    So I should use the Table of Contents report as the main and add the other 3? I was thinking of using report 1 when and adding the other two. Guess it makes sense your way as I would just be able to print the TOC and all the reports would print at the same time.

    Oh well.. Will do my best.

  7. #67
    cyanidem's Avatar
    cyanidem is offline Competent Performer
    Windows 10 Access 2010 64bit
    Join Date
    Nov 2015
    Location
    Consett, UK
    Posts
    270
    Actually I was thinking about creating new empty report, adding those 3 as subreports on it, moving inittoc() reference to onopen event of main report, changing updatetoc() so it fills toc table with title and case name and then printing this main report and toc report after that. Mainly because you need to fill toc table before you print toc report. But may work if you set up main report with toc as subreport at the end of it

  8. #68
    pharrison74 is offline Competent Performer
    Windows 7 32bit Access 2010 32bit
    Join Date
    Jan 2016
    Posts
    114
    I get it till about the part where you are changing updatetoc then I am lost.

    Argg was so hoping the other way would of worked Was so happy friday till I say the pg numbers on the reports themselves were wrong .
    Thank god the other reports aren't as complicated.

  9. #69
    cyanidem's Avatar
    cyanidem is offline Competent Performer
    Windows 10 Access 2010 64bit
    Join Date
    Nov 2015
    Location
    Consett, UK
    Posts
    270
    Ok, have a look at this.
    Testing_Litigation_DB1.zip
    Print preview "Book Form 0 Main Report" - that's the main report containing all 3 subreports. Then print Toc report.

  10. #70
    pharrison74 is offline Competent Performer
    Windows 7 32bit Access 2010 32bit
    Join Date
    Jan 2016
    Posts
    114
    That works amazing ...Thank you so much. I see what you did with the reporting and the sub reports and it makes so much sense. As well I see the only code you changed was referencing the Book 0 report for page numbers.

    I will do what you have done myself on my db so I actually know how to do it instead of just exporting it.


    Again you ROCK!!!!!

  11. #71
    cyanidem's Avatar
    cyanidem is offline Competent Performer
    Windows 10 Access 2010 64bit
    Join Date
    Nov 2015
    Location
    Consett, UK
    Posts
    270
    I also removed all OnPage events code as it's not needed anymore and no need to calculate number of pages between reports

Page 5 of 5 FirstFirst 12345
Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 3
    Last Post: 03-04-2014, 04:58 PM
  2. Table of Contents
    By Alex Motilal in forum Reports
    Replies: 1
    Last Post: 09-17-2012, 10:48 AM
  3. Replies: 5
    Last Post: 04-18-2012, 12:04 PM
  4. Replies: 10
    Last Post: 01-06-2012, 07:46 AM
  5. Print Separate Reports with collate
    By HendriX99 in forum Reports
    Replies: 3
    Last Post: 02-04-2011, 07:46 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