FIX: Report Wizard Preview Error If View Given as Child TableID: Q134437 3.00 3.00b WINDOWS kbtool kbbuglist kbfixlist The information in this article applies to:
SYMPTOMSIf you specify a view as the child table in the One-to-Many Report Wizard, and then click the Preview button on the final step of the wizard, this error occurs:
CAUSEBy design, a view cannot be used as the child table in a one-to-many relationship. This is because the child table must have an index tag on the parent table key field in order to create the relationship. Because a view cannot be indexed, the relationship cannot be created. The One-to-Many Report Wizard does not check to see if the child table is a view or an actual table. When the preview button is clicked, the error occurs.
WORKAROUNDBe sure to specify an actual table for the child table prior to invoking the wizard.
STATUSMicrosoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. This problem has been fixed in Visual FoxPro 5.0 for Windows.
MORE INFORMATION
Steps to Reproduce Behavior1. Open the Tastrade.dbc database in the VFP\Samples\Mainsamp\Data 2. On the File menu, click New Report, and then click the Wizard button.
3. Choose the One-to-Many Report Wizard. 4. Specify Products as the parent table, and include all fields. 5. Specify Order History Line Items as the child table, and include all 6. Click Finish.
7. Click the Preview button. The error should occur. KBCategory: kbtool kbbuglist kbfixlist KBSubcategory: FxtoolWizother VFoxWin buglist3.00 buglist3.00b fixlist5.00 Additional reference words: 3.00 3.00b
|
Last Reviewed: October 23, 1997 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |