Which trigger to use?  Please help!

Hi all,
I am a bit confuse on which trigger to use when you want the trigger to fire as soon as you leave the item. Could anyone help me? Thanks in advance for your help.

Harton,
There are a couple of triggers which fire when leaving an item, WHEN-VALIDATE-ITEM, POST-TEXT-ITEM. Depending on what key is being used for navigation, you also have KEY-NEXT-ITEM, KEY-PREV-ITEM. Each of them are slightly variant as in the sequence of firing and hence are useful for specific purposes. The sequence of firing is clearly mentioned in Forms documentation.
To validate any values entered in an item when leaving an item, WHEN-VALIDATE-ITEM is the ideal trigger to use and once the item validation is completed POST-TEXT-ITEM fires.
SEQUENCE : KEY-NEXT-ITEM/KEY-PREV-ITEM
|
WHEN-VALIDATE-ITEM
|
POST-TEXT-ITEM
-Aditya

Similar Messages

  • Locked out of G530 and requesting veriface id, which I never used, please help

    I can not get my key pad unlocked and veriface is active.  I never activated this option.  I have turned on and off but still locked out.  Please help.  Don

    Contact the store support staff who can access your account at: http://www.apple.com/emea/support/itunes/contact.html they are very good at these problems.

  • Don't know which triggers to use, please help.

    Hi,
    I'm a newbie to forms. I have a question about what triggers to use for my situation. I can't seem to find many examples for what I want to accomplish. I have tried using the online help (within forms) but sometimes they don't always have examples for their triggers).
    Here's my scenario:
    I have six items, five of which are text database items and one is a non-database display item (TOTAL). Each of the first 5 items holds a numeric value and the TOTAL item will store the sum of the previous 5. Of first 5 items, only the 4th item (POINTS) can be updated within the form (and I have set the Enabled propety to 'No' for the first 3 items). I have a function, TOTAL_COUNT, that will do the sum calculation and it works fine in a POST-QUERY trigger populating the value into TOTAL. However, what I'd like to do is anytime a user enters a new value in POINTS and then tabs or mouse clicks into the next item TOTAL, I'd like to call my function to update and display the new total value in TOTAL.
    Does anyone know which triggers and/or code I can use to accomplish this? The code I use to call a function is:
    :block_name.item := function_name(:parameter)
    For your recommed triggers, can I just use that code to call my function or will I need any other syntax i.e. BEGIN...END, etc within the trigger body?
    Any quidence would be greatly appreciated.
    Thank you,
    Eric

    Hi!
    1. Set Calculation Mode property of ITEM_5 to Formula.
    Formula property:
    nvl(:Block_Name.ITEM_1, 0) + nvl(:Block_Name.ITEM_2, 0) + nvl(:Block_Name.ITEM_3, 0) + nvl(:Block_Name.ITEM_4, 0)
    OR
    Function_Name(Param_1,... Param_N);
    Have in view of, that the ITEM_5 data will not be saved in DataBase.
    2. When-Validate-Item trigger is usfull when is necessary to store calculated item data in DataBase.
    Rename you Post-Query trigger to When-Validate-Item.
    Modify trigger: Store calculation result in the variable.
    (Don't forget to round variable value!)
    Then compare it with ITEM_5. If they are different - :ITEM_5 := var_name.
    I prefer the first method.

  • Hi ....using iphoto '08, but whenever i export photos to mail, they all come out small size, regardless of which size i choose. please help.

    hi ....using iphoto '08, but whenever i export photos to mail, they all come out small size, regardless of which size i choose. please help.

    After they get into the email go to the small menu at the lower right hand corner of the Mail window and select the size you want:
    Click to view full size

  • Okay..I've been trying to fix this for DAYS now!  When I sign in (under settings) w my new apple ID, then go to update or purchase something I cannot get the new apple ID to come up.  It's still using the old one (which is disabled) ..please help!

    Can someone pls help me??  Okay..I've been trying to fix this for DAYS now!  When I sign in (under settings) w my new apple ID, then go to update or purchase something I cannot get the new apple ID to come up.  It's still using the old one (which is disabled) ..please help!

    Delete what? The ID's? They cannot be deleted - you just quit using it.
    If you still have one old ID - that you have purchased content with - you are saying that the password no longer works with that ID? Did you try to reset the password for that ID?
    Read this - instructions if the ID was disabled for entering the wrong password.
    http://support.apple.com/kb/TS2446?viewlocale=en_US&locale=en_US
    If it gets too involved - you can always contact support.
    http://www.apple.com/support/appleid/
    Just do not create another ID!

  • My iPhone 4 keeps asking me to enter the apple ID for an account which no longer exists-.please help

    my iPhone 4 keeps asking me to enter the apple ID for an account which no longer exists….please help

    I should have also said that the only reason this is causing me an issue is because I have bought a new phone and I want to sell this one.  But I cannot erase all data because I cannot turn off find my phone because it keeps asking for the password for an account which no longer exists…. have tried so many suggestions but nothing is working...

  • HT5622 hey! i have a serious problem coming up which is that i am asked to enter my billing info even for free apps. why should i pay for apps which are free? please help me with this problem!

    hey! i have a serious problem coming up which is that i am asked to enter my billing info even for free apps. why should i pay for apps which are free? please help me with this problem! and in the billing info there is pop-up box saying i have accessed my account from didfferent computer but no i have been doing it from the same pc. please help me out.

    Tap Settings > General > International. Make sure the Region Format is correct.
    As for your Apple ID. Tap Settings > Store > Apple ID > iForgot
    Resetting your Apple ID may help.
    Congrats on your new iPad !!!

  • I had my ipod this week, so I do not know which applications to install. please help me

    I had my ipod this week, so I do not know which applications to install please help me    thank you in advance

    You can buy any apps that you want.

  • My iPod used to be signed in with my moms apple ID but now I have my own. When I opened IMessage it wanted me to sign in, but on the last step it said, "your email can't be verified since its already in use" please help I want to use IMessage.

    My iPod used to be signed in with my moms apple ID but now I have my own. When I opened IMessage it wanted me to sign in, but on the last step it said, "your email can't be verified since its already in use" please help I want to use IMessage.

    Hi Kanemelinda8833,
    Welcome to the Support Communities!
    The article below may be able to help you with this issue.
    Associating and verifying email addresses with your Apple ID
    http://support.apple.com/kb/HE68
    Also, make sure you have signed out of your Mom's Apple ID and are signed in with your own Apple ID on this device.
    Click on the link to see more details and screenshots. 
    iOS 6 and OS X Mountain Lion: Link your phone number and Apple ID for use with FaceTime and iMessage
    http://support.apple.com/kb/HT5538
    Sign out of your Apple ID on all iOS devices, in the following locations:
    Settings > Messages > Send & Receive. Tap your Apple ID, then tap Sign Out.
    Sign in to your Apple ID on your device.
    When activation is complete, your Apple ID and all verified email addresses should be visible in Settings > Messages > Receive At
    Cheers!
    Judy

  • My time machine will not back up. It says backup failed each time i try to back up. I tried switching it off but still nothing. It says "already in use" Please help!

    My time machine will not back up. It says backup failed each time i try to back up. I tried switching it off but still nothing. It says "already in use" Please help!

    The late James Pond left us these wonderful illustrated guides, including this one:
    Time Machine - Troubleshooting
    C12. "The Backup disk image ... sparsebundle ... is already in use."

  • Which font.properties file to use- please help

    I am working on an application for accepting hindi text as input.Please help me in following matter-
    1. I have several font.properties file on my application server machine. Also some jre have font.propeties file. Which file should I change so that my forms 6i deployed on this application server can accept hindi font insatlled on application server machine.
    2. If I need to change my Jinititor , where should i make changes.
    Please help

    you have asked so many questions about hindi text, etc... and nobody could help you. Please contact the support and open an ITAR at metalink.oracle.com. They should help you.

  • Purchased a Movie, which has just disappeared - PLEASE HELP!!!

    I really need some help here please,
    A few hours ago, I purchased a Movie from the iTunes store which took 3 hours to download to my iPod touch which cost £6.99. A soon as it finished, I took then plugged it into my PC to transfer the purchase to my iTunes library, for a backup.
    Whilst I was doing this, iTunes (as per usual) froze on me when it was syncing and did not respond at all when I moved and clicked an area of the open window. Because of this, I was forced to quit iTunes and re-open it again, to try and get the film onto my PC.
    When I connected my iPod to iTunes again, the Movie disappeared from my iPod and there was no sign of it anywhere on my PC either. Where is it?!
    Because of this and un-aware I had to pay £7 again to download the movie on my iPod, I repeated the whole process and as before, the file just went missing on both my iPod and PC.
    You may ask "Why didn't you purchase it through iTunes on your PC?" and the reason why is because the iTunes Store doesn't work on the PC any more. I've tried hundreds of new and old solutions to fix this and none of them seem to work. I've disabled EVERY type of firewall that could potentially be blocking me using the store, disabled all spyware programs and it still won't work.
    I feel very angry and annoyed here, as I've spent £14 on 1 film I've tried to get twice and attempting to find a missing file that never appeared on my PC.
    So how do I resolve this constant freezing probelm with iTunes, how do I get the iTunes Store working again, and most importantly, is there any way of me getting my £14 back? Please help!
    Any answer will be greatly appreciated.
    Martin.

    girikavali wrote:
    I'm a begineer in labview. I want to evaluate an equation which has complex numbers through text code.. 
    Are you saying you don't want to use LabVIEW to evaluate this? In which case I suggest asking on a different forum.
    for(f=0;f<=2560;f=f+0.3125)
         R=((H12-e^(-i*k))/(e^(i*k)-H12))*e^(i*k);
    There is no 'f' in the loop, I don't understand what the loop would evaluate, unless k is a constant in which case the loop is redundant.
                k         function of frequency
                f          frequency 
    If k is a function of frequency you need to say what that function is. For example if you are evaluating 'k' for changing 'f' and applying it to the equation for R. I don't know what the best procedure would be but my first port of call would be nested loops: 'R' for each 'k' for each 'f' ?
    In the absence of a function for k this vi would evaluate you formula for k=f, I don't know if this wil help any.

  • Which trigger to use for this?

    Hello,
    I have this code here that should stop the user from creating a new record (therefore not adding it to the tree) if the value of sublevel = 0.
    I dont know which trigger I can use to make this kind of validation.
    declare
    v_group_code varchar(12);     
    var number;
    begin
    v_group_code:= ftree.get_tree_node_property('CONTROL.GROUP_TREE',nvl(:SYSTEM.TRIGGER_NODE,1),FTREE.NODE_VALUE);
    :parameter.grup_cd_selected     :=  v_group_code;
    select SUB_LEVEL
    into var
    from pyr_group
    where code = v_group_code;
    if var = 0 then
              message('You cannot create group here.');
              message('You cannot create group here.');
              RAISE form_trigger_failure;
    end if;
    end;Thank you

    Hi
    This code here that should stop the user from creating a new record (therefore not adding it to the tree) if the value of sublevel = 0.Pls try to use WHEN-CREATE-RECORD Trigger
    Hope this helps...
    Regards,
    Abdetu...

  • Can not select from gv$ table in trigger...please help.

    I have the following SQL in my trigger which I am using in mt cursor.
    cursor sessioninfo is
        SELECT s.LOGON_TIME,
               i.INSTANCE_NAME,
               s.SERIAL#,
               s.MACHINE,
               s.PROGRAM,
               s.MODULE
          FROM gv$SESSION s, gv$instance i
         where i.INST_ID = s.INST_ID
           and s.SID = (select sys_context('USERENV', 'SID') from dual)
           and s.USERNAME =
               (select sys_context('USERENV', 'SESSION_USER') from dual);I get the following error:
    Compilation errors for TRIGGER DBAGUNNER.TRG_SERVICENAMELOGON
    Error: PL/SQL: ORA-00942: table or view does not exist
    Line: 22
    Text: FROM gv$SESSION s, gv$instance i
    Now, I have the DBA role and when I run this query by itself it works fine. But when I try and compile the trigger I get the error. I am creating the trigger as me as well.
    Version of DB is 11gR1
    Any idea's why I am getting this or a way around this?
    Edited by: Gunners on Feb 4, 2010 1:05 PM

    Privileges granted through roles are not valid in pl/sql.
    GRANT SELECT ON gv$SESSION to YOURUSERMax
    [My Italian Oracle blog|http://oracleitalia.wordpress.com/2010/01/31/le-direttive-di-compilazione-pragma/]

  • How do I create a new Apple ID every time I try apple says that the email has been used please help me!!

    How do I create a new Apple ID every time I try apple says I can't because that email has been taken I've done it multiple times please help me

    An email address can only be associated with one Apple ID at a time. You will have to remove it from the other ID or use a different email address.
    http://www.apple.com/support/appleid/

Maybe you are looking for

  • Input and output from child process

    Hi all, I am developing an IDE for the Haskell functional programming language. The application runs the Haskell interpreter as child process, and sends and receives input from the interpreter. At the moment I'm programming the integrated console thr

  • Why do I have a question mark on top of Ichat Icon

    why do I have a question mark on top of Ichat Icon ?

  • Text Editor update in PR05 ( Travel & Expense )

    Hi, I am trying to update editor in PR05. I am using function module HRTRV_IF_MODIFY_TRIP to update PR05. For some reason, I am trying to update the editor. But I am getting below error message. Field PTP71-EDITOR_TEXT(9) does not exist I saw whether

  • Alternate hierarchy dimension build with load rules

    Hi, I am trying to build a alternate hierarchy dimension using load rules (I feel using EIS is easier to build ASO and multiple hierarchies but we r trying to get rid of EIS member loads). Looking at different posts my understanding is it has to be d

  • MDT - Can I disable the Administrator account

    I found threads on how to turn it on and maybe some on how to turn it off. I already see how to have my task sequence *NOT* enable the administrator account. I just remove the corresponding line in the unattend.xml file. However, are there any reperc