ACC2000: Cannot View Records When Both Group Header and Group Footer Properties Are Set to No
ID: Q225898
|
The information in this article applies to:
Novice: Requires knowledge of the user interface on single-user computers.
This article applies to a Microsoft Access database (.mdb) and a Microsoft Access project (.adp).
SYMPTOMS
When you open a grouped data access page in Page view or in Microsoft Internet Explorer 5, and both the GroupHeader and
GroupFooter properties are set to No, the page is displayed with only a record navigation control. You do not see any of the related child records, even though these fields appear in Design view.
RESOLUTION
The GroupHeader or the GroupFooter property (or both) should be set to Yes at all times.
MORE INFORMATION
The page is grouped, but you have hidden the parent's group header and footer. Because these sections are not visible, you can only view or access the records in the child group in Design view.
Steps to Reproduce Behavior
- Open the sample database Northwind.mdb or the sample Microsoft Access project NorthwindCS.adp.
- In the Database window, click Pages under Objects, and then click New.
- In the New Data Access Page dialog box, click Page Wizard, and then click OK.
- In the Table/Queries list, click Table: Categories.
- Click the >> button to move all the fields from the Available Fields box to the Selected Fields box.
- In the Table/Queries list, click Table: Products.
- Click the >> button to move all the fields from the Available Fields box to the Selected Fields box, and then click Next.
- When prompted if you want to add a group, click Categories.CategoryID, click the > button, and then click Finish.
- On the View menu, click Sorting and Grouping.
- In the Sorting and Grouping dialog box, set the
ExpandedByDefault property to Yes for Products-Categories_CategoryID.
- On the File menu, click Save, and in the Save As Data Access Page dialog box, type TestPage.htm in the File name box, and then click Save.
- On the View menu, click Page View.
Note that you can move through the child records for each particular group of records.
- On the View menu, click Design View.
- In the Sorting and Grouping dialog box, set the Group Header and Group Footer properties to No for Products-Categories_CategoryID.
- Click Yes when the following message appears:
You are about to delete this section.
If you click Yes, the controls you placed in this section will be deleted and you won't be able to undo this operation. Are you sure you want to delete these controls?
- On the View menu, click Page View.
Note that the page contains only a record navigation control.
Additional query words:
pra master
Keywords : kbdta DAPProb
Version : WINDOWS:2000
Platform : WINDOWS
Issue type : kbbug
|