>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é