Solved

Can't Find IsNothing Function in VBA librarys.

Posted on 1998-03-31
1
1,393 Views
Last Modified: 2012-06-27
If you go to Help and look at the IsObject function, it says you can use the IsNothing function.  However, it doesn't appear to exist in Access 97!!!!  I'm trying to use an If..then statement to determine if a variable defined as "Form" has been assigned the Nothing value.  It would be nice if I could use the IsNothing function.  

p.s. I have two questions for the designers of this web site:
1.  Why don't you have a search capability so we can search all questions and answers?
2.  Why do we have to determine how hard a question is?  That's pretty relative, don't you think?  The hardness of a question depends upon the answerer, not the questioner.  Shouldn't the experts determine how many points to deduct from our "banks"?
0
Comment
Question by:IRProgrammer
1 Comment
 
LVL 17

Accepted Solution

by:
ramrom earned 100 total points
ID: 1972631
INTERESTING. The help file must be upgemixed. Try this:

Function IsNothing(x)
  IsNothing = TypeName(x) = "Nothing"
End Function

RE PS
1-the site designers normally don't read the postings. There is a Customer Service Area with a Suggestions topic where you can communicate with them. See the home page.
2-If your question is too low in points we will ask you to raise the point value. Its all relative.
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

In the previous article, Using a Critera Form to Filter Records (http://www.experts-exchange.com/A_6069.html), the form was basically a data container storing user input, which queries and other database objects could read. The form had to remain op…
Today's users almost expect this to happen in all search boxes. After all, if their favourite search engine juggles with tens of thousand keywords while they type, and suggests matching phrases on the fly, why shouldn't they expect the same from you…
Using Microsoft Access, learn some simple rules for how to construct tables in a relational database. Split up all multi-value fields into single values: Split up fields that belong to other things into separate tables: Make sure that all record…
What’s inside an Access Desktop Database. Will look at the basic interface, Navigation Pane (Database Container), Tables, Queries, Forms, Report, Macro’s, and VBA code.

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now