Null Value

D

davegilligan

When I try to enter a date on a form I keep getting the following error
message; "You tried to assign the Null value to a variable that is not a
Variant data type (Error 3162). The help for this error recommends declaring
the variable. The only problem is I do not have any modules created for the
form. What can I do to stop this error message from happening?
 
B

BruceM via AccessMonster.com

The form has a code module. Perhaps you mean you have not created any code
in the form's code module? If you used a wizard to create, say, a command
button there will probably be code in the form's module, so open the module
to be sure it is indeed empty.

Is there any information about which event is producing the error? Is there
code in a Standard module (i.e. not associated with a form or report)? Is
anything entered on the Event tab of the Property Sheet for the form or any
of its controls?
 

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