I do i get this to filter only the one record I want?
Also it Errors on dmcmd.close
Code:
Private Sub Score_Exit(Cancel As Integer)
UPDATESCOREPRINT = CardNumber2.Value
DoCmd.OpenReport "customerreceiptreprint", acViewNormal, CardNumber2 = UPDATESCOREPRINT, , acHidden
DoCmd.OpenReport "receiptreprint", acViewNormal, CardNumber2 = UPDATESCOREPRINT, , acHidden
Debug.Print UPDATESCOREPRINT
DoCmd.Close
DoCmd.OpenForm "EntryForm", acNormal, , , acFormAdd, acWindowNormal
End Sub
Also it Errors on dmcmd.close