Hi
I have following code to do some functionality for save button on form to get records associated with my combo box.
Now the issue is i have to do DLookup for other table based on combo box value on same form, since form is bind to one table Dlookup for another table is not showing results in text boxes.
for example i have tblVehicleInsurance which is bound to form and i have tblVehicle from which i need some records to show on form relationship in both is [PlateNo].
Can you tell me why Dlookup is not working and how to fix this problem.
I have following code to do some functionality for save button on form to get records associated with my combo box.
Code:
Private Sub cboPlateNo_AfterUpdate()
Me.Recordset.FindFirst "PlateNo = " & Nz(cboPlateNo, 0)
Now the issue is i have to do DLookup for other table based on combo box value on same form, since form is bind to one table Dlookup for another table is not showing results in text boxes.
for example i have tblVehicleInsurance which is bound to form and i have tblVehicle from which i need some records to show on form relationship in both is [PlateNo].
Can you tell me why Dlookup is not working and how to fix this problem.