A
Ann
I am trying to have an AfterUpdate event on a text box in
a form that adds a record that you put in the text box to
a table. My code is:
Private Sub Text8_AfterUpdate()
Dim Sample_Date As Date
Dim rs As DAO.recordset
rs.AddNew [Sample_Date]
rs.UpDate [Sample_Date]
End Sub
where Sample_Date is the field to be updated.
Can someone help me with the code and/or suggest a good
VBA refernce book for a beginner? Thank you very much.
a form that adds a record that you put in the text box to
a table. My code is:
Private Sub Text8_AfterUpdate()
Dim Sample_Date As Date
Dim rs As DAO.recordset
rs.AddNew [Sample_Date]
rs.UpDate [Sample_Date]
End Sub
where Sample_Date is the field to be updated.
Can someone help me with the code and/or suggest a good
VBA refernce book for a beginner? Thank you very much.