Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Two repeated records in an updatable view
Message
From
23/01/2001 16:25:18
 
 
To
23/01/2001 16:06:25
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00467569
Message ID:
00467588
Views:
10
>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform