Thursday, October 1, 2015

Oracle create timer

dear readers
here how to create a timer using Oracle forms

DECLARE
  time_passed NUMBER := 400;
v_timer TIMER;
BEGIN
v_timer := CREATE_TIMER('item_timer', time_passed);
END;

first u have to define the interval of time in this code for example 400 milliseconds
second=1000 milliseconds

then u have to define the timer variable in declare section
then in begin u need to create the timer with the interval and assigned to the variable of timer

best wishes

Yasser

No comments:

Post a Comment