Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Xml and RECALL
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
XML, XSD
Titre:
Xml and RECALL
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01202171
Message ID:
01202171
Vues:
55
The following code creates a temporary table, adds and deletes a record, then RECALLs it with buffering etc on for XMLUpdateGrams per documentation.
SET MULTILOCKS ON
CREATE CURSOR Test (Field1 C(20), KeyFld I AUTOINC)
INSERT INTO Test (Field1) VALUES ("123456789")
GO TOP IN Test 
DELETE IN Test 
CURSORSETPROP("Buffering", 5)
CURSORSETPROP("keyfieldlist",'KeyFld')
RECALL IN Test 
STRTOFILE(XMLUPDATEGRAM(),'xmlupdate.txt')
MODIFY FILE xmlupdate.txt
I wouldn't mind detecting the RECALL, but XMLUpdateGram cannot do this:
<?xml version = "1.0" encoding="Windows-1252" standalone="yes"?>
<root xmlns:updg="urn:schemas-microsoft-com:xml-updategram">
	<updg:sync/>
</root>
Any workarounds, or just re-code without RECALLs?
John Burton
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform