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