Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
XMLADAPTER Class.ToCursor method
Message
 
To
21/03/2006 04:57:23
Neil Mc Donald
Cencom Systems P/L
The Sun, Australia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01106122
Message ID:
01106208
Views:
35
Hi Neil, thanks for your reply.

I was lao getting an error when I tried to access the file
index or expression does not match member of the collection

My Code Is:
adapter = CREATEOBJECT("XMLADAPTER")
x=Adapter.LoadXML("RAAP.XML",.T.)
Adapter.Tables(1).ToCursor()


The Adapter.tables gives the error, even though I can see the file in Dot Not.. seems to have 3 differnt files .

How do I know how many files.. Is there a Tables(Count) or similar ?

Regards,

gerard



>Hi,
>XMLTable.ToCursor( [ lAppend [, cAlias [, nCodePage ]]] )
>
>Use an alias to access the cursor, otherwise it ends up with the same name as the input file.
>
>>Hi.
>>adapter.Tables(1).ToCursor()
>>
>>Anybody know waht the ToCursor method does.
>>How do you access the cursor that's created ?
>>
>>Regards,
>>Gerard
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform