Solved

Can't Find IsNothing Function in VBA librarys.

Posted on 1998-03-31
1
1,410 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

In a multiple monitor setup, if you don't want to use AutoCenter to position your popup forms, you have a problem: where will they appear?  Sometimes you may have an additional problem: where the devil did they go?  If you last had a popup form open…
AutoNumbers should increment automatically, without duplicates.  But sometimes something goes wrong, and the next AutoNumber value is a duplicate.  This article shows how to recover from this problem.
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 …
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

707 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