Home » Developer & Programmer » Forms » How to definne? - it is first or second start of the trigger "WHEN-VALIDATE-ITEM" (10.1.2.0.2)
How to definne? - it is first or second start of the trigger "WHEN-VALIDATE-ITEM" [message #619523] Wed, 23 July 2014 03:11 Go to next message
alex_shynk
Messages: 22
Registered: July 2014
Junior Member
I chose record in DataBlok use LOV.
For DataBlock was defined trigger WHEN-VALIDATE-ITEM.

Firs time trigger runs when I chose recocord
Second time triger runs when set focus leave DataBlock.

Is it posible to define first or second run of trigger?
Re: How to definne? - it is first or second start of the trigger "WHEN-VALIDATE-ITEM" [message #619524 is a reply to message #619523] Wed, 23 July 2014 03:14 Go to previous messageGo to next message
cookiemonster
Messages: 11208
Registered: September 2008
Location: Rainy Manchester
Senior Member
Have you really got a when-validate-item trigger at block level?
If so why?
That belongs at item level, when-validate-record should be used for block level validation.
Re: How to definne? - it is first or second start of the trigger "WHEN-VALIDATE-ITEM" [message #619526 is a reply to message #619524] Wed, 23 July 2014 03:17 Go to previous messageGo to next message
alex_shynk
Messages: 22
Registered: July 2014
Junior Member
cookiemonster wrote on Wed, 23 July 2014 03:14
Have you really got a when-validate-item trigger at block level?
If so why?
That belongs at item level, when-validate-record should be used for block level validation.


I want to create and start timer when first run of trigger, but not when second start.
Re: How to definne? - it is first or second start of the trigger "WHEN-VALIDATE-ITEM" [message #619529 is a reply to message #619526] Wed, 23 July 2014 03:38 Go to previous messageGo to next message
cookiemonster
Messages: 11208
Registered: September 2008
Location: Rainy Manchester
Senior Member
That doesn't really answer my questions.
Re: How to definne? - it is first or second start of the trigger "WHEN-VALIDATE-ITEM" [message #619534 is a reply to message #619529] Wed, 23 July 2014 04:15 Go to previous message
alex_shynk
Messages: 22
Registered: July 2014
Junior Member
cookiemonster wrote on Wed, 23 July 2014 03:38
That doesn't really answer my questions.

I create WHEN-VALIDATE-ITEM for item of DataBlock, not DataBlock and now i have only one run of trigger.

Thank you.

[Updated on: Wed, 23 July 2014 04:16]

Report message to a moderator

Previous Topic: How to remove status changed from DataBlock
Next Topic: CheckBox
Goto Forum:
  


Current Time: Fri Nov 28 19:31:43 CST 2014

Total time taken to generate the page: 0.12846 seconds