Creating Timer in Oracle D2k / Forms 6i and Displaying a Clock
2016-12-25 18:13
387 查看
CreatingTimerinOracleD2k/Forms6iandDisplayingaClock
ThisisabouttimerinD2k[align=left]Anexternalclockcanbeconstructed
UsingREPEATTimers
[align=left]Let'screateDECLARE timer_idTIMER; one_secondNUMBER:=1000; BEGIN timer_id:=FIND_TIMER('CLOCK_TIMER'); IFNOTID_NULL(timer_id)THEN DELETE_TIMER(timer_id); ELSE timer_id:=CREATE_TIMER('CLOCK_TIMER',one_second,REPEAT); ENDIF; SELECTTO_CHAR(SYSDATE,'HH24:MI:SS') INTO:toolbar.current_time FROMDUAL; EXCEPTIONWHENOTHERSTHEN MESSAGE(TO_CHAR(SQLCODE)||''||SQLERRM); END;
[align=left]
[align=left][/align]
DECLARE timer_nameVARCHAR2(30); BEGIN timer_name:=GET_APPLICATION_PROPERTY(TIMER_NAME); IFtimer_name='CLOCK_TIMER'THEN SELECTTO_CHAR(SYSDATE,'HH24:MI:SS') INTO:toolbar.current_time FROMDUAL; ENDIF; EXCEPTIONWHENOTHERSTHEN MESSAGE(TO_CHAR(SQLCODE)||''||SQLERRM); END;
SeeAlso:CreateimagepresentationwithTimerinOracleForms,http://www.foxinfotech.in/2014/02/creating-stopping-restarting-deleting-timer-oracleforms.html
Creating,Stoping,Re-StartingtimerinOracleForms
TuneOracleForm'sPLSQLCodewiththehelpoftimer
[align=left]CreatingTimerinOracleD2k/Forms6iandDisplayingaClock
ReviewedbyRishionMar172013
Rating:4[/align]
相关文章推荐
- Creating, Stopping, Re-Starting and Deleting a Timer in Oracle Forms
- Creating Custom Timer Jobs in Sharepoint
- Creating Excel File in Oracle Forms
- Creating Custom Login Screen In Oracle Forms 10g
- Creating List Item in Oracle D2k
- 184 You are in the process of creating a Virtual Private Catalog (VPC) in your Oracle Database 11g d
- Creating Dynamic LOV in Oracle D2k Forms
- Creating a Stored Procedure or Function in an Oracle Database
- Creating Object Library OLB in Oracle D2k Form
- Creating and Using Temporary Tables in Oracle
- Create Timer Example To Show Image Presentation in Oracle Forms
- Creating Custom Classes in LotusScript, part 1
- Creating Forms that are stored in DLLs
- Creating a real singleton class in Delphi 5
- Creating Excel Spreadsheets In Notes
- A Problem in Timer Switching
- Oracle的in和not in (转)
- EXPLANIN PLAN 的输出显示ORACLE如何执行SQL语句
- Creating New Modules In The CSK
- Detecting SQL Injection in Oracle-part one