I have a form on to which I have added a button that will cause only that
form to be printed as a Bin Label. It works fine but it does not release
when it finished printing the current record. If I simply move to the next
record, it will go ahead and print that form and so on and so on. Under
"Properties ->Event->On Enter" I have the following code.
Private Sub PrintBinLabel_Enter()
Dim strDocName As String
Dim strWhere As String
strDocName="RptBinLabel"
strWhere="[SlideLotNumber]='"& Me!SlideLotNumber & '""
DoCmd.OpenReport strDocName, acViewNormal, , strWhere
End Sub
Can some kind person give me the additional code that will close the print
function for the above Bin Label, when it is done.
Thank you,
Bill.