Dear all guys,
I am beginner for Access VBA. I am programming Access 2003.
I have one form containing one subform. The form mainly perform customer payment function.
When user chooses customer id in the pull down list on the form, the subform will dynamic update the data according to customer id.
I have put these code in event handler.
Then, runtime error 2465 happen.
Would anyone help me solve? Or comment my programming skillls to perform such above function.
Code sample:
Private Sub CustCode_AfterU pdate()
[Forms]![CustPaySubForm]![CustCode] = [CustForm]![CustCode]
End Sub
I am beginner for Access VBA. I am programming Access 2003.
I have one form containing one subform. The form mainly perform customer payment function.
When user chooses customer id in the pull down list on the form, the subform will dynamic update the data according to customer id.
I have put these code in event handler.
Then, runtime error 2465 happen.
Would anyone help me solve? Or comment my programming skillls to perform such above function.
Code sample:
Private Sub CustCode_AfterU pdate()
[Forms]![CustPaySubForm]![CustCode] = [CustForm]![CustCode]
End Sub
Comment