Home » Developer & Programmer » Forms » Delay a part of program
Delay a part of program [message #82092] Tue, 22 April 2003 06:44 Go to next message
Viviana
Messages: 5
Registered: February 2003
Junior Member
i want to make a delay in my program for some milliseconds

ex.
LOOP
insert into....;
:text_item:='hello';
-->>> WAIT FOR 100 MILLISECONDS
continue the program
END LOOP;

i try to use timer but it isn't the right way,because, when the timer is expired while the system is compiling a loop, the trigger WHEN-TIMER-EXPIRED doesn't fire. How can i do?!! please help me,it's vey important!
Re: Delay a part of program [message #82112 is a reply to message #82092] Wed, 23 April 2003 09:57 Go to previous message
Frank
Messages: 7901
Registered: March 2000
Senior Member
DBMS_LOCK.SLEEP has a granularity of a second.
You could take a look at this
(search in page for "Sleeping for Less Than a Second"

hth
Frank
Previous Topic: AutoNumber
Next Topic: professionals
Goto Forum:
  


Current Time: Sat Apr 20 09:30:35 CDT 2024