Bob, you might need to find out what the error message says, so you know how
to address it.
For example, if the report contained no records, and you cancel the report's
NoData event, the procedure that contains the OpenReport statement will
generate error 2501. This is just Access letting your code know the report
did not open. Use error handling to trap and ignore that error.

Signature
Allen Browne - Microsoft MVP. Perth, Western Australia
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.
> Group:
>
[quoted text clipped - 11 lines]
> DoCmd.OpenReport "Schedule01-Fed", acViewPreview
> DoCmd.RunCommand acCmdZoom100