Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CursorToXML() hassle
Message
General information
Forum:
Visual FoxPro
Category:
Other
Title:
CursorToXML() hassle
Miscellaneous
Thread ID:
00535159
Message ID:
00535159
Views:
53
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
Next
Reply
Map
View

Click here to load this message in the networking platform