Private Sub FundDescription _AfterUpdate()
' Evaluate filter before it is passed to DLookup function.
strFilter = "FundDescriptio n = " & Me!FundDescript ion
' Look up product's unit price and assign it to the UnitPrice control.
Me!FundCode = DLookup("FundCo de", "tbl_Fund", strFilter)
End Sub
error is: data type mismatch in criteria expresion
' Evaluate filter before it is passed to DLookup function.
strFilter = "FundDescriptio n = " & Me!FundDescript ion
' Look up product's unit price and assign it to the UnitPrice control.
Me!FundCode = DLookup("FundCo de", "tbl_Fund", strFilter)
End Sub
error is: data type mismatch in criteria expresion
Comment