Re: [GENERAL] Foreign Key error

2007-06-12 Thread Andrej Ricnik-Bay
On 6/13/07, Jasbinder Singh Bali <[EMAIL PROTECTED]> wrote: Hi, I have a Pl/Perlu function in which I have written an insert statement in tbl_xyz. If there's not foreign key in this table, insert works fine. As soon as i make one of its fields refer to tbl_abc i.e field a in tbl_xyz refering to

[GENERAL] Foreign Key error

2007-06-12 Thread Jasbinder Singh Bali
Hi, I have a Pl/Perlu function in which I have written an insert statement in tbl_xyz. If there's not foreign key in this table, insert works fine. As soon as i make one of its fields refer to tbl_abc i.e field a in tbl_xyz refering to field a in tbl_abc, insert fails. Now the problem is, I can't