Right I'm sure I'm missing something here I have this if statement in VB (I'm actually using VBA in Access 2000 but it probably doesn't matter)
If (Thing <> Null) Then
Exit Function
Else
....
This bit wasn't working so I put a breakpoint on
If(Thing <> Null) Then
And so the debugger kicked in on that line and I checked what thing was buu holding the cursor over it and it pops up in a tool tip, it said
quote:Thing = "5"
So it didn't equal Null and so should've gone onto exit function and for some reason it skipped that and went into the else block. Can anybody tell me why VB isn't doing would it should do?
[edited by - Monder on March 3, 2003 5:09:32 PM]
[edited by - Monder on March 3, 2003 5:10:25 PM]