Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem reading XML file
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01106024
Message ID:
01106887
Vues:
26
Hi Aleksey.
I changed code , am now getting a Tables.count of 0 ?
To recap, my code is:
adapter = CREATEOBJECT("XMLADAPTER")
x=Adapter.LoadXML("MYFILE.XML",.T.)
y=Adapter.Tables.Count
WAIT WINDOW y

This file reads in fine in Dot Net (Using File..Open) and I can see the data fine.
Do i need anything else in the LoadXML line ?

Regards,

Gerard






>>I have code as: x=Adapter.Tables.Count()
>>
>>but this give an Invalid Subscript refernece
>>Is this the right syntax ?
>>
>
>Count is a property
>x=Adapter.Tables.Count
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform