T
Thorson
I currently have a report that relies on 2 different forms for parameter
entries before the report will run correctly. I have the first form
parameter set to open the second form and then the report and then close the
form:
Private Sub cmdOK_Click()
DoCmd.OpenReport "rptMonthlyInventoryPG4"
DoCmd.OpenForm "frmCurrentInventoryDateQuery", acNormal
DoCmd.Close acForm, "frmDSACMonthlyInventoryReport"
End Sub
However the reports open before the person even has a chance to enter the
parameter in the second form. Is there any way I can put a requirement that
the second form first be entered in? or are there any other suggestions?
Thanks
entries before the report will run correctly. I have the first form
parameter set to open the second form and then the report and then close the
form:
Private Sub cmdOK_Click()
DoCmd.OpenReport "rptMonthlyInventoryPG4"
DoCmd.OpenForm "frmCurrentInventoryDateQuery", acNormal
DoCmd.Close acForm, "frmDSACMonthlyInventoryReport"
End Sub
However the reports open before the person even has a chance to enter the
parameter in the second form. Is there any way I can put a requirement that
the second form first be entered in? or are there any other suggestions?
Thanks