Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CursorToXML() hassle
Message
De
25/07/2001 13:18:49
Nancy Folsom
Pixel Dust Industries
Washington, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00535159
Message ID:
00535171
Vues:
25
>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.)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform