in my main form i have a option called "Duty" after selecting this option i want to subform to be auto filled as below
this is just to automate the porcess where the user no need to enter the subform. when ever duty in involved by selecting the charges will be automatically updated.
can some one help me with the code
Code:
subform Field Criteria
-----------------------------
masterID = [mainform].[id]
charge_code = "C"
Charge_Detail = "Customs Duty"
Charge = "5000"
can some one help me with the code