Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
A question about reference integrity.
Message
From
28/02/2000 00:48:23
 
 
To
27/02/2000 01:12:38
Marcelo Codino
Mystic & Faith - Sistemas -
Buenos Aires, Argentina
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00338144
Message ID:
00338288
Views:
12
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform