Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Help with cursortoxml
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00835135
Message ID:
00835143
Views:
11
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform