Home » Developer & Programmer » Forms » Regarding Proper Trigger
Regarding Proper Trigger [message #148599] Fri, 25 November 2005 04:40 Go to next message
query_sahu
Messages: 1
Registered: November 2005
Junior Member
Hi

I ve a canvas in which items r displayed dynamic(so there is no fixed navigation...)
& some items r text items & some items r LOV's.The problem is with LOV items.For Lov's
proper validation is done whether the entered value is peoper or nt.Now on this another
button is there which when pressed by filling any of the text item or LOV.If only text item(s)
selected & pressed then the button does it proper work(accorind to the functionality written
in when-button-presses trigger).Probelm comes when the user enter values in LOV items & without
tabbing out if he/she clicks the button then it doesnt work as the when-validation-item trigger\
doesnt get fired.I wrote post-text-item,post-change triggers but when i navigate to any other
text filed then only they get fired but if i directly press button without tabbing out then
it doesnt work.So can any1 can help me on this.

Thanks in Advance
Sahu
Re: Regarding Proper Trigger [message #148656 is a reply to message #148599] Fri, 25 November 2005 19:53 Go to previous messageGo to next message
ashok_it
Messages: 40
Registered: November 2005
Location: Singapore
Member
hi,
mandatory validation do it in key-commit trigger.

tks
ashok
Re: Regarding Proper Trigger [message #149055 is a reply to message #148656] Tue, 29 November 2005 20:46 Go to previous message
ashok_it
Messages: 40
Registered: November 2005
Location: Singapore
Member
hi,
as you requested prvious mail, tips for you.


trigger name : post-block
trigger block: your 200 item's block
code
:global.lastitem := :system.cursor_block;

===============

your button trigger

go_item(:global.lastitem);
execute_trigger(when-validate-item);



hope your problem solved..


tks
ashok



Previous Topic: help mee... error in list item
Next Topic: Problem in Developer 6 tree control
Goto Forum:
  


Current Time: Fri Sep 20 03:56:11 CDT 2024