Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
A question about reference integrity.
Message
De
28/02/2000 00:48:23
 
 
À
27/02/2000 01:12:38
Marcelo Codino
Mystic & Faith - Sistemas -
Buenos Aires, Argentine
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00338144
Message ID:
00338288
Vues:
11
>Hi all,
>
>I have problems when I try to add a new record.I have two tables both relationed.The message "Insert trigger failed" fires when I´m attempting to add a new record.
>I tried changing the indexes of both tables(Char to Integer) but nothing happened,also I validated it.The Ref.integrity is :
>
>1)Update,2)Delete,3)Insert = 1)Cascade,2)Restrict,3)Restrict for both tables.
>What can I do ? I need this configuration for my Ref.Integrity.

Add the record to the parent table first, and make sure that the foreign key is filled in when adding the record to the child.
Erik Moore
Clientelligence
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform