Chapter 30: Using Access Macros
1063
Submacro Name Condition ActionAction
ArgumentAction
Argument
Setting[Forms]![frmReportMenu
]![fraView]=2OpenReport Report Name rptProductsView Print
Preview
Window Mode Normal
OpenSales [Forms]![frmReportMenu
]![fraView]=1OpenReport Report Name rptSalesView Print
Preview
Window Mode Normal
[Forms]![frmReportMenu
]![fraView]=2OpenReport Report Name rptSalesView Print
Preview
Window Mode NormalFIGURE 30.10mcrReportMenu uses an If action to open reports in Print or Print Preview view.
If macro action