PRB: Wizstyle Add Button Does Not Add Child RecordLast reviewed: May 22, 1997Article ID: Q168898 |
The information in this article applies to:
SYMPTOMSThe Add button, in all of the navigation classes in the WIZSTYLE class library (Wizstyle.vcx), does not work correctly when adding a record to a child table. This problem occurs when the field linking the Parent to the Child table is of type Numeric.
RESOLUTIONTo workaround this issue, create a character version of the fields in each table. The character fields can then be used to set the relation between the two tables.
STATUSMicrosoft is researching this behavior and will post new information here in the Microsoft Knowledge Base as it becomes available.
MORE INFORMATIONThe WIZSTYLE class library (Wizstyle.vcx) contains many class definitions. There are three class definitions that are used to navigate in tables: txtbtns, picbtns, and verttxtbtns. Each of these classes have an Add button. In a one-to-many table configuration if the field linking the Parent and Child tables is of type numeric, then the Add button, for any of the navigation classes, does not work correctly when adding a record to the child table. The following steps illustrate the behavior of using the txtbtns navigation buttons class on a One-to-Many form.
Steps to Reproduce BehaviorThere are two parts in setting up this example: Part 1 is to create the two tables used in the One-to-Many wizard. Part 2 is to create the One-to-Many form using the wizard. Part 1 - Create the two tables used in the One-to-Many wizard:
|
Additional query words: disabled
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |