Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Xml and RECALL
Message
General information
Forum:
Visual FoxPro
Category:
XML, XSD
Title:
Xml and RECALL
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01202171
Message ID:
01202171
Views:
57
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
Next
Reply
Map
View

Click here to load this message in the networking platform