This discussion is archived
1 2 Previous Next 28 Replies Latest reply: Jan 15, 2013 9:29 AM by 982158 RSS

FRM-40508 : ORACLE error: unable to INSERT record.

982158 Newbie
Currently Being Moderated
Hi,
I have an interface composed of five elements:
1.display_item (primary key)
*2-list_item (foreign key) / / dynamic list* this is the cause of the error
3-lis_item (foreign key) / / dynamic list
4-text_item
5-button (insert commit)


when I click the button, an error is displayed:
FRM-40508: ORACLE error: unable to INSERT record.
in detail: ora-02291 integrity constraint Violated - parent key not found

Note:
-the elements of two lists already exist in the parent table!!
-I use a block based.
-Button code:
commit_form();

Edited by: 979155 on 14 janv. 2013 02:17
1 2 Previous Next

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points