I have create a small popup form with the following fields:
Key (primary key, autonumbered)
Date
Amount
Strap Number
I have added a push button with the following code:
Private Sub Command15_Click()
DoCmd.OpenReport "rptStrapVariance", acNormal
DoCmd.OpenReport "rptStrapVariance", acNormal
End Sub
This report is based on a query that prompts the user to enter the KEY value from the form, and the report should print two times. Is there a way to limit this to a single prompt?
In addition even when I enter the KEY on screen into the prompt the report prints blank, it prints all prior KEY's numbers okay.
Thanks in advance
Key (primary key, autonumbered)
Date
Amount
Strap Number
I have added a push button with the following code:
Private Sub Command15_Click()
DoCmd.OpenReport "rptStrapVariance", acNormal
DoCmd.OpenReport "rptStrapVariance", acNormal
End Sub
This report is based on a query that prompts the user to enter the KEY value from the form, and the report should print two times. Is there a way to limit this to a single prompt?
In addition even when I enter the KEY on screen into the prompt the report prints blank, it prints all prior KEY's numbers okay.
Thanks in advance