S
Syphonics via AccessMonster.com
I had a form name "Purchases" which is based on table "Purchases"
and a Table name "Transactions"
In my form "Purchases", I have a "AmountPaid". I would like to do a "On Click
Event" and then the value in "AmountPaid" will be recorded into my
Transactions Table which has a field called "Withdrawal"
I did something like this but it won't work, does autonumbering in my
transaction table affect this?
Private Sub Outstanding_Click()
If (Outstanding = "Paid") Then
Test = "INSERT INTO Transactions.(withdrawal) VALUES '" & Me.[AmountPaid]
CurrentDb.Execute Test
End If
End Sub
Thanks for the help
and a Table name "Transactions"
In my form "Purchases", I have a "AmountPaid". I would like to do a "On Click
Event" and then the value in "AmountPaid" will be recorded into my
Transactions Table which has a field called "Withdrawal"
I did something like this but it won't work, does autonumbering in my
transaction table affect this?
Private Sub Outstanding_Click()
If (Outstanding = "Paid") Then
Test = "INSERT INTO Transactions.(withdrawal) VALUES '" & Me.[AmountPaid]
CurrentDb.Execute Test
End If
End Sub
Thanks for the help