Enter Parameter Value Error, Office 2007

dbaldwin

Registered User.
Local time
Today, 07:38
Joined
Feb 13, 2011
Messages
40
I modified the name of a field in a table, which is the basis of a query, which is the basis of a form. The field name was ACCT # which I discovered wasn't treated kindly when referenced in VBA. So I changed the names of all such fields in the database tables to AcctNo. After each change I refreshed the database. I checked the naming in all related queries, forms, and reports. Now when I try to open the form, I get a prompt window that says "Enter Parameter Value" and under that it says "ACCT #", and under that the choice of Ok and Close. Regardless of what is selected, Ok or Close, without entering a value, it just proceeds to open the form. Further it occurs not only entering the form, but changing from design to form view, and with any record navagation.
The underlying query has no conditions, or conditional parameters, and never did. How can I discover where this new prompt is coming from and get rid of it?
Thank you in advance for your kind attention to my annoyance.
 
Autocorrect does not find all the places where you may have use the old name. If you have an SQL string in the RecordSource property of the form it won't find that. Likewise it does not affect the VBA.

Download V-tools and use the Deep Search tool to find every reference to the old name in the database.

Other times the autocorrect doesn't work properly after a change to the name of a field. If this is the problem in a query then copy the SQL and paste into a new query.
 
I found the solution/location of the problem. The LinkMasterFields property of the subform control was the problem as it referenced the old field name.
 

Users who are viewing this thread

Back
Top Bottom