Results 1 to 2 of 2

"package" reports into a form to allow "print", "choose Printer" etc easier for user

  1. #1
    gangel is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jun 2014
    Posts
    194

    "package" reports into a form to allow "print", "choose Printer" etc easier for user

    Hey everyone,

    So i currently open my reports in print preview and i know you can just right click and print, but for my users I wanted to look at a ... "container" form that would display the preview but the form could have buttons on it
    eg. "next page", "previous Page", print, email, export to etc etc

    Is this possible in print preview mode?

    Also, is openargs the best way of doing this? Eg. openForm "Container",,,,5



    Code:
    Container_onload()
    
    Select Case Openargs
     case 5
    CurrentReport = "reportInvoices"

    That is totally spitballing some code, but before i spend time on it... am i on the right track or am i completely off it!

  2. #2
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2013
    Posts
    7,863
    There is this thing called Report View. I do not have much experience with it because I avoid it. In Report View, you can add controls like buttons. But, IIRC, pages are not the same in Report View. Maybe someone else can chime on or you can investigate if it provides what you need.

    As for the select case, the code looks like it would execute but I am not sure what CurrentReport represents. There may be a better way to get at your string literal, "reportInvoices" than using OpenArgs.

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

Similar Threads

  1. Replies: 1
    Last Post: 02-05-2015, 05:41 PM
  2. Replies: 1
    Last Post: 09-03-2014, 03:27 AM
  3. Replies: 4
    Last Post: 08-26-2014, 05:52 PM
  4. Replies: 2
    Last Post: 01-03-2014, 09:35 AM
  5. Replies: 11
    Last Post: 03-29-2012, 02:32 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
  •  
Tech Forums: Microsoft Office Forums