Solved

Can't Find IsNothing Function in VBA librarys.

Posted on 1998-03-31
1
1,403 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article is a continuation or rather an extension from Cascading Combos (http://www.experts-exchange.com/A_5949.html) and builds on examples developed in detail there. It should be understandable alone, but I recommend reading the previous artic…
QuickBooks® has a great invoice interface that we were happy with for a while but that changed in 2001 through no fault of Intuit®. Our industry's unit names are dictated by RUS: the Rural Utilities Services division of USDA. Contracts contain un…
Learn how to number pages in an Access report over each group. Activate two pass printing by referencing the pages property: Add code to the Page Footers OnFormat event to capture the pages as there occur for each group. Use the pages property to …
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

830 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