Terry,
Assuming what you entered here is what you typed in to execute, you have the first 2 parameters switched around. The first parameter is your table alias or work area and the second parameter is your file name.
HTH
>I'm having a problem using xmltocursor so I used cursortoxml to convert a dbf to xml so I could understand what structure it was expecting.
>
>My output from this was xmltest.xml.
>
>Then I executed:
>lnrecs=xmltocursor("xmltest.xml","mycusts",512)
>I get error: XML parse error: syntax error: node "VFPData" XML =
...
>
>What am I missing?
Travis Vandersypen