Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CursorToXML() hassle
Message
From
25/07/2001 13:18:49
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00535159
Message ID:
00535171
Views:
26
>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"

Rox-

>"Whitespace invalid in this location"

Hm. That's the kind of error I've gotten when I have badly formed XML. There's no help entry for that error, either, which doubly makes me think it's an XML problem.

Warning! WAG dead a head.

I admit I'm not sure how CursorToXML handles special characters...is there any chance some of your data has <,>,&,... (I forget the other two) in it that might be causing the problem? (I truly hope that CursorToXML doesn't have a problem with this.)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform