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).
 
Back
Top