Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can functions return cursors?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01078887
Message ID:
01079010
Vues:
17
Check CursorAdapter class (VFP8+).

You may also define your own class for cursors
DEFINE CLASS MyCursor As ...
	cursorname=""
PROCEDURE Init(...)
* create and populate cursor somewhere here
...
ENDDEFINE
Create an instance of this class inside your function and return it as the result. But it's almost the same as passing back the cursor's name as Sergey suggested.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform