M
mthornblad
Here is the code:
Private Sub id_Part_AfterUpdate()
strFilter = "pm_Part = " & Me!id_Part
Me!id_Unit = DLookup("pm_Retail", "Parts", strFilter)
End Sub
Hi.
I am getting error 3464 Data Type mismatch when I run this code.
The field id_Unit is on the form and is of the type Currency.
The field pm_Retail is in the Parts table and is of the type Currency.
The field id_Part is on the form.
The field pm_Retail is in the Parts table.
This seems simple enough but I can't figure out what the type mismatch
is.
I would appreciate any suggestions as to what the problem could be.
Thanks
Mark
Private Sub id_Part_AfterUpdate()
strFilter = "pm_Part = " & Me!id_Part
Me!id_Unit = DLookup("pm_Retail", "Parts", strFilter)
End Sub
Hi.
I am getting error 3464 Data Type mismatch when I run this code.
The field id_Unit is on the form and is of the type Currency.
The field pm_Retail is in the Parts table and is of the type Currency.
The field id_Part is on the form.
The field pm_Retail is in the Parts table.
This seems simple enough but I can't figure out what the type mismatch
is.
I would appreciate any suggestions as to what the problem could be.
Thanks
Mark