How to stop trigger function when in post query?

Hi All,
I have a problem, not able to find the solution.
I have created a form with 10 field items.
For a field item called RECEIVED_15G, i have created a trigger:WHEN-VALIDATE-ITEM, it works fine as per my requirement.
The problem is that i want this trigger to work only when i run the form , that when system is in NORMAL mode.
I don't want this trigger to work after i do execute query, even here the system is in NORMAL mode.
So how do i make it to work ??
Is it possible to stop that trigger work after i click execute query (Something that i can code in Post query) ??
Help me . Thank You.
Oracle Forms 6i,
Oracle DB 9i.

Hi
pls share with us the code my guess ; the When-Validate-Item (WVI) trigger is firing because you are setting a value in an item from post-Query Trigger>
Note: just assign a name in a display item in post-query trigger DONT assign an id or any db item.
Amatu Allah

Similar Messages

  • How to stop while loop when a specified function is terminated?

    I want to make a program which has 2 thread, one of which is to control some devices, and the other is to measure outputs of the devices.
    To do that, I should make a 2 independent loops, but there comes a problem here.
    I want to terminate 2 loops at the same time, but it's difficult for me to do that, because when I try to notify upper sequence's termination to lower loop by some value change, they have some dependency.
    That's why I need your help. I want to know how to stop lower loop when the upper sequence's termination keeping their independency.
    Please let me know. Thank you.
    Attachments:
    help.JPG ‏200 KB

    Is the upper loop commanding the lower loop at all?  I would think you would have some type of communication between the loops.  Just use that communication to send a stop command.  Or the next best way is to just simply use a notifier.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • How can i trigger workflow when particular event happens in webdynpro

    how can i trigger workflow when particular event happens in webdynpro

    hi,
    To trigger workflow , use the fm : 'SAP_WAPI_START_WORKFLOW'
    Refer this thread for similar requirment : Workflow in WebDynpro
    Blog : http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3417500)ID1564403950DB00699140435432809306End?blog=/pub/wlg/2778

  • How to stop drop down when trying to open file?

    how to stop drop down when trying to open file?

    Offer more details and you ay get an answer.
    What files/type, applications, what exacttly you are doing?

  • How to stop screen expansion when I awake in new os update

    When I awake my Z10 the screen expands or magnifies itself so I have to squeeze it to fit all the screen in. Very annoying any ideas how to stop it?
    Solved!
    Go to Solution.

    Hi pgaffney,
    Please see the following forum post for a resolution to this issue.
    Please go into Settings > Accessibility, and ensure the "Magnify Mode" is disabled.
    Did someone help you? Click Like! Did a post solve your issue? Click Accept as Solution!

  • Trigger function when loaded swf finishes

    I'm making a site that loads external swfs based on which
    button is clicked. When the swf loads it plays an intro and then
    stops at a certain point. My goal is that when you click another
    button the current swf plays an outro before the next one loads.
    The problem I'm having is making the outgoing movie trigger the
    function that loads the next.
    At first I tried just adding loadNextMovie(); to the last
    frame of the loaded swf. But for some reason this causes the two
    stops in the file from working so the thing just keeps looping. I
    have no idea why adding this function call would prevent stop();
    from working.
    Is there another way to have the end of movie trigger the
    function? Also, why doesn't adding loadNextMovie(); to the last
    frame of the loaded swf work?

    Ok, sure. I have main.swf that loads external.swf. Main.swf
    has a function that loads a different movie. Like this:
    function loadMovie():void {
    trace("movie loaded")
    This function is to be called from external.swf by putting
    this in the last frame:
    stop();
    loadMovie();
    But when I actually put loadMovie(); into external.swf the
    stop no longer works and it just loops. What am I doing wrong? Is
    trying to put this function call in the external swf the correct
    approach?

  • How to stop PO output when the indicators are updated with a prog. **URGENT

    Hi,
    I have developed a update prg which will update the Final invoice indicator and Goods reciept indicator in SRM as well as in R/3 only for 'ORDERED' PO's. This was done using BBP_PO_PD_UPDATE FM. Everything is working fine, all the indicators are getting updated as expected both in SRM and R/3.
    Only problem is that when the indicators are updated in SRM, PO Output is getting generated which should not happen.
    Do you have any idea how to stop the OUTPUT.
    This is very urgent.
    BR,
    Parvez.

    PO output
    PO Output problems
    disable PO output on po change in SRM

  • How to call jquery function when i close modal dialog box ?

    Hello,
    I need to call one jquery function when I click on close button of modal dialog box.Can anyone please let me know how can I implement it ?
    Thanks,
    Dipti Chhatrapati

    Hi Dipti,
    If my understanding is correct, you are using SP Modal Dialog and want to track the close event of this dialog. Then you may use
    dialogReturnValueCallback parameter of Options variable. Follow is the code sample:
    function ShowModal() {
        ExecuteOrDelayUntilScriptLoaded(function () {
            var options = {
                url: 'page1.aspx',
                tite: 'Add Title',
                width: 800,
                height: 450,
                allowMaximize: true,
                showClose: true,
                dialogReturnValueCallback: scallback
            SP.UI.ModalDialog.showModalDialog(options);
        }, 'sp.js');
     function scallback(dialogResult, returnValue) {
          if (dialogResult == SP.UI.DialogResult.OK) {
               // call your Jquery method here...
    Thanks, Ram

  • How to stop BAPI(FM) when enter data from front end is calling a BAPI

    Hi Experts
    We are entering the data through front end , that is calling one BAPI and upadating the data
    into SAP .
    could any one tell me how to stop this BAPI , is it possible to stop that BAPI using external break points
    Thanks.

    Is this BAPI Called in another task? Otherwise, you should be able to debug it like any other Function module in foreground.

  • How to use ABS function when using BWA connection

    Hi Experts,
    We are using InfoSpace on top of BWA
    Could you kindly let me know how to use ABS functionality for InfoSpace
    Because we want to  use formula: (A-B) / Abs(B), we cannot get ABS (B)
    Would you kindly help on this?
    Best regards
    Alex yang

    repost

  • How to stop iPhoto opening when connecting a device

    I want to stop iphoto opening when I connect my iphone, I can't find this in iphoto's preferences, any ideas?
    This is iphoto 6

    That worked thank you
    Just to clarify, you have to have the device connected to alter the preference.

  • How to use MAX function in SSAS MDX Query

    I want to run this Query with MAX Condition on LAST_DATA_UPDATE Column .

    Hi Ashishsingh,
    According to your description, you want to know how to use MAX function in SQL Server Analysis Services MDX Query, right? In this case, please refer to the link below which describe the syntax and sample of MDX function.
    http://technet.microsoft.com/en-us/library/ms145601.aspx
    http://www.mdxpert.com/Functions/MDXFunction.aspx?f=64
    Hope this helps.
    Regards,
    Charlie Liao
    TechNet Community Support

  • Video Gallery, How to Stop overlapping streams when user navigates to next item? Bug or syntax?

    My NASA Multimedia News App is exhibiting behavior that I would very much like to change. The app is in the store at
    http://apps.microsoft.com/windows/en-us/app/nasa-multimedia-news/7e74f3fb-b550-4ac6-b437-388f034ee6df
    If you look at one of the three video galleries, here is the scenario:
    1. Start one of the videos, for example the most recent one.
    2. without MANUALLY pausing the first video and before it finishes, scroll to the next item in the same gallery and PLAY it.
    3. two streams are now playing, audio overlapping.
    4. move on to the next item in the gallery OR GO TO A DIFFERENT PAGE/SCREEN, cover your ears.... 
    in fact the stream needs to stop if you navigate away from it by either starting a different video in the same gallery or when you navigate to a different screen/page in the app. and it doesn't.
    5. in fact, if you close the app by dragging it down and don't final close it by drag/hold flip or using taskmgr, if you re-open it the multiple audio streams will still be playing from where they left off.
    I don't honestly know if it is the video control or something I didn't do in the syntax (or even if something CAN be done), but with the overlapping cacophony that results, it is less than optimal. My expectations/hopes, were that if one stream was already
    playing, that moving to a new item and starting THAT stream would automatically terminate the original one that was playing so that only a single audio stream can be heard.
    I hope the issue is clear.
    Is this a bug? If it is by design, ugh. And is there a work around?
    -- Barb Bowman

    On Sat, 5 Apr 2014 01:20:04 +0000, thorwm wrote:
    >All kidding aside, I did some searching in the forum and I found this post that may help?
    >
    >http://social.technet.microsoft.com/Forums/en-US/6037342d-2575-411b-a496-90d306f82b00/unable-to-stop-a-video-playing-using-updatecontextvideopause-true?forum=projectsiena
    >
    >Btw, what you're talking about sounds very similar to how Adobe Flash works - it figures that you (the end user) must know what you're doing when you start another audio file / video so it keeps adding to the stream.  The way I helped
    the end user was to add the code to stop the media file playing when another one was selected.
    >
    >Hopefully the thread above gives you some ideas how you might do this in your situation. 
    >
    >
    >I look forward to hearing what you find - sounds like a neat app (no pun intended!)
    Thor, it is my NASA Multimedia App - I resubmitted it last night and I guess a
    different tester got it and the update went through. But the issue still exists.
    The difference between what I have in my app and that other thread is that I
    have a video GALLERY as opposed to individual players. I did try messing around
    with that  syntax
      UpdateContext({videoPause: false}); UpdateContext({videoPause: true});
    Navigate(scrHome, ScreenTransition!Fade)
     But it didn't work between screens in my App and anyway, half of the issue is
    that it wouldn't work on a single screen that contains a video gallery that has
    say 10 videos, there is no OnSelect function used. I tried experimenting to see
    if I could get syntax working at least for when the navigation is to a different
    screen, but it doesn't work for me. Probably because it is a gallery.
     Hoping that Robin has a solution...
    -- Barb Bowman

  • How to stop the function if Validation is fail

    Hello guys
       Got an easy question. I am trying to validate the users inputs to see if they enter the values for my textInput. The validator instance is binded to the button click. If the user clicks the button without entering value, the error messages will pop up, if they enter the values then click the button, the application will process the click event handler. My question is when the user clicks the button without the input information, my handler still process the code, and give me runtime error because the textInput is empty. I know I could use conditional statement to prevent this, but I was wondering if there are any ways to stop the handler by USING VALIDATOR class. Thanks for any helps.
    code
    AS:
    protected function insert_clickHandler(event:MouseEvent):void
    //do something here if the name if not empty.....I thought the validator will stop the application if the validation is fail.....am I wrong?
    mxml
    <mx:StringValidator id="cityValid" source="{name}"
    property="text" trigger="{add}"
    triggerEvent="click.add"  //only trigger when click on add state.....
    required="true"/>

    Sorry for the confusion. the triggerEvent="click.add" should be triggerEvent.add="click"
    I am using Flex 4. The validation is fail if the user don't input anything. Does clickHandler still process the code even though the validation is fail?

  • How to stop Goods Issue when settlement is not completed

    An article was created in MM41. A production order number was assigned in KKF1.
    User proceed to create PO in ME21N for printing & miscellaneous expenses to be incurred for the same production order number.
    GR was carried out when the completed items arrived.
    At this point, settlement had not been carried out.
    Sales proceed to issue stocks after GR. This result in error MAP / costing.
    How can I stop User from issue stock until settlement of the production order had been completed?
    Thanks
    bye

    Add in a function to check the custom requirement

Maybe you are looking for

  • Strange Audio Issue

    I swear I'm not making this up. When I listen to a track on my iPhone, (in iPod) using the built in speakers or plug in speakers or even plugged into my car stereo, the audio is fine. But... If I plug in headphones, (and yes I've tried 4 different br

  • Folders don't show up in Finder Searches

    Hi I have  Mac Book Pro OS 10.8.2. When I search through finder, folders do not show up, unless I manually go to search options and select- Kind- "Any". Say for instance I'm search for a folder named "walden". If It type "walden" into the finder, fil

  • Man this is totally frustrating.. I may jump to another provider - still unable to find my book marks 704-795-1836

    I hate it when you make changes my world was perfect before you made changes.. No i am totally bummed and can not find my internet explorer book marks.....AHHHHHHHHHHHHHHH. today I had a set of task and this change has taken my away from my prioritie

  • How to cancel a http connection mid-way

    Hi, I would like to cancel a http connection mid-way. For example, I may make a connection to a web server and the midlet will display a wait screen with a Gauge showing the status of the connection. The screen also has a Cancel button to allow the u

  • News on my new UT experiment.

    Okay, I put some new furniture across about 5 cards, excluding my deal with RH with the 12 mos same as cash.  So now my UT is up to 15%.  Yes, very scary for me!  But I had to see what would happen.  Just made about 4/5k in payments on them.   They h