Insert and update [message #650698] |
Fri, 29 April 2016 14:51 |
|
shumail
Messages: 149 Registered: September 2012 Location: Canada
|
Senior Member |
|
|
Hi All
I have a master details form and I would like to use this form for inserting and updating , I try to cover my scenario by using scot and tiger schema.
Suppose in Master block , I have deptno text item and 1 push button that is called get_data .
When I click push button (get_data) in master block then system will post some data in details block like empno, job and comm+sal (non database item) and when I commit it then it save record.
Now What I want is that if user enter value in master block , item name =deptno=10 then system first check this value already exist in Master table dept and if exist then query that specific deptno and populate master and details blocks and in case if value not exist then allow for insertion otherwise updation. Thanks
|
|
|
|
|
|