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:
01106730
Views:
24
Hi Aleskey.
I have code as: x=Adapter.Tables.Count()

but this give an Invalid Subscript refernece
Is this the right syntax ?

Regards,

Gerard


>Hi Aleksey... I could have sworn I attched following code which is causing the error.. the Tables(1).ToCursor
>>
>>adapter = CREATEOBJECT("XMLADAPTER")
>>x=Adapter.LoadXML("RAAP.XML",.T.)
>>Adapter.Tables(1).ToCursor()
>>
>
>Hi Gerald,
>
>I was replying to your first post about XMLTOCURSOR.
>
>>I also nned to determine,eg. how may Tables, etc
>>
>
>Adapter.Tables is a collection object and every collection object has Count property.
>
>Aleksey.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform