Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Two repeated records in an updatable view
Message
De
23/01/2001 16:25:18
 
 
À
23/01/2001 16:06:25
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00467569
Message ID:
00467588
Vues:
9
>When using a view, if two records have the same values in all their key fields, and I change the value of any field in one of the records, the other record is changed and gets the same value in that field. Even further: if I try to delete one of the records, it results in both being deleted.
>
>Is there any way to have two repeated records in an updatable view and manage them individually?
>
>TIA.

You must have at least one unique field as your primary key, or a combination of fields marked as the primary key in your view that would amount to a unique value.

Example:

CD Name
Artist
Track
Title

Alone, these fields may not be unique, but together they would create a unique value.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform