Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ORA-02291on INSERT but parent table data exists

Status
Not open for further replies.

frazSS

Programmer
May 29, 2008
3
US
First - Sorry if I'm putting this thread in a forum where it would best suit somewhere else.

I have 2 months experience now doing web-development using PowerBuilder, the EAF framework, and JSP. I have a datawindow that performs an insert on data inputted by the user. The insert fails due to the Oracle error in the thread subject. I have an employee table with employee_id as the PK. I have a table called EmployeeDiscipline listing items by employee whose PK is also employee_id.
I understand the error, but the employee_id exists in the employee table before inserting into the Discipline table so the FK exists. Anyone have any suggestions?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top