PRB: Send SQL Updates is Checked but Data Not SavedLast reviewed: February 28, 1997Article ID: Q164387 |
3.00 3.00b 5.00
WINDOWS
kbtool kbprb
The information in this article applies to:
SYMPTOMSWhen adding a record to a remote view, sometimes the record does not appear in the table after updating. Or the following error may occur when trying to close the view:
Table buffer for alias <view name> contains uncommitted changesEven though the "Send SQL Updates" box is checked in the Update Criteria tab of the view, make sure that the Updateable (marked with a pencil symbol) column for the primary key is checked also.
STATUSThis behavior is by design.
MORE INFORMATIONDepending on the rules that are applied to a table, many times a rule requires that the primary key field of a new record must have a value placed into it before the record is saved. It is often assumed that while in the Update Criteria tab of the View Designer, selecting a primary key field in the Field Name list box and then clicking the Update All button updates the primary key and all other fields in the list box. This is not entirely true; while all of the other fields have the Updatable column (marked with the pencil symbol) checked, the Updateable column of the primary key is not checked. It has to be checked manually in order for the primary field to be updated. If the primary key field is not checked, this causes the record not to be added to the table.
Steps to Reproduce Behavior
|
KBCategory: kbtool kbprb
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |