C
CSDunn
Hello,
I have an MS Access 2000 report called 'RptMM_StandardsGradeSummary' with
the Record Source property set to a SQL Server 2000 Stored Procedure. The SP
takes one parameter called @Location2.
The report is opened (by clicking a button) from two different forms in the
ADP application. I want to be able to use a Macro to determine the 'Input
Parameters' property of the report, based on the form button that is
clicked.
I've had trouble in the past with setting the Input Parameters property of a
report. The action of Buttons 1 and 2 will be to open the report. At some
point, the Input Parameter property of the report needs to be set to
'@Location 2 varchar = Forms!frmTeacherForm!location2' if Button_1 is
clicked, and '@Location 2 varchar = Forms!frmAdminForm!location2' if
Button_2 is clicked.
Which event for the Report do I want to assign the Macro to so that the
Input Parameter property gets set correctly?
Thanks for your help!
CSDunn
I have an MS Access 2000 report called 'RptMM_StandardsGradeSummary' with
the Record Source property set to a SQL Server 2000 Stored Procedure. The SP
takes one parameter called @Location2.
The report is opened (by clicking a button) from two different forms in the
ADP application. I want to be able to use a Macro to determine the 'Input
Parameters' property of the report, based on the form button that is
clicked.
I've had trouble in the past with setting the Input Parameters property of a
report. The action of Buttons 1 and 2 will be to open the report. At some
point, the Input Parameter property of the report needs to be set to
'@Location 2 varchar = Forms!frmTeacherForm!location2' if Button_1 is
clicked, and '@Location 2 varchar = Forms!frmAdminForm!location2' if
Button_2 is clicked.
Which event for the Report do I want to assign the Macro to so that the
Input Parameter property gets set correctly?
Thanks for your help!
CSDunn