Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with cursorToXml function
Message
De
22/07/2003 17:44:56
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
XML, XSD
Titre:
Problem with cursorToXml function
Divers
Thread ID:
00812575
Message ID:
00812575
Vues:
35
I am new to XML. Having a problem with a simple routine. I am using vfp7, sp1 installed. What is wrong with the following simple code. It executes, but does not populate the target xml file:
*** create cursor
CREATE CURSOR Cars (Make C(15), Model C(15), Year I, BuyDate D)
INSERT INTO Cars (Make, Model, Year, BuyDate) ;
VALUES ("Pontiac", "GTO", 1968, {^1995-07-01})
INSERT INTO Cars (Make, Model, Year, BuyDate) ;
VALUES ("Chevrolet", "Camaro", 1970, {^1992-05-01})

*** use CURSORTOXML() to create an XML doc
SELECT Cars
*browse && cursor does populate
=CURSORTOXML('Cars', "c:\data2\TargetFile.xml") &&, 1, '1' , '' , '',4 + 2)
* args give me an error: "function argument value type or count not valid"
MODI FILE c:\data2\TargetFile.xml && TargetFile.xml does not populate, file empty

Thanx ahead of time, Vince
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform