Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CursorToXML support for multiple Cursors into a single X
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00507156
Message ID:
00549423
Vues:
21
>You can have code to handle CursortoXML, XMLtoCursor and XMLUpdategram.

Have you worked with XMLUpdateGram()? I am trying to use it to pass data between VFP servers, but it looks like the function doesn't make "cursorizable" XML that I can merge into the back-end. Is there more documentation somewhere on this?
Clear
Close Tables all

USE c:\wintemp\zip IN 0 SHARED
Select zip
Set Multilocks on
? CursorSetProp('buffering',5)
? CursorSetProp("KeyFieldList","iid")

CursorToXML("zip", "c:\wintemp\zip.xml", 1, 512, 0, "zip.xsd")

Replace all state with "zz" for Recno() <= 15

cOutGram = XMLUpdategram("zip",2+4+8+32)
StrToFile(cOutGram,"c:\wintemp\zipgram.xml",0)


? Chr(13) + Chr(10)
? XMLToCursor("c:\wintemp\zipgram.xml","incursor",4)
Thx.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform