General information
Category:
Coding, syntax & commands
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()
I also nned to determine,eg. how may Tables, etc
Regards,
Gerard
>>Hi.
>>Im getting the following message usinf XmlToCursor:-
>>XML Parse Error - Invalid at the top level of the document Line 1, Postion 1
>>
>>However, if I open form within Dot Net (Using File ..Open) it opens the file fine and I can drill doen into all the records.
>>
>>I suspect that VFP cannot open all XML files.
>>(This parcticlaur file has 3 different record types)
>>Is there any utility that will copy an XML file to a cursor(s) (Preferably in VFP) or will I need to develop something in Dot Net to access the XML file ?
>>
>>Regards,
>>Gerard
>
>Hi Gerald,
>
>You didn't post any code, the problem can be as simple as missing 512 flag in the third parameter.
>
>Aleksey.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only