What trigger is fired just before hitting Ctl + F11.

Hello Friends,
I am developing a Master details form in 61.
What trigger is fired just before hitting Ctl + F11
Thanks,
Sri

Hi,
Probably going through this tutorial created by Andreas would be helpful for you,
http://sheikyerbouti.developpez.com/tutoforms10g/files/tutoforms10g.pdf
-Arun

Similar Messages

  • Help discovering what's wrong w/ my before update trigger

    Let me prefix this w/ the fact that I'm an idiot, so be kind.
    I have one trigger that is not working (seemingly), and I am about googled out so I thought I'd ask and see if anyone couldn't provide thoughts, insults, suggestions or what have you.
    Database being used is 10g XE and updates are being done transactionally.
    I have a table that stores (among other things) the status of a particular type of (app specific) transaction. When that status changes to a particular value, I have a trigger that updates another table with the date that this status change took place.
    <pre>Table: XTransaction
    id (pk)
    statusid (int)
    ...</pre>
    and here is what my trigger looks like:
    <pre>create or replace trigger x_transaction_update before update on xtransaction
    for each row
    declare
    begin
    if( :old.statusid = 1) then -- this is here because I got an error when I tried to use a when clause above
    begin
    -- I log before the update w/ some other info to tell whether I've been to this spot or not
    update sometable set when_it_happened = sysdate where xtransid = :old.id;
    -- I log after the update too
    exception
    when others then
    -- I log sqlerrm
    end;
    end;
    end if;
    end;</pre>
    here's what I've been able to gather through testing & viewing logs from the trigger:
    1. there's no exception being logged,
    2. the pre/post update logs with all the correct data (proving that the trigger is fired),
    3. when I update xtransaction from visual studio (through the oracle addin which lets you run queries against the database), the status is changed, the trigger is fired, and the other table is updated.
    4. when the application that normally updates the xtransaction table runs, xtransaction is updated, the trigger is fired, and sometable is not updated.
    so I have absolutely no clue where to go with this one. Usually I could fire up sql server's query analyser and watch what's coming through, and I've tried to use toad's commercial tool to do this, but to no avail. I've tried changing it to an after update, but had the same results. I wrote this some months ago, and it was working then, but not now.

    MadHatter wrote:
    @Centinul
    the only difference between what I posted and the actual trigger are table / column names, and a sproc I wrote for the logging in place of the comments I have:
    log_msg('update sometable set arrival = sysdate where transid = ' || :old.id);I know this doesn't answer the question you have now, you should seriously consider removing the WHEN OTHERS clause altogether OR ensure that there is a RAISE or RAISE_APPLICATION_ERROR there.
    This trigger isn't syntactically correct either:
    create or replace trigger x_transaction_update before update on xtransaction
    for each row
    declare
    begin
        if( :old.statusid = 1) then -- this is here because I got an error when I tried to use a when clause above
            begin
                -- I log before the update w/ some other info to tell whether I've been to this spot or not
                update sometable set when_it_happened = sysdate where xtransid = :old.id;
                -- I log after the update too
            exception
                when others then
                    -- I log sqlerrm
                end;
            end; /* Extra END here.... */
        end if;
    end;Edited by: Centinul on Oct 30, 2009 1:23 PM

  • I'm trying to share to Media Browser a 20 minute still slide show with music and text. I have tried several times to save at 1080 HD, but just before it's finished, a message box pops up saying "File already open with write permission."  What's this mean?

    I'm trying to finalize/share to Media Browser a 20 minute still slide show with music and text. I'd like to finalize it 1080 hd and have tried several times, but just before it's finished, a message box pops up saying it can't be done because "File already open with with write permission."  What does this mean?  All files are closed; this iMovie project is the only thing open.  Does it mean one of the song files from iTunes? And should I just settle for saving it as a "large" file, which is what I'm trying right now?
    Thanks,
    Jamie

    Hi
    Error -49 opWrErr  File already open with write permission
    Trash the preference files while application is NOT Running.
    from Karsten Schlüter
    Some users notice on exporting larger projects from within iMovie that this operation is aborted with an 'error -49'
    This issue occours only on MacOs machines using 10.7x
    try switching-off the Local Mobile Backup
    in Terminal copy/paste
    sudo tmutil disablelocal
    Re-launch Mac
    See also this post
    https://discussions.apple.com/thread/4434104?tstart=0
    Yours Bengt W

  • My macbook pro recently got swiped and I lost all my data, problem is, just before it was swiped I set up my new iphone 5 which transferred all my photos and music over which is no longer on the computer. What will happen to my phone if I plug it in?

    My macbook pro recently got swiped and I lost all my data, problem is, just before it was swiped I set up my new iphone 5 which transferred all my photos and music over which is no longer on the computer. What will happen to my phone if I plug it in?

    I never used icloud before so there is no data to back up from. I just spoke  to the apple store and they said that if I do plug it in, all the data will be swiped....is there a program I can use to transfer my data from my phone to computer without loosing it all ???
    Renee

  • For each song in my iTunes Library just before the name of the song there is a check box.  What is the effect of checking or unchecking this box?

    For each song in my iTunes Library just before the name of the song there is a check box.  What is the effect of checking or unchecking this box?
    Thanks

    Unchecked items will not play unless specifically clicked on.  They will not be included on shuffle and will not be synced to ipods.

  • I am trying to download the iTunes 10.7 update so that i can update my ipod and just before the final part of the download starts the program stops and says, 'The installer enountered problems before iTunes could be configured'    What a i doing wrong?!

    I am trying to download the iTunes 10.7 so that i can update my ipod. Just before the final part f the download starts the program stops and says, 'The installer encountered problems before iTunes could be configured'
    What am I doing wrong?!

    I am trying to download the iTunes 10.7 so that i can update my ipod. Just before the final part f the download starts the program stops and says, 'The installer encountered problems before iTunes could be configured'
    What am I doing wrong?!

  • TS3694 iOS 7.02 update made my iPad stay frozen on the appl logo.  What's more, a factory update in DFU mode won't work either, I get error code 3194 - any tips on what I should do?  It is an iPad2 on iOS 5 something, the one just before Apple removed You

    iOS 7.02 update made my iPad stay frozen on the appl logo.  What's more, a factory update in DFU mode won't work either, I get error code 3194 - any tips on what I should do?  It is an iPad2 on iOS 5 something, the one just before Apple removed YouTube...

    iOS 7.02 update made my iPad stay frozen on the appl logo.  What's more, a factory update in DFU mode won't work either, I get error code 3194 - any tips on what I should do?  It is an iPad2 on iOS 5 something, the one just before Apple removed YouTube...

  • My Ipad 2 has tried to shot down now for 3 hours, just before I could not open Itunes and App Store but Email and other apps was working. them I tried to shot down but I have now for 3 hours black screen whit turning wheel. any I deas what too do?

    My Ipad 2 has tried to shot down now for 3 hours, just before I could not open Itunes and App Store but Email and other apps was working. them I tried to shot down but I have now for now for more that 3 hours black screen whit turning wheel. any I deas what too do

    See Here for
    iPad Basic Troubleshooting
    http://support.apple.com/kb/TS3274
    Unresponsive iPad
    http://support.apple.com/kb/TS3281

  • I received my iwatch 3 days ago, and it has just gone dark and no response at all. What else should I try before returning it?

    I received my iwatch 3 days ago, and it has just gone dark and no response at all. What else should I try before returning it?

    you should probably charge it.  Plug it into the wall charger and let it sit overnight.  Then hold both the crown and side buttons together while it's charging for 10 seconds or more and it should turn on. 

  • WHEN-NEW-ITEM-INSTANCE TRIGGER NOT FIRING IN FORM PERSONLIZATION

    We are upgrading to R12, when-new-item-instance trigger written for radio group not firing. using USO-821 Order Administrator Responsibility the function order capture.After clicking on actions push button
    opening Copy Quote for this Form Personalization written.
    For Radio Group Copy-Group when-new-item-instance trigger written but this trigger not firing,but In 11i Instance its Firing.
    trigger-event: when-new-item-instance
    Trigger-object:copy_group
    condition:when copy_group='ALL'
    Action: showing message.
    The same when-new-instance trigger written in form item level and trigger execution hierarchy properties 'OVERRIDE'.
    Just I am thinking this overriding by Item level trigger of form.
    Please kindly help me quickly .What I need to do?
    How can I make trigger to Fire?
    Please kindly give solution.....Its very urgent Requirement.pls help me.
    Regards,
    Basavaraj

    Please kindly help me quickly .What I need to do?
    > Please kindly give solution.....Its very urgent Requirement.pls help me.
    Kindly log a SR for urgent issues.
    Thanks,
    Hussein

  • WHEN-NEW-ITEM-INSTANCE TRIGGER NOT FIRING IN FORM PERSONLIZATION(R12 UPGRAD

    We are upgrading to R12, when-new-item-instance trigger written for radio group not firing. using USO-821 Order Administrator Responsibility the function order capture.After clicking on actions push button
    opening Copy Quote for this Form Personalization written.
    For Radio Group Copy-Group when-new-item-instance trigger written but this trigger not firing,but In 11i Instance its Firing.
    trigger-event: when-new-item-instance
    Trigger-object:copy_group
    condition:when copy_group='ALL'
    Action: showing message.
    The same when-new-instance trigger written in form item level and trigger execution hierarchy properties 'OVERRIDE'.
    Just I am thinking this overriding by Item level trigger of form.
    Please kindly help me quickly .What I need to do?
    How can I make trigger to Fire?
    Please kindly give solution.....Its very urgent Requirement.pls help me.
    Regards,
    Basavaraj

    Please kindly help me quickly .What I need to do?
    > Please kindly give solution.....Its very urgent Requirement.pls help me.
    Kindly log a SR for urgent issues.
    Thanks,
    Hussein

  • Trigger ComboBox change handler before application displays

    I have a ComboBox in a foods catalog, with has a list of categories, say, like this:
    All Categories
    Meats
    Fish
    Pasta
    All categories are loaded at first, then, on the change event in the ComboBox, the food catalog is filtered and only foods in the selected category are displayed.
    I want to eliminate the "All Categories" choice and just have the other three options in the ComboBox – On initial display, the ComboBox selectedItem would be Meats (selectedIndex = 0) but all the catalog items appear because the entire catalog is created on Application creationComplete.
    The ComboBox is in a custom component.
    The change handler is defined in that same component.
    So, what I really need is to trigger that change handler before the display appears.
    How do I achieve this?
    Any ideas would be greatly appreciated.
    Carlos

    If this post answers your question or helps, please mark it as such.
    Greg Lafrance
    www.ChikaraDev.com
    Flex Development, Training, and Support Services
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
      <mx:Script>
        <![CDATA[
          import mx.events.ListEvent;
          private function changeFunc(evt:ListEvent):void{
            switch(evt.currentTarget.selectedLabel){
              case "All Categories":
                vs.selectedChild=all;
                break;
              case "Meats":
                vs.selectedChild=meats;
                break;
              case "Fish":
                vs.selectedChild=fish;
                break;
              case "Pasta":
                vs.selectedChild=pasta;
                break;
        ]]>
      </mx:Script>
      <mx:ComboBox id="cmbx" change="changeFunc(event);"
        creationComplete="cmbx.selectedItem='Meats';cmbx.dispatchEvent(new ListEvent(ListEvent.CHANGE))">
        <mx:dataProvider>
          <mx:String>All Categories</mx:String>
          <mx:String>Meats</mx:String>
          <mx:String>Fish</mx:String>
          <mx:String>Pasta</mx:String>
        </mx:dataProvider>
      </mx:ComboBox>
      <mx:ViewStack id="vs">
        <mx:VBox id="all" width="300" height="200" backgroundColor="0x000000"/>
        <mx:VBox id="meats" width="300" height="200" backgroundColor="0xFFFFFF"/>
        <mx:VBox id="fish" width="300" height="200" backgroundColor="0x0000FF"/>
        <mx:VBox id="pasta" width="300" height="200" backgroundColor="0xFF0000"/>
      </mx:ViewStack>
    </mx:Application>

  • HT201269 When I try to setup my new iPad air, I go through all the steps for the iCloud sign-in and choosing security questions and what not. But after I hit the agree to the terms and conditions... It says Apple ID could not be created because of a serve

    When I try to setup my new iPad air, I go through all the steps for the iCloud sign-in and choosing security questions and what not. But after I hit the agree to the terms and conditions... It says Apple ID could not be created because of a server error. Have no clue what to do... I've restarted the iPad and get the same message. But my internet works just fine.

    1. Turn router off for 30 seconds and on again
    2. Settings>General>Reset>Reset Network Settings

  • HT1766 I want to restore my iPhone to the backup I did just before upgrading to iOS6. Today's sync/backup erased most of my contacts and almost all of my phone numbers within the remaining contacts.  No iCloud backup because of other issues still to resol

    I want to restore my iPhone to the backup that I did just before upgrading to iOS6.  When I try to pull up old backups, I only see one from this morning and an old one from May 2012 when I still had my iPhone 3GS.  I have not been using iCloud since it was set up improperly when I first switched to the 4S, the contacts weren't being synced AT ALL.  visited the genius bar, they said I need a whole other appointment to visit them and solve that, I haven't had a chance to do that yet.  Thus, I am backing up to iTunes.
    This morning's sync/backup resulted in me losing most of my contacts, and for the contacts that remain, 99% of the phone numbers are gone.  I can recover my calendar entries from this past week, but I don't know how I can recover all of them from my May 2012 backup.
    Since I had a backup just last week, I'd like to just go back to it.  But how?  Or, is there another way to get my contacts restored?  And why did they disappear?  And what else may be gone that I just don't know about yet?

    I want to restore my iPhone to the backup that I did just before upgrading to iOS6.  When I try to pull up old backups, I only see one from this morning and an old one from May 2012 when I still had my iPhone 3GS.  I have not been using iCloud since it was set up improperly when I first switched to the 4S, the contacts weren't being synced AT ALL.  visited the genius bar, they said I need a whole other appointment to visit them and solve that, I haven't had a chance to do that yet.  Thus, I am backing up to iTunes.
    This morning's sync/backup resulted in me losing most of my contacts, and for the contacts that remain, 99% of the phone numbers are gone.  I can recover my calendar entries from this past week, but I don't know how I can recover all of them from my May 2012 backup.
    Since I had a backup just last week, I'd like to just go back to it.  But how?  Or, is there another way to get my contacts restored?  And why did they disappear?  And what else may be gone that I just don't know about yet?

  • What trigger should I use if I want to keep record amendment log?

    I am a newbie to Oracle forms, I would like to raise a simple question here ... hope you won't mind ... I have a form interface which accepts user input to record attributes for an object (e.g. personal information of a user). Now, because the importance of data, I was required to write log records in a journal table for changes made on the data. What trigger am I recommended to place and use?
    Thanks for any replies!

    Duncan, thanks for your reply first. However, I have two queries:
    1) Any generic event state to indicate change of record rather than 'POST-INSERT', 'POST-UPDATE' and 'POST-DELETE'?
    2) Given that I use the 'POST' event, how can I get the pre-update value? (My log record is supposed to record the before-update value)
    Thanks for your reply!

Maybe you are looking for

  • Iphoto screen turns black--- sometimes

    Iphoto problem I'm using Iphoto '11 version 9.2 (626) MAC OS X Version 10.6.8 Some of the images don't show up at all but come up with a gray dashed border around white background.  When I double click this, instead of an image appearing, the screen

  • Followon Documents does not display PO

    Hi, We use SRM 4.0 SP13 with classic scenario. We recently upgraded backend to ECC 6.0 and ran into an issue where we do see PO replicated to SRM when viewed using BBP_PD but it does not display under Follow-On document---> History. I looked at some

  • Message Status "Scheduled", Queue Status "Queue Stopped"

    Hi friends, My scenario is from Peoplesoft -> XI -> BI Message has reached BI, but in SXMB_MONI, its showing Message Status as "Scheduled" and Queue Status "Queue Stopped". How to proceed further ? How can I start that queue ? Thanks ain advance, Nee

  • XSL and WML using servlets

    Hi I am stuck with xsl for wml.I cannot get to see my wml page in any mobile emulator.However I was able to see it in some WAP browsers like winwap etc.. What could be wrong with xsl?I am actually generating wml from xml and xsl passed on to the tran

  • 2005 or 2006 Threads???

    Hi While searching for the old threads I could not find the threads that have been created in the years 2006 or 2005. SDN is only allowing to search from 2007 year.... Where are all the threads of years 2005 and 2006 have gone?? Are they archived? if