Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CursorAdapter UpdateGram
Message
From
22/11/2002 13:50:20
Joel Leach
Memorial Business Systems, Inc.
Tennessee, United States
 
 
To
22/11/2002 13:09:59
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00723643
Message ID:
00725922
Views:
7
Hi Doug,

Speaking of UpdateGrams... Does VFP8 include the ability to process one through CursorAdapter or XMLAdapter, or does it still have to be done manually?

Thanks.

>Hi Bob.
>
>>I've created a test program to explore the XML capabilites of the CursorAdapater Class but I'm having difficulty getting it automatically produce an UpdateGram as advertised in the documentation.
>
>First, you need to set the KeyFieldList, UpdateNameList, UpdatableFieldList, and Tables properties so VFP can create the updategram properly. Next, UpdateGram doesn't get filled until an update is actually done (eg. TABLEUPDATE() is called). Typically, you'll set the UpdateCmd property to a UDF and pass it This.UpdateGram.
>
>Doug
Joel Leach
Microsoft Certified Professional
Blog: http://www.joelleach.net
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform