Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
XMLUpdateGram() and memo fields
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
XML, XSD
Divers
Thread ID:
00688966
Message ID:
00690602
Vues:
19
Thanks, Jim! Works perfectly. And your answer came just in time. It seems that I will have a need for xmlupdategram() right now.

>I haven't a clue why memo fields are left out unless you set Keyfieldlist...

Doesn't make any real sense to me, too. I tested xmlupdategram() with a cursor that was created this way: SQL-PT resultset (key field list set) -> cursortoxml() -> xmltocursor(). Since the schema included in the XML contained the information that the ID field was the primary key, xmlupdategram() automatically put the ID field in it's generated XML, even when I didn't change the content of it. So in some way, VFP already knew the key field, even if it wasn't returned by cursorgetprop(). Ok - I know how to get it to work and that's the most important thing :)

Thanks again,
Armin

>In order for memo fields to be included, you need to set the KeyFieldList property of the cursor using Cursorsetprop(). This has another effect - the before and after list will only include changed fields, not all fields, once you set KeyFieldList.
>
>I haven't a clue why memo fields are left out unless you set Keyfieldlist...

Armin Neudert
Regional Director (Stuttgart) of German FoxPro User Group dFPUG

MCP for Visual FoxPro

Expert/Editor of the VFP section in the German Codezone community portal
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform