how use F2-key and Please see my code and give me idea (merged) [message #162563] |
Sat, 11 March 2006 04:57 |
mfa786
Messages: 210 Registered: February 2006 Location: karachi
|
Senior Member |
|
|
hi master
sir how i use f-key i write code in key-f2 bot system not give result and show error frm-41008
please give me idea how i use Ctrl,Alt,f-Key and other key in my applicatin when use press f2 key then save my data
Thanking you
Aamir
|
|
|
|
|
Please see my code and give me idea [message #162894 is a reply to message #162563] |
Tue, 14 March 2006 00:44 |
mfa786
Messages: 210 Registered: February 2006 Location: karachi
|
Senior Member |
|
|
Hi master;
first i use F2-key event and put only this code
go_block(‘emp’);
Execute_query;
but system give me this error FRM-41008 then i use
on-error event but no result
Sir I use this code on-error event
DECLARE errnum NUMBER := ERROR_CODE;
errtxt VARCHAR2(80) := ERROR_TEXT;
errtyp VARCHAR2(3) := ERROR_TYPE;
BEGIN IF errtyp=’FRM’ and errnum = 41008 THEN
go_block(‘emp’);
Execute_query;
END IF;
END;
sir give me idea
Aamir
|
|
|
|
|