Hi,
I got error on
Anybody know how to set Job No field in that table to StrJob_No?
yes, I copy this code from other thread
Code:
Private Sub Toggle21_Click()
Dim StrBarcode As String
Dim StrJob_No As String
StrBarcode = Forms!Outgoing.oBarcode '=9 (for example)
StrJob_No = Forms!Outgoing.oJob_No '=Test (for example)
'Open Marketing Form
DoCmd.OpenTable "Inventory"
'Add new record OK up to here
DoCmd.GoToRecord , , acGoTo, StrBarcode 'goto line 9
'---------------------------------------------------------------------------------
'Set Job_No value
CurrentRecord.Job_No = StrJob_No
End Sub
I got error on
Code:
CurrentRecord.Job_No = StrJob_No
Anybody know how to set Job No field in that table to StrJob_No?
yes, I copy this code from other thread
