Delete Trigger in Form Runtime [message #402923] |
Wed, 13 May 2009 03:52 ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
shahzaib_4vip@hotmail.com
Messages: 410 Registered: December 2008 Location: karachi
|
Senior Member |
|
|
Hi All
If this is possible to remove trigger on runtime for example
i write the trigger
SELECT COUNT(*) INTO :ITEM48 FROM SALE2;
if
:item48=12988 then
set_item_property('pre',visible,PROPERTY_TRUE);
set_item_property('new',visible,PROPERTY_TRUE);
set_item_property('register',visible,PROPERTY_TRUE);
set_item_property('close',visible,PROPERTY_TRUE);
set_item_property('PRE',enabled,PROPERTY_TRUE);
set_item_property('NEW',enabled,PROPERTY_TRUE);
set_item_property('Code',enabled,PROPERTY_TRUE);
set_item_property('close',enabled,PROPERTY_TRUE);
set_item_property('OK',enabled,PROPERTY_FALSE);
set_item_property('TEXT52',WIDTH,X_POS,18);
set_item_property('TEXT52',WIDTH,Y_POS,252);
end if;
now i need when i press one "Code" button the its remove only this
SELECT COUNT(*) INTO :ITEM48 FROM SALE2;
its possible ? ? ?
Shahzaib ismail
|
|
|
|
|
|
|
|
|
|
|
|
Re: Delete Trigger in Form Runtime [message #403290 is a reply to message #402923] |
Thu, 14 May 2009 10:54 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
shahzaib_4vip@hotmail.com
Messages: 410 Registered: December 2008 Location: karachi
|
Senior Member |
|
|
Thanks for your reply both cookiemonster and littlefoot
basically i create a log on window where the user put user id and password and press "ok" button to log on my module now i need when the record of sale reach between 12988 and
15000 the other 2 text box (previous Code and New code) and 2 button (Register and Close ) enabled and my "ok" button will disable
in the previous code text box its show my code and the new code will be blank after the user ask me new code i will provide him
but when he enter new code and press register the two text box (Previous code and new code) and 2 button (Register and Close) will disable and ok button will enable i did all those thing successfully
but when i run the my log in window module its show me onces again (2 text box and 2 button)
i just need simple when its register successfully then it will not show the 2 text box and 2 button till sale record exceed 20000
I hope you both guys understand and will help me
Thanks and Regards
Shahzaib ISmail
|
|
|
|