Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
XMLTOCURSOR parser error
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
XMLTOCURSOR parser error
Miscellaneous
Thread ID:
00657038
Message ID:
00657038
Views:
83
Hello everyone!!!!

I am working on an app that has a routine that calls a search form.
the form has a grid that uses a controlsource, Departments. We have decide to make this departments table an XML File. It works fine as long as I am in development. When I run the app, it tells me:
XML Parse Error:  The System cannot find the path specified.  Line (0), Position (0). (null)
I have included the xml file in the project, in the directory of the calling program, on the network where the data resides and still get nothing.

this is my code
   ** gcRootPath = 'RootDirectoryOnTheNetwork\'
   XMLTOCURSOR('&gcRootPath.myDeptxml.xml','Departments',512) && this line generates the error
   INDEX ON ALLTRIM(UPPER(cDeptName)) TAG cDeptname	
What am I not doing?
Thanks in advance
What is Wisdom?
Wisdom - The ability to respond to any situation according to God's Plan.
Therefore:
USE Wisdom IN Everything ORDER priority AS Knowledge
SELECT Knowledge
BROWSE FOR Understanding WHERE Wisdom=Guide

LeRoy Jackson
Next
Reply
Map
View

Click here to load this message in the networking platform