AlanJordan
Programmer
Can anyone tell me why this code is suddenly producing a 3464 error? "Data type mismatch in criteria experession." I have changed the data, so that might be causing the problem. Do you think it is trying to coerce a vbnullstring into a double and having trouble. If so, what should I do to change it? I've tried a few things without success.
Alan
Alan
Code:
'If the difference is a negative amount AND if it is an adjusted item, it is a mistake.
If Not IsNull(Me.AWPDiffIn1.Value) Then
If Me!AWPDiffIn1.Value <> "" Then
If CDbl(Me.AWPDiffIn1.Value) < 0 And Me.chkAWPInAdj1.Value = True Then
boolDiffFlag1 = True
End If
End If
End If