D
dbl
Hi I have the following code which I need to work out how to tell it if
Text503 is null then to ignore this part of the code
If Me.ExAge >= 25 And Me.Text503 <1 Then
ed = ed + DLookup("[Novice25Plus]", "qryCheckRecSent", crit)
End If
I have tried different ways but all produce the following error Compile
Error Expected Expression
this is what I have done, how do I put it right?
ed = DLookup(strLookup, "qryCheckRecSent", crit)
If Me.ExAge >= 25 And Me.Text503 Is Not Null And <1 Then
ed = ed + DLookup("[Novice25Plus]", "qryCheckRecSent", crit)
End If
Any help would be very much appreciated.
Bob
Text503 is null then to ignore this part of the code
If Me.ExAge >= 25 And Me.Text503 <1 Then
ed = ed + DLookup("[Novice25Plus]", "qryCheckRecSent", crit)
End If
I have tried different ways but all produce the following error Compile
Error Expected Expression
this is what I have done, how do I put it right?
ed = DLookup(strLookup, "qryCheckRecSent", crit)
If Me.ExAge >= 25 And Me.Text503 Is Not Null And <1 Then
ed = ed + DLookup("[Novice25Plus]", "qryCheckRecSent", crit)
End If
Any help would be very much appreciated.
Bob