Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can functions return cursors?
Message
From
19/12/2005 03:08:16
 
 
To
16/12/2005 21:06:39
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01078887
Message ID:
01079095
Views:
14
Hi Kerwan,
One of the ways is by using simple object as 'carrier'
(having one array for data and another for structure)
I hv pair of functions to do that, one for source session
which store data into object and one for receiver session
which receives that object and restore cursor.
But this is just for parsing smaller
cursors between datasessions.


VFP promotes XML as main way to transport data.


>xx.prg:
>
>
>create cursor xCursor....
>.
>.
>myfunc(xCursor)
>select rCursor
>browse
>
>function myfunc
>parameters pCursor
>
>create cursor rCursor....
>.
>.
>.
>return rCursor
>
>
>Does the latest version of VFP now allow for parameter and return passing of cursors?
*****************
Srdjan Djordjevic
Limassol, Cyprus

Free Reporting Framework for VFP9 ;
www.Report-Sculptor.Com
Previous
Reply
Map
View

Click here to load this message in the networking platform