I am doing maintenance on a database that has a subform that's inside a form. Before I made changes to the front and back end, the subform worked fine. A user could enter data in the first row, another row below it would be created, and there were no error messages.
Now, however, if a user enters data in the subform, and there's no other data, this error message shows:
"You tried to assign the Null value to a variable that is not a Variant datatype."
I went into Design view on the subform to Link Child Fields and Link Master Fields to try to relink the subform to the form, but got this error:
"Object variable or with block not set"
Oddly, if there's already a row of data in the subform, adding another row of data works fine.
Does anyone know what's happening here?
Thank you,
Steve Geller
Now, however, if a user enters data in the subform, and there's no other data, this error message shows:
"You tried to assign the Null value to a variable that is not a Variant datatype."
I went into Design view on the subform to Link Child Fields and Link Master Fields to try to relink the subform to the form, but got this error:
"Object variable or with block not set"
Oddly, if there's already a row of data in the subform, adding another row of data works fine.
Does anyone know what's happening here?
Thank you,
Steve Geller