"Compile Error: Block If without End If"

infinitx

Registered User.
Local time
Today, 16:04
Joined
Mar 22, 2004
Messages
63
Hi,
When code this statement on ButtonClick:

If IsNull(Form_ICL.ICL_5.Value) Then
Form_ICL.ICL_5.Value = ""

End If

I get the following error: "Compile Error: Block If without End If"

Why am I getting this error?

Thanks in advance!
 
Try This:
Code:
If IsNull(Form_ICL.ICL_5) Then
Form_ICL.ICL_5 = ""
End If


Andy
 
Thank you!
That solved the problem!
 

Users who are viewing this thread

Back
Top Bottom