Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Views without a unique key field
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00247410
Message ID:
00247500
Views:
21
>Stan,
>
>You can use multiple fields as the key as long as the combination of the fields that make up your key is unique. In the view designer just check both of the fields as keys. If you're creating the view in code you can set the KeyFields property to more than one field by setting it to a comma delimited list of fields.
>

Minor correction: there is not KeyFields proprety for views. The property "KeyField" is tied to the field itself, so if you want multiple key fields, you would have to set it for each one.
Erik Moore
Clientelligence
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform