Written code:
Private Sub Command2_Click()
ado1DailyIncome.Recordset.Fields("Quntity") = Text2.Text
ado1DailyIncome.Recordset.Fields("Amount") = Text3.Text
ado1DailyIncome.Recordset.Fields("TQuntity") = Text17.Text
ado1DailyIncome.Recordset.Fields("TAmount") = Text18.Text
ado1DailyIncome.Recordset.Update
End Sub
Last edited by viv345; March 3rd, 2010 at 07:42 AM.
Apart from giving TextBoxes meaningful names, like Text2 rather be txtQuntity, you seem to have mastered alreadyeverything. Thr Recordset.Update method will write back to the Access database.
(And apart from using code tags when posting code.)
What seems to be your problem?
* The Best Reasons to Target Windows 8
Learn some of the best reasons why you should seriously consider bringing your Android mobile development expertise to bear on the Windows 8 platform.