Home » Developer & Programmer » JDeveloper, Java & XML » Creating a new row in a table by taking values from another table as parameters (Jdeveloper)
Creating a new row in a table by taking values from another table as parameters [message #541186] Sun, 29 January 2012 05:39
jdev123
Messages: 1
Registered: January 2012
Junior Member
I need to insert a new row in a table called 'table2' based on the information from another table called 'table1'. There are a few attributes in 'table2' for which the values have to be fetched from "table1". The values in "table1" are shown as a read only table and based on the row selected, a corresponding row has to be inserted in "table2".Table2 appears as a form in a popup. I have binded the attributes in "table1" which i want to show as values for "table2" fields. It shows the values in UI. However when I try to insert it into database it displays an error message saying:"Cannot insert Null for attribute1" even though the value is displayed in the form component. Can anyone suggest me an approach on how should I go about this entire problem?
Previous Topic: make right to left an adf page in jdeveloper
Next Topic: get specs from html
Goto Forum:
  


Current Time: Thu Mar 28 08:42:42 CDT 2024