Hey,
I have three textboxes (text1, text2, text3), and i want to the number in the text box to go into my DB(OrderNo,PartNo,Qty).
I have set up the connection to my DB and it's working fine.
This is my code:
Private Sub cmdAddNew_Click()
'Add new record
With rs
.AddNew
.Fields (0)
.Fields (1)
.Fields (2)
.Update
End With
End Sub
Thanks
Oonagh
I have three textboxes (text1, text2, text3), and i want to the number in the text box to go into my DB(OrderNo,PartNo,Qty).
I have set up the connection to my DB and it's working fine.
This is my code:
Private Sub cmdAddNew_Click()
'Add new record
With rs
.AddNew
.Fields (0)
.Fields (1)
.Fields (2)
.Update
End With
End Sub
Thanks
Oonagh