Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can XmlAdapter take a parameter?
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01273594
Message ID:
01273605
Vues:
15
The XMLAdapter respects SET FILTER for a table/cursor

>I need to create a bunch of XML files from one cursor (based on a values in a field). Therefore, I was wondering if XmlAdapter can take a parameter to convert to XML only certain records. For example:
>
>
>oXml = CREATEOBJECT("XMLAdapter")
>oXml.AddTableSchema("MYCURSOR")
>oXml.ToXML("lcXml")
>
>
>The above code will create an XML string lcXml that will include all records in MYCURSOR. I wonder if I can make the above code only send to lcXml records that match some WHERE clause, like MYFIELD = cMyVar.
>
>Thank you in advance for your help.
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform