ACC2000: Relationship Dialog Box Is Displayed for Blank Data Access Page
ID: Q203068
|
The information in this article applies to:
Moderate: Requires basic macro, coding, and interoperability skills.
This article applies to a Microsoft Access database (.mdb) and a Microsoft Access project (.adp).
SYMPTOMS
You are making changes to a data access page, and even though you have deleted all of the previously added controls from the data access page, you still see the New Relationship dialog box when you try to add a new field to the page.
CAUSE
Previously added controls have bound the section to a data source. Even if you remove all controls that you added previously in Design view, Access does not "unbind" the section. Consequently, if you add a new field to the section, you may see the New Relationship dialog box.
RESOLUTION
Manually unbind the section. To do so, follow these steps:
-
If the field list is not displayed, on the View menu, click Field List.
-
In the Field List dialog box, click the Page tab. Note the tree of objects with the name of your page at the top of the tree.
-
Select all items beneath the page name, and then delete them.
MORE INFORMATION
Steps to Reproduce Behavior
- Create a new Access database.
- Create two linked tables to the authors and sales tables in the SQL Server 7.0 sample database pubs.
- Click Pages under Objects, click New, and then click Design View. Click OK.
- Drag the authors table from the field list to the data access page. If the Design Layout dialog box appears, click Pivot Table List. Click OK.
- Drag the sales table from the field list to the data access page. Click Pivot Table List if necessary, and then click OK.
- Drag the au_lname field from the authors table to the data access page.
- Delete both pivot tables and the au_lname field from the data access page. Nothing should remain on the data access page.
- Add the stor_id field from the sales table to the data access page.
Note that the New Relationship dialog box is displayed, which indicates the presence of other controls even though you deleted all other controls from the data access page.
Additional query words:
prb removed
Keywords : kbdta AccDAP
Version : WINDOWS:2000
Platform : WINDOWS
Issue type : kbprb