Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What cursors are in a DataSession
Message
 
À
14/10/1999 11:19:59
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00276307
Message ID:
00276356
Vues:
20
>The DE has Cursor objects. So any table added to the DE at design time, or opened by adding the object to the DE at runtime can be accessed as objects, but only s far as the exposed properties of those objects goes.
>
>Following is some code that enumerates the cursors in the DE:
>
>=AMEMBERS(laList, THISFORM.DATAENVIRONMENT, 2)
>IF ALEN( laList,1 ) > 0
> FOR i = 1 TO ALEN(laList,1 )
> loObj = EVAL("ThisForm.DataEnvironment."+laList[i])
>* Do something here with your object reference
> ENDFOR
>ENDIF

Thanks Erik,

I didn't realize I can add my table to the DE at run-time. That solves the problem.

BTW, are the cursors open in a DataSession objects?
Roi
'MCP' Visual FoxPro

In Rome, there was a poem.
About a dog, who found two bone.
He lick the one, he lick the other.
He went pyscho, he drop dead!
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform