Oracle Forms: TIMER not firing?!?
Posted on 2001-08-16
I'm creating a timer in my PRE-FORM trigger using this code, but it doesn't seem to fire:
TimerID := find_timer ('EditTimer');
if not id_null (TimerID) then
TimerID := create_timer ('EditTimer', 1000, REPEAT); -- Fires every 1 second.
In my form WHEN-TIMER-EXPIRED trigger, I am current trying to display an alert and enable/disable some buttons to test this timer, but nothing happens. I don't think the WHEN-TIMER-EXPIRED trigger is ever run.
I am new to Oracle and may be making a simple mistake--this is my first attempt at a timer. Any suggestions?