Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Insert trigger fail
Message
 
À
08/03/1999 18:05:27
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:
00195387
Message ID:
00195406
Vues:
20
>Hi Jim,
>
>I have problems with two tables in my client database.Both tables have a simpleOne to Many relationship.When the user attempts to insert an entry in table2, it shows an error that say "Insert trigger fail".Then when I going to look for into both tables, I see that in the ID field appears the name of the Client in the primary table.What´s wrong with this ?.I attempted recreating all the referential integrity one more time but the problem persists.
>The insertion rule is restriction.
>
>Thanks for your help

Marcelo,

If you have the insert rule for the child table set to restrict then you must have a matching parent record and the child's foreign key must be filled in before you can save the child record.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform