When mouse Double click (enter Query)(Execute Query) [message #404332] |
Thu, 21 May 2009 07:02 |
shahzaib_4vip@hotmail.com
Messages: 410 Registered: December 2008 Location: karachi
|
Senior Member |
|
|
Dear all
I have 2 Block one have no of record display = 1 (Block1) and other block contain no of record display = 10 (Block10) which column is only EMP_NO Both block table is EMP
Both have same Canvas
I write trigger when new form instance
Go_block('Block10')
Execute_query;
Now i need when i double click the emp_no its show his all record in block1 for example i click on 7788 its show in block1
Emp_no 7788
Ename Scott
Job Analysis
and as on
well i done this with this trigger
When_mouse_double_click
SELECT empno,
ename,
job,
mgr,
hiredate,
sal,
comm deptno
INTO :block1.empno,:block1.ename,:block1.job,:block1.mgr,
:block1.hiredate,:block1.sal,:block1.comm,:block1.deptno
FROM emp
WHERE empno = :block10.empno
This query work fine but when i edit block1 ename and save this record then this record become dublicate i just want to update this record
|
|
|
|
|
|
|