Is it possible to use a scan from a barcode to check a checkbox?

M

Michael

I know that the barcode is only a keystroke such as A100. I have a form that
has a text box that finds the record based on the barcode scan but I would
like when the user, scans to this textbox [ExitScan], that it also puts a
check in the checkbox [ExitMag] to show the order is complete.

thanks for any advice
Michael

Private Sub ExitScan_AfterUpdate()
' Find the record that matches the control.
Dim rs As Object

Set rs = Me.Recordset.Clone
rs.FindFirst "[NPedanaID] = " & Str(Nz(Me![ExitScan], 0))
If Not rs.EOF Then Me.Bookmark = rs.Bookmark
End Sub
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top