Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Help with cursortoxml
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00835135
Message ID:
00835143
Vues:
12
Sorry Sergey, I did not explain my problem properly:
I am trying this directly from the command box. So it is realy "allo" that allows me to create the variable allo (I can see it there).
The problem doesn't seem to be the creation of the variable. It is a problem to get a cursor back from there. It gives me a parser error.

Basically, all I am trying to do is to save a cursor into a variable, return this variable to another function somewhere in my code and then, from this variable, retrienve my cursor.

cursor_in --> cursortoxml into variable allo
variable allo ---> xmltocursor into cursor_out

abracadabra


>You should pass the variable as the first parameter w/o quotes.
XMLTOCURSOR(allo,"out_cursor")
>
>>I am trying to put pass a small cursor through a variable. To do so, I am trying to do a cursortoxml of the cursor into a variable and a xmltocursor from this variable to retrieve my cursor.
>>It doesn't work:
>>
>>CURSORTOXML("in_cursor","allo",1,0,0,"1","","")
>>XMLTOCURSOR("allo","out_cursor",0)
>>
>>The cursor only contains characters and numeric fields.
>>
>>Any suggestion
>>Thanks
>>ERic
Eric Crespin
Consultant
PC PLUS Software Inc.
www.pcplus.ca
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform