A Ashley Jul 26, 2004 #1 Could I have the report to open in the "fit to window"? Anyone know how to write a command on report open? Thanks
Could I have the report to open in the "fit to window"? Anyone know how to write a command on report open? Thanks
F fredg Jul 27, 2004 #2 Could I have the report to open in the "fit to window"? Anyone know how to write a command on report open? Thanks Click to expand... If you open the report from an event on a form, use: DoCmd.OpenReport "ReportName", acViewPreview DoCmd.RunCommand acCmdFitToWindow
Could I have the report to open in the "fit to window"? Anyone know how to write a command on report open? Thanks Click to expand... If you open the report from an event on a form, use: DoCmd.OpenReport "ReportName", acViewPreview DoCmd.RunCommand acCmdFitToWindow
G Guest Jul 27, 2004 #3 -----Original Message----- If you open the report from an event on a form, use: DoCmd.OpenReport "ReportName", acViewPreview DoCmd.RunCommand acCmdFitToWindow -- Fred Please only reply to this newsgroup. I do not reply to personal email. . I got Run-Time Error '2046': Click to expand... This command or action 'FitToWindow' isn't available now. How can I fit this error?
-----Original Message----- If you open the report from an event on a form, use: DoCmd.OpenReport "ReportName", acViewPreview DoCmd.RunCommand acCmdFitToWindow -- Fred Please only reply to this newsgroup. I do not reply to personal email. . I got Run-Time Error '2046': Click to expand... This command or action 'FitToWindow' isn't available now. How can I fit this error?
F fredg Jul 27, 2004 #4 This command or action 'FitToWindow' isn't available now. How can I fit this error? Click to expand... I don't know? Where did you place it? It belongs in a Form's Command button click event. (The button you click to open the report in preview.)
This command or action 'FitToWindow' isn't available now. How can I fit this error? Click to expand... I don't know? Where did you place it? It belongs in a Form's Command button click event. (The button you click to open the report in preview.)