Forms 6i - which Trigger?

Hello together.
I've a question for Forms 6i.
I need a trigger which is only firering when the user changes the content of an item.
The post_change trigger for example doesn't work because he is also firering when another code (in this issue an post_query trigger) is changing the content of an item.
Thanks to everyone who trys to help me,
Stefan

ESW_si wrote:
Hello together.
I've a question for Forms 6i.
I need a trigger which is only firering when the user changes the content of an item.
The post_change trigger for example doesn't work because he is also firering when another code (in this issue an post_query trigger) is changing the content of an item.
Hi, Stefan
Do you have any other trigger attached your item ?
If not ,Use post-change trigger within this item... more efficient when-validate-item trigger.
Hope this helps
If someone's response is helpful or correct, please mark it accordingly.

Similar Messages

  • In which trigger can i use go_item() in oracle forms 6i?

    Hi,
        I have a problem with go_item.
    I tried executing go_item() in triggers like key_next_item, pre_text_item, post_text_item & when_validate_item.
    But none of them seemed to be working.
    I searched for other possibilities in the site, where i found a solution of using trigger ' when_timer_expired ' with ' when_validate_item ' ,
    but when i tried to create trigger, i did not find that trigger (when_timer_expired)  in the list at all.
    I'm using oracle form builder 6i.
    Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production.
    A trigger with go_item() must be created when tab is pressed.
    In which trigger can i use go_item() ??
    Thank You.

    from help:
    Restricted Built-in Subprograms
    Restricted Built-ins affect navigation in your form, either external screen navigation, or internal navigation. You can call these Built-ins only from triggers while no internal navigation is occurring.
    Restricted Built-ins cannot be called from the Pre and Post triggers, which fire when Oracle Forms is navigating from object to another.
    Restricted Built-ins can be called from the When triggers that are specific to interface items, such as When-Button-Pressed or When-Checkbox-Changed. Restricted Built-ins can also be called from any of the When-New-"object"-Instance triggers and from key triggers.
    Unrestricted Built-ins do not affect logical or physical navigation and can be called from any trigger.
    The Built-in descriptions include a heading, Built-In Type, that indicates if the Built-in is restricted or unrestricted.

  • Which trigger to use for error logging output ?

    hello,
    is there a trigger which is executed every time
    an error occurs in report generation ?
    so that i can write the error-message via
    "TEXT_IO" to an external file every time the
    trigger fires ?
    any suggestions
    greetings
    thorsten lorenz

    No, there's no equivalent of the Forms On-Error trigger. Please see my response in your other thread for information on where the error messages can be found.
    Hope this helps,
    Danny

  • Which trigger is raised after saving the details entered  in the block

    Hi,
    I am creating a form which should allow user to create tables by providing tablename , columnname and columntype. For that , I have a temporary table named NEWTABLE with columns named TABLENAME , COLUMNNAME and COLUMNTYPE.
    Upon running the form, the user enters TABLENAME , COLUMNNAME and COLUMNTYPE . Which trigger gets fired after all those records are inserted into that table. I tried using POST-INSERT but it is firing after each and every record gets inserted into the database table.
    Could u suggest the trigger name or else could u suggest any alternate method to perform that task .

    Use the classic key-commit trigger.
    Write there the following:
    post; -- this does insert/update/delete for the records in the form's data block
    after which you should call a stored procedure that receives as params the column names and column types in pl/sql tabels, plus the table name for the table to be created and does:
    'execute immediate create table ...'
    Still, it's quite unusual to create DB objects from forms. What if you need to indicate the tablespace? And what about indexes? What if you need partitions?
    Normally tables are to be created by developers and/or DBAs, not just any user, and those would use different tools (not Forms!), the most simple being SQL*Plus.

  • Which trigger to use in this case

    Hello All,
    I have a form in which I have an list item STATUS
    STATUS may have values a or b or c or d
    One event should happen when user selects 'c' whose earlier status is 'b'. Here I have two doubts
    1) Which trigger I have to use
    2) How to get the old value of the STATUSi.e 'b'
    because event should fire only when the status is changed from 'b' to 'c'.
    I am using forms4.5
    Cheers

    you can use the pre-insert or pre-update-trigger. the when-validate-record is as useless for your case, because navigating out of the record/block starts the trigger before your commit.
    but the two pre-trigger fire on each insert and update. Not only, when you have to validate your data. That means you have programatically to check, if your data changed the value between query- and commit-time.
    try it
    Gerd

  • Which trigger is best to validate list item

    Dear all,
    I have one form. Inthis form I have one list item named occupation_status.I have one text field called "Age".
    In the occupation_status property palette I set the "elements in the list" as follows
    List Elements:
    Professional
    Student
    Housewife
    Unemployed
    Not Applicable
    List Item value:
    P
    S
    H
    U
    NA
    My requirement comes here:
    User should allowed to select "Not Applicable" only if his age < 7
    If his age>7 then the list value "Not Applicable" in disable state.he sholud not allowed to select that value.
    where sholud i do the changes? Which trigger is best to do this validation .
    Please help me
    thanks and regards,
    SB

    Hi,
    IF :age > 7 THEN
    :LIST_ITEM_NAME := NULL;
    END IF;if we assign :list_item_name:=null then it may diasbale all the elements in the list item.I want disable only one element- "not applicable" if age>7.
    what can i do?
    thanks and regards,
    SB

  • Submit button from Adobe form doesn't trigger action???

    Hi all,
    the submit button within Adobe form doesn't trigger any action that i wrote. it happens to my machine, but it doesn't happen on some of my colleague's machines.
    i am using Adobe reader 8, when the first time i use IE to display the app, it prompts me to install some kind of activeX plug in, and after it installed, it told me that some setting is not correct, and it mentioned about adobe reader 6 or 7.
    will downgrade to 6 or 7 solve this problem? is there any other walkaround for it?
    thank you!

    If you are on Netweaver 2004s SP9 or higher, you could change the displayType property of InteractiveForm UI element to "Web Dynpro Native" and use the submit button from "Native" tab.
    If you are any other lower version, you dont have a choice but to use "activeX" which requires Active Component Framework (ACF) to communicate with server. You need to use button from "Web Dynpro ActiveX" tab. You need to install the right version of ACF (SAP Note 766191). Better if you use Adobe Reader 8.1.2.
    Thanks
    Ram

  • 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

  • How can I get the Voiceover Keyboard shortcuts to show up in a form in which I can copy

    I have low vision & have been trying to learn to use Voiceover on both my iPhone & my Mac mini for months. Very frustrating.
    1. How can I get the Voiceover keyboard shortcut commans to show up in a form in which I can copy & paste them into a pages document so I can print it out & use for quick reference?? The one that shows up when I press VO +HH won't let me copy & paste it, & it won't show up in the Help section no matter what subject I enter. The help topics shown do not correlate with the topics I'm entering. why is that??
    2. Please make the cursor able to be wider, like in the software program Zoomtext, that I used when I had a PC. The razor-thin cursor (in this text box!) in Pages is impossible for me to see.
    Thank you for any help you can provide.

    http://www.applevis.com/guides/voiceover-keyboard-shortcuts-mac-os-x
    You should be able to copy them from there.

  • Can you create a form in which its never possible for the same person te sign the form more than once.

    Hi, I've been looking into this for awhile and believe the answer is 'no' but was just wondering if anyone here would know of a solution.
    The company I work for has a formulier on which a number of Excel files are placed. This form is then sent to a five (often different) people who are then required to open the Excel files and if accord to place their digital signature. We would like to make sure that no one is able to sign the form more than once and also if possible to make sure they have opened the Excel files. It would be great if anyone had any tips...
    All the very best,
    Martin Angell

    I am not an Excel or Excel-to-PDF conversion expert, so I do not know how Excel forms are converted to PDF form fields. With this caveat here's what I do know.
    In Acrobat It is possible to create a PDF form in which there are JavaScripts associated with fields (any fields, including signature fields). These JavaSripts can do a lot of things, including checking the signer's certificates on the already signed signature fields. Then you can make all unsigned signature fields read-only, in which case the user will not be able to actually sign them. After that you can overlay a button field on top of each unsigned signature field with exactly the same dimensions and associate a JavaAcript with this button field. This JavaScript would put up an UI asking the user for the signing certificate and its password, check this certificate's CN against the list of already signed signature fields and initiate the signing of the unsigned signature field behind this button if your condition is satisfied.
    I never tried that myself but it could work. This looks complicated and it is but if you really want it you can try.

  • I NEED TO CREATE A FORM IN WHICH PICTURES CAN BE ADDED

    I NEED TO CREATE A FORM IN WHICH I CAN UPLOAD PICTURES TO.  CAN A BLANK BE ON THE FORM THAT YOU CAN CLICK THE PICTURES INTO

    Hi;
    There is an "Attachment" field that allows the form filler to upload attachments (images are supported).  Here is a tutorial on adding the attachment field: http://forums.adobe.com/docs/DOC-2656
    I was assuming you meant the form filler, as the author you can of course add pictures to the form using the "Image" form field which allows you to add images from your computer or from Google/Flicker searches:
    Thanks,
    Josh

  • How to get the form name which is used in standard tcode like me23n in sap

    how to get the form name which is used in standard tcode like me23n in sap
    Moderator message: four out of four threads locked, please read and understand the following before posting further:
    [Rules of engagement|http://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement]
    [Asking Good Questions in the Forums to get Good Answers|Asking Good Questions in the SCN Discussion Spaces will help you get Good Answers]
    Edited by: Thomas Zloch on Nov 18, 2011 1:32 PM

    how to get the form name which is used in standard tcode like me23n in sap
    Moderator message: four out of four threads locked, please read and understand the following before posting further:
    [Rules of engagement|http://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement]
    [Asking Good Questions in the Forums to get Good Answers|Asking Good Questions in the SCN Discussion Spaces will help you get Good Answers]
    Edited by: Thomas Zloch on Nov 18, 2011 1:32 PM

  • How to fix Task form issue which is not opening in browser?

    Hi All,
    When trying to open task form link which is in email, facing:
    How to fix this issue? thanks in advance!

    Paul,
    My scenario is: Having a team site and a sub-site. In sub-site, created on list form associated with designer workflow which will assign approval task  to a person who are not a member of this sub-site but member of team-site.
    Before assign task, assign permission to that person using impersonation step like:
    Add Approve to item in Current Item
    Add Approve to item in Association: Task List
    When click the task link which receive in email, that person facing above issue. After I add that person in sub-site site viewer group, then it working perfectly.
    My question is, is it possible to give approve permission to task list by designer workflow to a person who are not a member of a sub-site?

  • How to send error message to forms from Database Trigger

    Hi, Please help me to send error message to forms from Database Trigger?
    RgDs,
    Madesh.R.M

    You are correct, the On-Error trigger is a Forms trigger. However, if your Form is going to display the error generated by the database stored procedure or trigger - you might not see the database error in your Form unless you check the DBMS_ERROR_CODE in the On-Error trigger and manually display the Error Code and associated Text. I've see this happen with a co-worker. The Form she was working on was based on a table with an Before-Insert trigger. Because she was not explicitely handling the error from the Before-Insert trigger in the Forms On-Error trigger, her Form appeared to halt for no reason at all. Once she added code to the On-Error trigger in the Form to handle the DBMS_ERROR_CODE, she discovered the trigger was producing an error and was able to show the error to the user in the On-Error trigger.
    I understand the desire to keep as much as possbile in the database, but with that comes some extra coding in your Forms to handle this. This extra coding could easily be placed in a Forms Library, attached to a Form and called in the On-Error trigger. Your code could look like this:
    DECLARE
       /*This example assumes you have an Alert defined
          in your Form called: 'ERROR' */  
       al_id    ALERT;
       al_text  VARCHAR2(200);  /* Max text of a Forms Alert message*/
       al_btn   NUMBER;
    BEGIN
    IF DBMS_ERROR_CODE != 0 THEN
       /* Error code is ORA-00000 Normal Successful completion
           So only handle non-zero errors  */
       al_text := DBMS_ERROR_CODE||':'||DBMS_ERROR_TEXT;
       al_id := Find_Alert('ERROR');
       set_alert_property(al_id, alert_message_text, al_text);
       al_btn := show_alert(al_id);
    END IF;
    END;Your original question was "How to send error message to forms from Database Trigger?" The answer is you don't because Forms already gets the database error code and database message through the Forms DBMS_ERROR_CODE and DBMS_ERROR_TEXT functions. Look these up in the Forms help and it should clear things up for you.
    Craig...
    Edited by: CraigB on Jun 14, 2010 4:49 PM
    Edited by: CraigB on Jun 14, 2010 4:49 PM
    Edited by: CraigB on Jun 14, 2010 4:50 PM
    Edited by: CraigB on Jun 14, 2010 4:51 PM
    Edited by: CraigB on Jun 14, 2010 4:51 PM

  • I have Form In Which have a button "Submit By Email"

    I have Form In which i have a button "Submit By Email". After the submission i want to redirect user to my the home page of my site

    It may be that the form has used some new features of AA9 and is not compatibile with AA7. You might try to save with AA7 compatibility.

Maybe you are looking for

  • .mov to .gif (animated gif)

    Hi Apple fans I have the worst case never resolve to submit in the history of Apple. Have spent in total 2 and half hours on the phone with Apple customer service and nobody found an answer. I am building up a website and I want to insert an animated

  • How to make more than one home tab?

    On all the windows based browsers, you can type all your home page addresses in or press set current and all the tabs open will now be your home pages. I got firefox for mac to open all my tabs, but I need to do the same for safari.

  • I deleted the settings app on my iphone.  How do i get it back?

    I need to get this app back and don't know how to do it.  Please help.

  • LMS4.1: Logrotation Job

    Hello, Did setup the Logrotation Schedule, applied and got a response that it scheduled. If I call this again, everithing is shown as default. And I cant find Logrotation Job in the global Job-Browser. are there any hints how to can find this Logrota

  • Namespace specifcation in XML Element

    I need to create an xml file whith namespace specifications on the first XML Element.(sample below) Is there any function provided by the Oracle XML Java Utility that supports this? Sample::::::::::::::::::::::::::::::::::::::::::::::: <?xml version=