Home » Developer & Programmer » Forms » When_validate_trigger
When_validate_trigger [message #197007] Mon, 09 October 2006 09:19 Go to next message
srinivas.k2005
Messages: 404
Registered: August 2006
Senior Member
Hi all,

How to use forcibly restricted procedures like
next_item,go_item..etc
in when _validate_trigger.
In forms10g.

Thanks in advance
Srinivas
Re: When_validate_trigger [message #197058 is a reply to message #197007] Mon, 09 October 2006 15:56 Go to previous messageGo to next message
Littlefoot
Messages: 21823
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
No way. Restricted procedures can not be called from the WHEN-VALIDATE triggers. Try to move navigation to other triggers (such as KEY-NEXT-ITEM or similar) which allow use of restricted procedures.
Re: When_validate_trigger [message #197085 is a reply to message #197058] Mon, 09 October 2006 22:47 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
If you don't / can't use Key-Next-Item etc then create a timer and do your 'go_item' from within it.

Search this forum for 'timer'.

David
Re: When_validate_trigger [message #197228 is a reply to message #197007] Tue, 10 October 2006 11:00 Go to previous messageGo to next message
srinivas.k2005
Messages: 404
Registered: August 2006
Senior Member
Thanks a lot,
I used timer to use restricted procedures in When_validate_trigger
Re: When_validate_trigger [message #197910 is a reply to message #197007] Fri, 13 October 2006 04:39 Go to previous message
samidc
Messages: 35
Registered: February 2006
Member
Yes you can use Restricted Procedures.

Where u want to use Restricvted procedure , there create first one Timer of milliseconds.

Then in When-Timer_expire write down ur Restricted Procedure.
It will definitely work.

Regards,
SaMiR.
Previous Topic: Master Detail Problem
Next Topic: cancel query.............
Goto Forum:
  


Current Time: Sat Dec 07 03:05:48 CST 2024