if statement using null

swarv

Registered User.
Local time
Today, 22:51
Joined
Dec 2, 2008
Messages
196
All,

I have the following If statement:

If Forms!frm_homepage!new2008hols = Null Then

It doesn't seem to work as it doesn't understand Null. If I hover the mouse over it, it comes back as Null but for some reason doesn't work.

Thanks
Martin
 
Is null is something you use in a query (4GL)
in programming (3GL) you cannot do this... Use Isnull(YourField) instead.

Happy coding
 
great thanks.
 

Users who are viewing this thread

Back
Top Bottom