I am using Access 2000 with linked tables to a SQL Server 2000 backend database. I have a form whose record source is based on a simple query on a single table. Due to design changes two fields needed to be added to the table and then to bound text boxes on the form.
I added the fields to the table through Enterprise Manager. Then I ran the Linked Table Manager in Access to update the table definition. Opening the table in Access showed the new fields.
I added the new fields to the record source query. Running the query also showed the new fields.
I added two text boxes to the form and bound them to the new fields, which were listed in the control source dropdown. However, when I run the form I get "#NAME?" error displayed in the text boxes.
If I create a new form, using the same query as the record source on my original form, and put text boxes on the form for the new fields, it works fine.
Is my original form corrupted somehow? Does anyone know how to fix this? Or do I have to start fresh and recreate the form?
I have read Microsoft's explanation of the error and tried all the ways it suggests to solve the problem, but I still get the error.
I added the fields to the table through Enterprise Manager. Then I ran the Linked Table Manager in Access to update the table definition. Opening the table in Access showed the new fields.
I added the new fields to the record source query. Running the query also showed the new fields.
I added two text boxes to the form and bound them to the new fields, which were listed in the control source dropdown. However, when I run the form I get "#NAME?" error displayed in the text boxes.
If I create a new form, using the same query as the record source on my original form, and put text boxes on the form for the new fields, it works fine.
Is my original form corrupted somehow? Does anyone know how to fix this? Or do I have to start fresh and recreate the form?
I have read Microsoft's explanation of the error and tried all the ways it suggests to solve the problem, but I still get the error.