Home » Developer & Programmer » Forms » How to check if timer exist
How to check if timer exist [message #208983] Tue, 12 December 2006 19:14 Go to next message
wency
Messages: 450
Registered: April 2006
Location: Philippines
Senior Member

I want to check if a timer already exist and use it as condition to create timer. How should I do this?
Re: How to check if timer exist [message #208984 is a reply to message #208983] Tue, 12 December 2006 19:17 Go to previous messageGo to next message
wency
Messages: 450
Registered: April 2006
Location: Philippines
Senior Member

Don't bother, I got it. Razz
Re: How to check if timer exist [message #209204 is a reply to message #208984] Wed, 13 December 2006 14:45 Go to previous messageGo to next message
Littlefoot
Messages: 21823
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
It would be nice if you share it with the rest of us.
Re: How to check if timer exist [message #209217 is a reply to message #208983] Wed, 13 December 2006 18:44 Go to previous message
wency
Messages: 450
Registered: April 2006
Location: Philippines
Senior Member

Just like F1 says.
v_timer := Find_Timer('DUE_DT_TIMER');	
	     IF Id_Null(v_timer) THEN    
		v_timer := create_timer('DUE_DT_TIMER',1,NO_REPEAT); 
	     END IF;
Previous Topic: Tabular Form(Urgent!!!)
Next Topic: Centralised Client-Server
Goto Forum:
  


Current Time: Wed Feb 12 22:09:36 CST 2025