Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can cursors be passed from Form A to B?
Message
De
28/11/2011 05:44:42
Thomas Ganss (En ligne)
Main Trend
Frankfurt, Allemagne
 
 
À
28/11/2011 02:47:10
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MySQL
Application:
Desktop
Divers
Thread ID:
01529824
Message ID:
01529909
Vues:
31
>>>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 ;-)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform