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

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!
 
M

markmarko

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top