L
Larry Jones
What the heck does this message mean?
"You entered an expression that has an invalid reference to the property |."
I have a form, with a subform. When I press the delete button (which runs
the RunCommand using DeleteRecord) I get the typical warning about deleting
a record which will cause records in other tables to be deleted (no problem,
user wants that).
But then, after it's deleted, I get this error message. In debug, it's
stopping on the RunCommand statement, even though the record is deleted. I
have put debug statements in all my subroutines in both forms and none of
them appear to throw an error.
To narrow it down, I decided to delete the subform from my form and try a
delete. I did not get the error when I did this. So naturally I figure it
has something to do with the subform. But I can't figure what.
Both the form and subform are bound to queries, with no controls that are
unbound.
Any suggestions?
TIA
"You entered an expression that has an invalid reference to the property |."
I have a form, with a subform. When I press the delete button (which runs
the RunCommand using DeleteRecord) I get the typical warning about deleting
a record which will cause records in other tables to be deleted (no problem,
user wants that).
But then, after it's deleted, I get this error message. In debug, it's
stopping on the RunCommand statement, even though the record is deleted. I
have put debug statements in all my subroutines in both forms and none of
them appear to throw an error.
To narrow it down, I decided to delete the subform from my form and try a
delete. I did not get the error when I did this. So naturally I figure it
has something to do with the subform. But I can't figure what.
Both the form and subform are bound to queries, with no controls that are
unbound.
Any suggestions?
TIA