Cannot find Function IsNothing in Access 97 VBA

G

Guest

Hi,

I find references to the function IsNothing(object) in the helpfile for
Access 97 VBA under IsObject(object), but this function is not present in VBA
97. How can I emulate this function?
 
A

Alex Dybenko

you can use:

if MyObject is nothing then
....

or just make own function based on this
 
G

Guest

Alex,

It is indeed very simple, I knew that "If MyVar Is Null Then" is equal to
"If IsNull(MyVar) Then" but I just could not make the mindleap to your
solution. Many thanks

"Alex Dybenko" schreef:
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top