How to Create an Updatable Cursor (View) to Update TableLast reviewed: October 18, 1996Article ID: Q130413 |
The information in this article applies to:
SUMMARYThis article explains how an updatable view to update the data in underlying tables can be created. As long as referential integrity rules are not violated, this example will update the underlying tables.
MORE INFORMATION
Step-by-Step Example to Create Updatable View that Updates Underlying Table
Same Example in CodeThis same View can also be created with this code: CREATE SQL View UpdCust AS SELECT cust_id, company ; FROM testdata!customer=DBSETPROP('updcust.cust_id','Field','KeyField',.T.) =DBSETPROP('updcust.company', 'Field','UpDatable',.T.) =DBSETPROP('updcust.cust_id', 'Field','UpDatable',.F.) =DBSETPROP('updcust','View','WhereType',1) =DBSETPROP('updcust','View','SendUpdates',.T.)
|
Additional reference words: 5.00 3.00 VFoxWin Cursor
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |