Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
XMLUPDATEGRAM( ) Function Remarks
Message
From
23/09/2002 12:52:14
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Visual FoxPro Product Documentation
Title:
XMLUPDATEGRAM( ) Function Remarks
Miscellaneous
Thread ID:
00703444
Message ID:
00703444
Views:
49
From VFP7 help, XMLUPDATEGRAM( ) Function, Remarks:

You should specify the key field list by issuing CursorSetProp( ) with a KeyFieldList clause against existing cursors and tables before issuing XMLUpdateGram( ). If you specify no key fields, both before and after representations will contain all the fields in the table. If you specify one or more key fields, only those fields will appear in the 'before' section. Use the CursorSetProp( ) function to avoid possible errors generated by XMLUpdateGram( ) on tables containing Memo or General fields.


Even if the KeyFieldList is set to the appropriate key field(s), the modified fields still appear in the 'before' section of the updategram, not just those specified in the KeyFieldList.

Since the WhereType property can only be set for view cursors, perhaps the line above should be updated to read:

If you specify one or more key fields, only the key and modified fields will appear in the 'before' section when using cursors not based on views.


Change for a nickel anyone?

- Brian


VFP6 SP5, VFP8 SP1, VFP 9 SP 1 and Win XP SP 3 (unless otherwise specified)


www.wulfsden.com
Next
Reply
Map
View

Click here to load this message in the networking platform