"you entered an expression that has an invalid reference..."

  • Thread starter Thread starter markmarko
  • Start date Start date
M

markmarko

Soooo, I just deployed a update to our fe. After doing so, I've made a few
changes for the next update.

In doing so, I've gained a new error, that seems to be coming from nowhere.
The changes I've made are to other forms, not the on that now has an error.

When I try to open the form in question, I get the following error:
"You entered an expression that has an invalid reference to the property
Form/Report"

It's triggered by this line of code:
Me![Record-CDV_SalesInfoSubform].Form.AllowAdditions = True

This line of code has functioned properly in all previous versions,
including the one I just deployed earlier today. The changes I've made to my
working file were in other forms. I made no changes to this form, or its
subforms.

Any ideas on why this error would suddenly appear. I'm quite frustrated by it.

Thanks!
 
Incidentally, the AllowAdditions property on the form which is used for the
subform is set to True.

There is no code in any module in the project which sets this subforms
allowadditions to false, yet if I stop code, and print .allowadditions in the
immediate window, it's set to false.

So, so perplexing.
 
Back
Top