I inherited a database that was working fine, except one field was showing LocationID instead of the Location text.
So, I added the already-existing Location lookup table to the query, saved, changed the field on the form, switched to Form Mode and took a look, everything looked fine.
The problem is that, on subsequent attempts to open the form, I get errors. When I start from the switchboard in form mode, I get "The OpenForm action was cancelled". When I try from design mode, I get errors regarding OnOpen and OnError.
There doesn't seem to be anything in the VBA specific to the exact query or field.
When I switch things back to the way they were...it works again!
I don't understand how a minor change to the query is having this effect. Is there anywhere else that some reference to the original query/field might be hidden, that could be causing this problem??
I'll be happy to provide any other information that is needed.
Thanks in advance!
So, I added the already-existing Location lookup table to the query, saved, changed the field on the form, switched to Form Mode and took a look, everything looked fine.
The problem is that, on subsequent attempts to open the form, I get errors. When I start from the switchboard in form mode, I get "The OpenForm action was cancelled". When I try from design mode, I get errors regarding OnOpen and OnError.
There doesn't seem to be anything in the VBA specific to the exact query or field.
When I switch things back to the way they were...it works again!
I don't understand how a minor change to the query is having this effect. Is there anywhere else that some reference to the original query/field might be hidden, that could be causing this problem??
I'll be happy to provide any other information that is needed.
Thanks in advance!