The information in this article applies to:
SYMPTOMSExecuting the command TABLEUPDATE(.T.)on a view, with the SendUpdates property set to False, returns True (.T.). CAUSEThe TableUpdate() command should return False if the update fails. In effect, there must be an attempt to update at least one record that fails. When the view property SendUpdates is set to False, TableUpdate never tries to update any records, hence, the TableUpdate() returns True. RESOLUTION
Check the SendUpdates property of the view using the DBGetProp() function,
and apply the TableUpdate() function only in cases where the SendUpdates
property is set to True (.T.).
STATUSThis behavior is by design. MORE INFORMATIONSteps to Reproduce BehaviorPlace the following code in a program file and run the program in a new directory:
Additional query words: kbVFp600 kbDatabase KbDBFDBC
Keywords : |
Last Reviewed: December 10, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |