Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem reading XML file
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01106024
Message ID:
01106887
Views:
29
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform