duplicate button

  • Thread starter Thread starter steve goodrich
  • Start date Start date
S

steve goodrich

I have a duplicate button on my form to duplicate a record that has been
working ok for years. Now when clicked I get an error message "Invalid use
of null"

Has anyone any idea why this message should appear and a possible solution
thanks
 
steve said:
I have a duplicate button on my form to duplicate a record that has
been working ok for years. Now when clicked I get an error message
"Invalid use of null"

Has anyone any idea why this message should appear and a possible
solution thanks

Normally such an error would offer the option to "Break" on the offending
line of code. That usually lets you see what the problem is.

The basics of that error is that your code is passing a Null value to a
function that cannot handle Nulls or is assigning the Null value to a
variable of a type that cannot accept Null (all types except variant).
 

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

Back
Top