Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Primary key
Message
From
09/02/1999 22:22:00
 
 
To
09/02/1999 21:08:18
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00185785
Message ID:
00185806
Views:
23
>Hi
>
>How displays the name of the primary key field 'Cod' for the table1 table if the name of an index is not equal to the name of a field
>
>For example:
>Table1.dbf
>Name Cod
>
>Index
>Name Type Expression
>IDCod Primary Cod
>
>
>cResults = DBGETPROP("table1", "Table", "PrimaryKey")
>=MESSAGEBOX(cResults) && Displays 'IDCod'
>
>
>Thanks

You can find the tag name with the method you used above, and then get the expression for that tag with SYS(14).
Erik Moore
Clientelligence
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform