Hi Folks,
Using VFP 7 build 9147 and I cant seem to get CursorToXML() to work.
IF llRetVal
LOCAL lnChkSize, lcFileName
lcFileName = [User] + This.cUserID + [Tasks.xml]
lnChkSize = CURSORTOXML( 'MyTempCursorAlias', lcFileName, 3 )
ENDIF
During program execution, my CursorToXML() call returns the error
"Whitespace invalid in this location". If I run the same code from the Command Window I get the error
"Function argument value, type, or count is invalid"I've read the other messages up here about the param order on this command changing from build to build, so I played around with that to no avail. Also tried a suggestion from Cathy P on another thread about setting the flag param to 512 for an external file (and swapped around the param order again) but that didnt get me anywhere either.
So what the heck am I doing wrong???
Roxanne M. Seibert
Independent Consultant, VFP MCP
Code Monkey Like Fritos