Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can cursors be passed from Form A to B?
Message
From
28/11/2011 05:44:42
 
 
To
28/11/2011 02:47:10
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MySQL
Application:
Desktop
Miscellaneous
Thread ID:
01529824
Message ID:
01529909
Views:
32
>>>But remember the dangling datasession
>>
>>That is the reason I prefer ref arrays as parameters to a function for such tasks:
>>data out, fieldlist [in/]out, parameter array to switch on memo, define alias and so on.
>>And single operations like Select SQL or copy to depending on memo handling if done without "in" fieldlist.
>
>Ideally, he should be passing an array of pk's instead of records. The calling form can easily handle that

Yupp, there are some UC where that would probably be best -
but there are other scenarios (esp. with slow wire to the backend)
which would put moving PK + data payload over into the other form
into the realm caching ;-)
Previous
Reply
Map
View

Click here to load this message in the networking platform