here is my version():
Visual FoxPro 07.00.0000.9147 for Windows
use parts
?CursorToXML(0, 2,"test.xml")
?CursorToXML(0,"test.xml",2)
?CursorToXML(0,"test.xml")
All 3 come up with the same error message
Peter
>This is a bit confusing. I got the VFP Beta 1 version which has different parameter order as:
>
>CursorToXML(nWorkArea|cTableAlias,
[nOutputFormat, cOutputFile ,...]])
>where ... are the rest of the parameters.
>
>>CursorToXML(nWorkArea | cTableAlias,
cOutput [, nOutputFormat [, cSchemaName [, cSchemaLocation [, cNameSpace [, nFlags]]]])
>
>
>You may have a different beta version. I can generate the XML output without problems however, I can't open the XML file from my IE.
Peter Cortiel