By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,624 Members | 1,747 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,624 IT Pros & Developers. It's quick & easy.

need help to get rid of 'run time error ' 94 ' invalid use of null.

P: 1
I am a software that checks the pollution of a vehicle....
But now if I try to open it Iam getting this error
'Run time error ' 94 ' invalid use of null .
Plz help me in solving my problem. Thanks.
May 24 '14 #1
Share this Question
Share on Google+
1 Reply


Expert 100+
P: 1,240
Welcome to Bytes.

The way to deal with potential NULL values is to reference the object with an NZ function. If X is Null, referring to X as NZ(X) avoids the error 94.

With a little luck you are seeing some Visual Basic code on the screen along with that error message. Without seeing the code it's hard to be very specific with a reply.

Study the situation and provide more details, including the code you see on the screen. Why error today and not yesterday, or last week, what is different from usual?

Jim
May 24 '14 #2

Post your reply

Sign in to post your reply or Sign up for a free account.