Re: message: Zoom not available now.



scubadiver wrote:
On the "on open" event for a report I have tried a macro using "run
command" with the "zoom75%" option but I still get the message "the
command or action 'zoom75%' isn't available now".

It then says "Use only those commands and macro actions that are
currently available for this database".

For some reason commands that change the report's window size and/or the
zoom level cannot be called in the Open event of the report itself. You
have to add them to the code that opens the report...

DoCmd.OpenReport "ReportName", acViewPreview
DoCmd.RunCommand acCmdZoom75

If you are not opening the report from code then you might be SOL.

--
Rick Brandt, Microsoft Access MVP
Email (as appropriate) to...
RBrandt at Hunter dot com


.



Relevant Pages

  • Re: message: Zoom not available now.
    ... As Rick Brandt wrote... ... For some reason commands that change the report's window size and/or the ... zoom level cannot be called in the Open event of the report itself. ... That code must be in the form/button code that "calls" the report... ...
    (microsoft.public.access.reports)
  • Re: 2003 server in a NT4 Domain.
    ... Herb here are the results of the commands you gave me. ... It looks like Auth against the PDC is working as the user account used ... domain and was able to see the shared resources on the 2003 server. ... >Report exact error messages. ...
    (microsoft.public.win2000.active_directory)
  • Re: Help!!!
    ... Kill and Dir commands. ... >> Will it suffice to delete the downloaded file after you've ... >> the existance of the downloaded file before you run the report. ...
    (microsoft.public.access.formscoding)
  • Re: Refreshing Report to Accept Printer changes
    ... So setting the orientation works, but setting the paper size does not? ... You could try swapping the commands around (PaperSize first) to see if ... After the report comes up it is in Portrait with Letter size. ... Is there a VBA command to issue after the above commands which would be ...
    (microsoft.public.access.reports)
  • Re: CTRL+V not working in Report Editor
    ... > commands at some point in your application. ... the form where I have my "modify report" button. ... I issue the "modi repo" command I see two pads appearing at the ...
    (microsoft.public.fox.helpwanted)

Loading