Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CursorToXML() hassle
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00535159
Message ID:
00535197
Views:
16
You have an old build and the function may not be working correctly. There is a readme in the shipping version that has some changes from the docs that you should look at.


>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???
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform