Not sure if this is possible, but...

G

GP

Hello all!

I was wondering if you can trap a CR/LF character, and force a form to go to a new record. Here's what I want to do: I have a hand-held bar-code scanner, and I want to create a new record in my database every time I scan in a barcode. Is this even possible? If it is, your help would be appreciated.

Thanks in advance.
 
K

Ken Snell

You might try using the AfterUpdate event of the control into which you're
putting the bar code results:

Private Sub BarCodeControlName_AfterUpdate()
DoCmd.RunCommand acCmdRecordGoToNew
End Sub


--
Ken Snell
<MS ACCESS MVP>

GP said:
Hello all!

I was wondering if you can trap a CR/LF character, and force a form to go
to a new record. Here's what I want to do: I have a hand-held bar-code
scanner, and I want to create a new record in my database every time I scan
in a barcode. Is this even possible? If it is, your help would be
appreciated.
 
Top