form trigger regarding mouse click. [message #598730] |
Thu, 17 October 2013 03:08 |
|
nkumar0130
Messages: 55 Registered: August 2013 Location: Bangalore
|
Member |
|
|
Hi,
Is there anyway in form that, if i click my mouse in any column of a rows then it will open another window which contain detail information about that column of a row.
For example:-
i am having two window emp and emp details.
In emp there is empno,name,position.
so when i click on empno or name or postion it will open emp detail window which contain the detail information about that employee.
Thanks
|
|
|
|
|
|
|
|
Re: form trigger regarding mouse click. [message #598762 is a reply to message #598746] |
Thu, 17 October 2013 09:08 |
|
mughals_king
Messages: 392 Registered: January 2012 Location: pakistan
|
Senior Member |
|
|
Dear example FMB doing same thing instead of button you just fired TRIGGER WHEN-MOUSE-CLICK
just right click on empno->Smart Trigger->other-select when-mouse-click
ok tell me one thing why you wanna open 2nd windows wanted to enter data or just wanna see details have you created relation between two tables or you don not need any relation between table. ok wait sometime i am sending you fmb just check is this your requirement.
before run this FMB create tables and insert data.
create table emp(empno varchar2(8) primary key,name varchar2(35),position varchar2(15));
create table emp_detail(empno varchar2(8),address varchar2(200),salary number(10,2),constraint emp_fk foreign key
(empno) references emp(empno));
insert into emp values('1001','Nitish','Manager');
insert into emp_detail values('1001','India',10000);
Regard
Mughal
[Updated on: Thu, 17 October 2013 09:46] Report message to a moderator
|
|
|
|
|
|
|
|
Re: form trigger regarding mouse click. [message #598865 is a reply to message #598849] |
Fri, 18 October 2013 09:07 |
|
mughals_king
Messages: 392 Registered: January 2012 Location: pakistan
|
Senior Member |
|
|
Frnd its working fine here with me the 2nd window is appearing front of the first anyway do like this.
HIDE_WINDOW('WINDOW1');
SET_WINDOW_PROPERTY('WINDOW1', visible, property_false);
SHOW_WINDOW('WINDOW2');
go_block('emp_detail');
go_item('item_name');
or upload your fmb i shall check.
Hope this will help you
Regard
Mansoor
[Updated on: Fri, 18 October 2013 09:17] Report message to a moderator
|
|
|
|
|
|
|