Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Primary key
Message
From
09/02/1999 21:08:18
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Primary key
Miscellaneous
Thread ID:
00185785
Message ID:
00185785
Views:
60
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
Next
Reply
Map
View

Click here to load this message in the networking platform