Invalid use of NULL (?!!)

mikewood1980

Registered User.
Local time
Today, 21:09
Joined
May 14, 2008
Messages
45
Hi

Can anyone help me with this - I keep getting an error on the line marked *** "Invalid use of NULL". The only way that the code can reach this line is if rsWallCons("intLeafID2").Value is NOT null - how is this possible?!!?

Code:
If rsWallCons("intLeafID2").Value = Null Then
                    MsgBox ("we dont have a wall")
                    intLeafID2 = 0
                Else
                    intLeafID2 = rsWallCons("intLeafID2").Value
                    
                End If

Can anyone help?

Thanks
Mike :confused:
 

Users who are viewing this thread

Back
Top Bottom