Subscribe:

Ads 468x60px

Labels

Thursday, July 18, 2019

Do_Key Built in Oracle


DO_KEY Built in Oracle






Description

Executes the key trigger that corresponds to the specified built-in subprogram. If no such key trigger exists, then the specified subprogram executes. This behavior is analogous to pressing the corresponding function key.

Syntax





PROCEDURE DO_KEY

(built_in_subprogram_name VARCHAR2);
Built-in Type restricted procedure
Enter Query Mode yes

Parameters

built_in_subprogram_name 
Specifies the name of a valid built-in subprogram.
Built-inKey TriggerAssociated Function Key
CLEAR_BLOCKKey-CLRBLK[Clear Block] 
CLEAR_FORMKey-CLRFRM[Clear Form] 
CLEAR_RECORDKey-CLRREC[Clear Record] 
COMMIT_FORMKey-COMMIT[Commit] 
COUNT_QUERYKey-CQUERY[Count Query Hits]
CREATE_RECORDKey-CREREC[Insert Record] 
DELETE_RECORDKey-DELREC[Delete Record] 
DOWNKey-DOWN[Down] 
DUPLICATE_ITEMKey-DUP-ITEM[Duplicate Item] 
DUPLICATE_RECORDKey-DUPREC[Duplicate Record] 
EDIT_TEXTITEMKey-EDIT[Edit] 
ENTERKey-ENTER[Enter]
ENTER_QUERYKey-ENTQRY[Enter Query] 
EXECUTE_QUERYKey-EXEQRY[Execute Query] 
EXIT_FORMKey-EXIT[Exit/Cancel] 
HELPKey-HELP[Help] 
LIST_VALUESKey-LISTVAL[List] 
LOCK_RECORDKey-UPDREC[Lock Record] 
NEXT_BLOCKKey-NXTBLK[Next Block]
NEXT_ITEMKey-NEXT-ITEM[Next Item] 
NEXT_KEYKey-NXTKEY[Next Primary Key Fld] 
NEXT_RECORDKey-NXTREC[Next Record] 
NEXT_SETKey-NXTSET[Next Set of Records] 
PREVIOUS_BLOCKKey-PRVBLK[Previous Block] 
PREVIOUS_ITEMKey-PREV-ITEM[Previous Item] 
PREVIOUS_RECORDKey-PRVREC[Previous Record]
PRINTKey-PRINT[Print] 
SCROLL_DOWNKey-SCRDOWN[Scroll Down] 
SCROLL_UPKey-SCRUP[Scroll Up] 
UPKey-UP[Up] 

DO_KEY Restrictions

  • DO_KEY accepts built-in names only, not key names: DO_KEY(ENTER_QUERY).

    To accept a specific key name, use the EXECUTE_TRIGGER built-in: EXECUTE_TRIGGER('KEY_F11').

DO_KEY Example

/*
   
** Built-in: DO_KEY 
** Example: Simulate pressing the [Execute Query] key. 
*/ 
BEGIN 
   DO_KEY('Execute_Query'); 
END;






sources : http://learnoraclelearn.blogspot.com/2012/06/dokey.html

0 comments:

Post a Comment