Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CursorToXML() hassle
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00535159
Message ID:
00535197
Vues:
17
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform