W
West Preston via AccessMonster.com
I have a data entry form with a combo box/text box for the vendorName and
vendorID.
On this form, I have a sub form with fields: notes, date, time, vendorID.
I have a notes table to capture the notes. When I save the form it save
the notes to my notes table, but does NOT save the vendor id. This field
is left blank in my notes table. It saves the jobOrder I think because
it's the primary key, but not the vendorID.
Can anyone help me with my code? Here it is:
Private Sub Notes_Enter()
NoteDate = Date
NoteTime = Time()
Me.Companyid = Companyid
Me.JobOrder = JobOrder
End Sub
vendorID.
On this form, I have a sub form with fields: notes, date, time, vendorID.
I have a notes table to capture the notes. When I save the form it save
the notes to my notes table, but does NOT save the vendor id. This field
is left blank in my notes table. It saves the jobOrder I think because
it's the primary key, but not the vendorID.
Can anyone help me with my code? Here it is:
Private Sub Notes_Enter()
NoteDate = Date
NoteTime = Time()
Me.Companyid = Companyid
Me.JobOrder = JobOrder
End Sub