Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Detecting the name of the alias
Message
From
14/06/2001 13:34:09
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Detecting the name of the alias
Miscellaneous
Thread ID:
00519534
Message ID:
00519534
Views:
55
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
Next
Reply
Map
View

Click here to load this message in the networking platform