I added an "Add Record" button to my main form. The Embedded Macro successfully creates a new record on the subform.
When I press any key any field I get the following error:
"You tried to assign the Null value to a variable that is not a Variant data type".
When I click OK I can proceed, but why am I getting this error? What can I do to remove it (either with VBA or within the Embedded Macro)?
Thank you in advance!
When I press any key any field I get the following error:
"You tried to assign the Null value to a variable that is not a Variant data type".
When I click OK I can proceed, but why am I getting this error? What can I do to remove it (either with VBA or within the Embedded Macro)?
Thank you in advance!
Comment