Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Delete record ?
Message
De
21/04/2004 10:59:32
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Titre:
Divers
Thread ID:
00896769
Message ID:
00896906
Vues:
27
Previously i come across this kind of error too
Ok... support said 3 table
table a
table b
table c

table a(id) got relation to table b(id) on cascade delete and
table b(id) got relation to table c(id) on cascade delete

when i delete table a ...i got that kind of error too

i need to set a relation to b and a relation to c on cascade update and delete

But anywhere the for faster searching ..try to add all the table to a diagram and check all the relationship


>
>The problem is that you have set a relationship in SQL Server "FK_phones_Firms" where Clients.Id is the Primary PK table and Firms.ID is the Foreign key table and checked cascade update and cascade delete related filed....so if u delete client , firm will have no reference
>Hope you understand me ....
>
>Patrick
>

>
>
>Hi Patrik,
>I Set The Relationship "FK_phones_Firms" & there Firms.ID is Primary PK Table and Phones.Firm is the Foreign Key table I have no relationship where Clients is a Primary Key Table
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform