hi,
im working on a small project on access 2007, i have a form that contains multiple textboxes ,and a save button. these textboxes are related to tables, so what i need is a code for that button to save the records in the textboxes in the tables and then show a msg box sayibg that the save processes is complete.
..
thank you very much....
2
Contributors
5
Replies
1 Day
Discussion Span
2 Years Ago
Last Updated
6
Views
Question Answered
Related Article:VBA CODE in access
is a Visual Basic 4 / 5 / 6 discussion thread by deadelgabar that has 1 reply, was last updated 2 years ago and has been tagged with the keywords: access2007, vba.
thanks very much for reply.
im using access 2007 forms, i created many tables with relations and created forms to with bound text boxes and button.
what im asking is i have a form have 5 text boxes and a button, the user should fill the data and press on the button which should save the records in the related tables.
Private Sub Command22_Click()
DoCmd.RunCommand acCmdSaveRecord
MsgBox "Data is saved", vbOKOnly, "E-car System"
End Sub
the problem is when the save button is pressed the text boxes remain with same records that are filled, THEY ARE NOT BLANK, they should be blank when the records are saved. PLEASE HELP ME