Results 1 to 9 of 9
  1. #1
    tweety is offline Competent Performer
    Windows 7 32bit Access 2007
    Join Date
    Nov 2012
    Posts
    126

    zoom in on report load

    i have a report that is based on a query, the setup is a date is selected on a form using the date picker, then a button is pressed to open the form.



    how do i get it to load up full or at 100%, to save the enduser from doing this everything

    thanks

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    Did you mean button is pressed to open 'report'? Do you really want 'zoom in'? Or do you want the report to display the entire page on open?

    I find that my reports always open at the same zoom level I last saved them. So I open each report in ReportView at 100% view then click save then close report. Since my users cannot make design edits, this serves my requirements.

    But try:

    DoCmd.RunCommand acCmdFitToWindow
    or
    DoCmd.RunCommand acCmdZoom50

    The latter command has 9 variations of the number.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    tweety is offline Competent Performer
    Windows 7 32bit Access 2007
    Join Date
    Nov 2012
    Posts
    126
    thanks ill try it out, for some reason iam not getting the email replies the thread has been answer, any ideas.

  4. #4
    tweety is offline Competent Performer
    Windows 7 32bit Access 2007
    Join Date
    Nov 2012
    Posts
    126
    i have tried both the commands, and the second one DoCmd.RunCommand acCmdZoom100 is working. the report is shown at 100% but the window size is limited, so i had to drag the window to beable to see the report. is there a command to make the window 100% too. i have attached an image when the report is opened.

    Click image for larger version. 

Name:	report zoom.png 
Views:	12 
Size:	109.4 KB 
ID:	11795

  5. #5
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    If you have profile set for email notification and your email is not sending to junk, should see them. You could try a thread in forum support. Maybe the administrator will respond.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  6. #6
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    The only command I know is to maximize the object. This setting will apply to all subsequent objects opened unless you set back to what it was.

    See what you can find with Google: Access VBA report window size
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  7. #7
    tweety is offline Competent Performer
    Windows 7 32bit Access 2007
    Join Date
    Nov 2012
    Posts
    126
    i have had a look online, lots of results on how to zoom in which you already have given the code to, but nothing to say how to simply make it full screen!?

  8. #8
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    Full screen would be setting Maximize method.

    DoCmd.Maximize

    As stated, that will apply to all objects, it is an app setting.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  9. #9
    tweety is offline Competent Performer
    Windows 7 32bit Access 2007
    Join Date
    Nov 2012
    Posts
    126
    the best way is to open the report in report view rather then using print preview or other view, in the vba coding just change the standard code with ", acViewReport" at the end, the code with an example is:

    DoCmd.OpenReport "rpt_CallList", acViewReport

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

Similar Threads

  1. Changing Report Print Preview Zoom Options in VBA
    By MintChipMadness in forum Programming
    Replies: 4
    Last Post: 01-11-2013, 04:46 PM
  2. report zoom in center
    By raton in forum Reports
    Replies: 3
    Last Post: 04-03-2012, 11:26 PM
  3. Replies: 3
    Last Post: 11-18-2011, 10:05 AM
  4. Report data load time
    By GraemeG in forum Reports
    Replies: 0
    Last Post: 06-05-2011, 05:52 AM
  5. Replies: 1
    Last Post: 04-05-2006, 01:58 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