Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Primary key
Message
From
10/02/1999 02:02:23
 
 
To
09/02/1999 22:22:00
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00185785
Message ID:
00185848
Views:
16
Thanks
It is the last version of an example !

cResults = DBGETPROP("table1", "Table", "PrimaryKey")
FOR nCount = 1 TO 254
IF !EMPTY(TAG(nCount)) && Checks for tags in the index
IF UPPER(cResults) = UPPER(TAG(nCount))
? KEY(nCount) && Display Primary Key
EXIT && Found !!!!
ENDIF
ELSE
EXIT && Exit the loop when no more tags are found
ENDIF
ENDFOR
Previous
Reply
Map
View

Click here to load this message in the networking platform