G said:
I used a sample database in ACCESS, like the "inventory database"
And yes, it is VBA code
And yes, it does contain "Not IsNull(variableorfieldname)
"
I had just shortened it for this email.
The thing is that the program is not recognizing that function. The
fieldname does not matter. It just won't recognize the function.
I already checked the references and used only the same ones that were in
the sample database.
No guarantee that a sample db has it's references set the
same way you need them on your system. Some samples add a
reference that they don't even need.
When a builtin VBA function is not recognized, it is almost
always some(?) other reference that's the wrong version, an
uninstalled library, or even the right version that is
installed in a different place. Go back to Allen's article
and read it carefully.
In the future, please use Copy/Paste for any code that you
need help with. It's a waste of everyone's time to try to
debug some paraphrased code.