Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Trigger fails
Message
From
26/02/2000 15:41:54
Marcelo Codino
Mystic & Faith - Sistemas -
Buenos Aires, Argentina
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Trigger fails
Miscellaneous
Thread ID:
00338066
Message ID:
00338066
Views:
46
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´ve put the following code in the Init() procedure of my form.

Procedure : Init

prMaintForm::Init()

this.aErrorMsg[DELETETRIG] = DELDEUDOR_LOC
this.aErrorMsg[INSERTTRIG] = INSDOCUMENTS_LOC

I´ve tried changing the indexes of both tables(Char to Integer) but nothing happened.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.

Thanks for your response.
Thanks in advance
Next
Reply
Map
View

Click here to load this message in the networking platform