Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Warning Reports
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00343130
Message ID:
00343150
Views:
24
>Hi, all
>
>I have a view with a composite key, when i do tableupdate to update de database visual fox tell me,
>
>WARNING: The key field defined by the key field property for 'myTable' is not unique.
>
>I defined that key field is not unique, what's the way for VFP don't show this warning.
>
>
>Thank's in Advance
>
>Joao Batista

Joao,

A key field must be unique. This is the only way for VFP to know which record must be updated. A solution to your problem would be to add a new field to your table, with truly unique values, and use this field as the primary key.

José
Previous
Reply
Map
View

Click here to load this message in the networking platform