E
Ed Dror
Hi there,
I have a barcode (2D) which transfer the information to my form.
The last recod in the form is like 005} and it stay there (textbox)
And I want to move to a new record so I wrote
Private Sub Suffix_Dirty(Cancel As Integer)
On Error GoTo Err_CmdNew_Click
DoCmd.GoToRecord , , acNewRec
Me.Description.SetFocus
Exit_CmdNew_Click:
Exit Sub
Err_CmdNew_Click:
MsgBox Err.Description
Resume Exit_CmdNew_Click
End Sub
Even AfterUpdate or GotFocus it dosen't save the record it move it into the
next textbox
(I know you can press TAB but i don't want the user do extra typing)
How do I make sure that the last textbox get the value and then move to new
record?
Thanks,
Ed Dror
I have a barcode (2D) which transfer the information to my form.
The last recod in the form is like 005} and it stay there (textbox)
And I want to move to a new record so I wrote
Private Sub Suffix_Dirty(Cancel As Integer)
On Error GoTo Err_CmdNew_Click
DoCmd.GoToRecord , , acNewRec
Me.Description.SetFocus
Exit_CmdNew_Click:
Exit Sub
Err_CmdNew_Click:
MsgBox Err.Description
Resume Exit_CmdNew_Click
End Sub
Even AfterUpdate or GotFocus it dosen't save the record it move it into the
next textbox
(I know you can press TAB but i don't want the user do extra typing)
How do I make sure that the last textbox get the value and then move to new
record?
Thanks,
Ed Dror