I have some simple code error that’s got me stumped. I keep getting the error “Type mismatch” on this line which is trying to test for two number values…If (Abs(lAction) <> 512) And (Abs(lAction) <> 8192) Then
lAction is declared as Long, and in debug, I can see it is Long, & contains a number.
Anyone can help??
Subject: No, I don’t see how everything you say can be true…
… so please recheck each part of it. There’s no possible way to get type mismatch comparing two integers. Send a screen shot from the debugger.
Is that really the entire statement?
Subject: Strange 
A few hours after I posted this (it happened at least 20 times), Notes crashed. After restart, the error doesn’t happen any more. So, I’m putting it in “too hard” basket. Thanks for your response.