PRB: Can't Print GrandChild Records in One-to-Many RelationID: Q136674 The information in this article applies to:
SYMPTOMSA report for three tables, where the tables have a parent, child, and grandchild one-to-many relation, does not display all the related records in the grandchild table for each of the records in the child table. Only the first related grandchild record prints.
RESOLUTIONTo list all the related records in the grandchild table for each of the records in the child table:
STATUSThis behavior is by design.
MORE INFORMATION
Steps to Reproduce Behavior1. Open the Testdata Database that should be in the \Samples\Data directory 2. Create a new report, and call it Test.
3. Open the data environment of the report and add the Customer, Orders, 4. Set the OneToMany property of both the relations in the report data
5. Set the Order property of the Customer table to Cust_Id and the Order
6. Set the InitialSelectedAlias property of the report data environment
7. Create a report group for Customer.Cust_Id and another report group for
8. Place the Cust_Id and Company fields of the Customer table in the first
9. Place the Order_Id and Order_Amt fields of the Orders table in the
10. Place the Line_No,Product_ID, and Unit_Price fields of the OrdItems
12. Add whatever titles you think are necessary to each of the Bands.
13. Preview the Report. Only one OrdItems record related to each of the
Example Resolution- Set the InitialSelectedAlias of the report data environment to Orders.
|
Last Reviewed: November 2, 1998 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |