Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Detecting the name of the alias
Message
De
14/06/2001 13:34:09
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Detecting the name of the alias
Divers
Thread ID:
00519534
Message ID:
00519534
Vues:
56
I'm looking for the easiest way to detect the name the alias of all my cursor in the data environment.

I have something like this to scroll thru all the entries:
IF AMEMBERS(laCursor,ThisForm.DataEnvironment,2)>0
   FOR lnCompteur=1 TO ALEN(laCursor)
      lcExec='ThisForm.DataEnvironment.'+laCursor[lnCompteur]
      =AMEMBERS(laCursor2,&lcExec)
      IF laCursor2[1]='ALIAS'
         * We have an alias
         * We can add the code here to do some process
      ENDIF
   NEXT
ENDIF
So, basically, is that the proper approach? Also, once I am on an alias, what is the easiest way to detect the alias name?
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform