Hi all, just wondering if there is a VBA command that returns the current view of the current active report. I am running code the uses the SetFocus Action, which works fin in Report view, but when I try to go to Print Preview view, Access throws an error stating that the command or action is not available in the current view - and the GetFocus action is the culprit.
I figure I can skip the GetFocus action if I know the Report is in Print Preview mode, hence my asking this question.
Thanks in advance
I figure I can skip the GetFocus action if I know the Report is in Print Preview mode, hence my asking this question.
Thanks in advance