Create/Modify another form's triggers

How can we create modify an existing form trigger from another form? Eg, in FORM A, I want to create a PRE-BLOCK trigger on a certain block in FORM B before calling FORM B. Any advice is appreciated. Thanks.

I want to control the firing of the trigger, ie, want it to fire only if FORM B is opened from FORM A.
If this cannot be done, can we pass parameters into the trigger in FORM B and then do the checking using the input parameter?
I guess another way is to use a flag in a user-defined table?

Similar Messages

  • How do I change template designs once a form has been created using another template design?

    How do I change template designs once a form has been created using another template design?

    I talked to a service Representative and he told me there isn't a function to change a form using one template to a different template. For example, I used template for "Accommodation registration" and wanted to change it to "admissions application." I was hoping I could just select a "Change template" rather than having to copy/paste everything to the new template. But that's what i had to do. Maybe the next version of this software will make it easier to change design templates.

  • Create another form server

    Hi,
    I have the following requirement. We want to use the same OAS installation to test our two set of different form source code. Besides having to reinstall another new OAS environment for that purpose, i was thinking can i create another form services which will use different form source code.
    The version is 9.0.4.2
    Please let me know if there is any reference document on this. Thanks
    Edited by: Kok Aik on Jun 26, 2009 10:53 AM

    Refer following note on MetaLink:
    ID: 312834.1 How To Create a Second Forms Services OC4J Instance In Oracle Application Server 10g
    If you don't have MetaLink access then refer section "Deploying Forms in a custom OC4J container" in following doc:
    http://www.oracle.com/technology/products/forms/pdf/10g/advancedformsconf.pdf
    Hope this helps.
    Thanks
    Shail

  • Creating a Tabular Form based on Input Parameters passed from another page?

    Hello,
    APEX version 3.2
    DB version 9.2
    Internet Explorer 6
    I created a tabular form, but do not want to return all the records from the table.
    Is it possible to create a parameter page for the user to enter a string of values that will be submitted to create a tabular form, only displaying those records from the table?
    Thanks.

    Why not use an instr with your data in a bind variable in your where clause for the select?? Page 1 sets an item called P2_Parameter with your value string slightly modified ('12345','345632','645534534','3434344')
    Select a,b,c,d,e from some_table where INSTR(TO_CHAR(Lookup_column,'099999999'),:P2_Parameter)
    Maybe that will work? Its off the top of my head, but should get you what you want.. (But to agree with one of the other posters, it is a BAD Design..) I would try like an interactive report to allow them to enter in acct #'s or whatever these are and let them access the rows that way..
    Thank you,
    Tony Miller
    Webster, TX

  • How to create another form library item in Infopath?

    Hi All,
    I have a Infopath form library and submited a new item successfully. But my requirement is, when i update the same item then it should submit as new item in that form library. How to achieve this in? Thanks in advance!

    Hi Sam,
    According to your description, after updating an item, you want to save it as a new item in the Form Library.
    In SharePoint Form Library, the items with names are not allowed to be created. In this scenario, after updating an item, a workaround is that you can submit the item
    as a new Form Library item with another name.
    To save the current editing item with a new name, we can use a formula to generate a date time string as the “File name”, then each time user submits an updated item,
    there will be a new form created in the Form Library.
    Here is the related formula I use in this scenario, you can change the formula according to your requirement:
    The same Form Library items are submitted with different File Names based on current time:
    Here is a link about adding a submit data connection, you can use it as a reference:
    https://support.office.microsoft.com/en-us/article/Submit-form-data-to-a-SharePoint-library-86e3c32d-d921-4b2e-9d74-89bdc62c6936?CorrelationId=d9e73082-2630-48c6-92c7-c001e15315fa&ui=en-US&rs=en-US&ad=US
    Best regards
    Patrick Liang
    TechNet Community Support

  • Error when modifying tabular form

    Hi
    In Apex 3, I created a tabular form based on the query below:
    select user_id /* PK */, name, dob
    from users
    It works perfectly well; I am able to update the name and dob fields.
    Then I changed the query to:
    select user_id /* PK */, name, null dob
    from users
    ...(i.e. not interested in the dob column anymore but want to keep the report column) and cleared the properties reference table owner/name/column name of the dob report column.
    However, when I try to update the name of a user, I get the error:
    Error in mru internal routine: ORA-20001: Error in MRU: row= 1,
    ORA-20001: ORA-20001: Current version of data in database has changed since user initiated update process.
    current checksum = "7C3CD9C5DA0B5AF45AE616959020A0AA",
    item checksum = "6910D5C7015D84773A9E8F65299991F6".,
    update "SCHEMA"."USERS" set "USER_ID" = :b1, "NAME" = :b2, "DOB" = :b3Why is dob still being included in the update statement?
    Did I miss something?
    Thanks,
    Luis

    Since the DOB was one of the columns specified when you created the tabular form, the internal PL/SQL process that it uses for making updates is still trying to update that column. As you have now modified the underlying query for the form and are passing a NULL for your DOB, you will find that any update made using this form would set the DOB to NULL, so beware!
    Unfortunately, once you have created a tabular form, you cannot make changes to the process that it uses for manipulating data. Another drawback of the tabular form is that it uses the primary key of the table as a way of knowing which record it is updating when it processes the changes. As a result, you cannot modify the primary key value itself - and that is why you are getting the error.
    Generally speaking it is not a good idea to edit primary key values. If this piece of information does require editing, I would suggest you find another candidate for the primary key - perhaps a standard sequence-populated column that could act as a surrogate key?
    Cheers,
    Colin

  • Calling Custom Form from Another Form

    Hi All,
    I have created a Custom form using TEMPLATE.fmb and created functions in Apps and assigned to Responsibility etc and it all works OK.
    Now, I need to call this Custom form from another seeded(PO form) Via Tools -> Menu.
    using Forms personalization I can get the Menu Entry and Actions to execute the Form successfully from the PO Form.
    BUT, I need it to automatically query records in my CUSTOM form based on my current PO_HEADER_ID value on my PO Form.
    How can I do it ?
    Do I need to modify my Block and add some parameters and then pass a value via Personalization ?
    Please help !
    Thanks
    Shankar

    Hi ,
    I found similiar solution on another forum as below.
    http://it.toolbox.com/blogs/apps-traction-blog/how-to-create-a-zoom-using-oracle-form-personalization-12081
    This works fine for the Purchasing form and allows me to zoom to the Supplier form.
    But in my case, I want to zoom from the Supplier Form to my CUSTOM form. I replicated the exact steps as per the link.
    However, it does NOT work as expected. It gets up to the ENTER QUERY mode in my CUSTOM form and remains in Enter Query mode. If I manually then Press key F11 to execute the query it brings back all records.
    Do I need to do anything special in my CUSTOM form to make it behave in a similiar way to the Supplier Form ?
    Thanks
    Shanky

  • How to call another form ,if option is entered in a text item object ???

    hi ,
    I am created an application ,where in i press a button which call another form having a menu .
    I select any one of the option from the menu ....i enter a number in the text item object of this form ....depending upon what option i have typed .....i would like to call another form ...
    My questions are
    1) Which trigger of this text item should be enabled,and what code to i write in this trigger ?
    2) Since this form is not having any database insert,delete ,update or query (select)
    it should directly go to the new form,whose option i provide in the text item .
    Sunny

    hey bro, i am assuming that ur text item contains the form name, any relevant trigger can be used for user action, like key-enter, post-change or key-next-item.
    to run a form u can use functions call_form or open_form with proper paramters.
    if u want to forward the entered text in the item, use global variable for the session.
    it doesnt matter if the form contains database items or blocks, all u have to do is run the form.
    e.g,
    declare
    VAR VARCHAR2-------;
    begin
    /* u can use the variable to concatinate or modify too, also can use global variable
    var:=:urblock.uritem;
    /* use ur own relevant parameters */
    open_form(VAR,ACTIVATE,NO_SESSION);
    exception
    when---------
    end;

  • Hide poplist element depending on another form column

    Hello everyone,
    In a nutshell: I’d like to know how to hide (or show) elements in a poplist, depending on the value of another column on the FORM.
    I have a FORM where I have the following columns:
    1)     ISNONSYN…can have values ‘Y’ or ‘N’
    2)     ISIDSERTAIN…has a poplist (set of static values) with values ‘Y’, ‘N’, or ‘-‘
    3)     5 other columns
    What I need to is as follows:
    If ISNONSYN = ‘Y’ then
         * The poplist for ISIDCERTAIN must only show ‘Y’ and ‘N’ in the dropdown. Do not show the ‘-‘
         * The 5 columns should be fully updateable
    ELSE if ISNONSYN = ‘N’ then
         * Default ISIDCERTAIN to the value ‘-‘
         * Make ISIDCERTIN and the 5 columns non enterable and non navigable
    END IF
    So that’s it….
    If I come into the form with ISIDCERTAIN having ‘Y’, ‘N’ and ‘-‘ in it’s dropdown…how do I HIDE the ‘-‘ when I scroll to a row where ISNONSYN = ‘Y’? In this situation, the value of ‘-‘ must not be seen in the drop down.
    I created a pre-form trigger where I did a
    DELETE_LIST_ELEMENT(‘ISIDCERTAIN’,3); to remove the ‘-‘ from the poplist.
    It all worked fine with rows having ISNONSYN = ‘Y’, but whenever I scrolled to a row with ISNONSYN = ‘N’, a WHEN-LIST-CHANGED trigger on ISNONSYN will check the value of ISNONSYN. If it = ‘N’ then it will do 2 things to ISIDCERTAIN (as well as making the other 5 columns unenabled):
         1) :<blockname>.isidcertain:= '-';
         2) set_item_property('<blockname>.ISIDCERTAIN',ENABLED,PROPERTY_FALSE);
    BUT... when I try to commit, it says that the value’-‘ is not a valid value for ISIDCERTAIN!
    So, I need some way to DELETE_LIST_ELEMENT or ADD_LIST_ELEMENT on the fly for each row – depending on the value of ISNONSYN…unless there is a way to leave ISIDCERTAIN with the 3 values of ‘Y’,’N’ and ‘-‘; but somehow just HIDE the ‘-‘ when ISNONSYN = ‘Y’. Can I modify the WHERE clause somehow?
    Any assistance that anyone can give me would be greatfully appreciated...
    We’re using FORMS 6. We actually do 100% generation here (must be 1 of the last sites in the world!). We make all our changes in DESIGNER and generate the form from there. But if someone can tell me how to do what I need to do, in FORMS; I should be able to work out how to get it into DESIGNER for generation.
    Thankyou…Tony Calabrese, Adelaide, South Australia

    Mark, thanks again for persisting.
    I think we're very, very close...but just not quite there.
    In your 2rd sentence, you state:
    "Question: At this point, which element does ISIDCERTAIN show as selected?
    Answer: I think it is (or might be) '-' "
    This is not correct. At no point do I select the '-' from the poplist. It is the 'Y' that is on the form when the 'NNN deleting now' message comes up
    Nonetheless, I included the statement as you suggested.
    I included the :
    :flsp7.isidcertain := null;
    at the place in the code where you suggest.
    The result was still a:
    FRM-41331 Could not delete element from ISIDCERTAIN
    Mark, I found this on metalink...could this have something to do with it? I am INSERTING a new row when I choose the poplist values:
    Subject:      FRM-41337 When Populating List with Record Group
         Doc ID:      Note:2075384.6     Type:      PROBLEM
         Last Revision Date:      20-OCT-2005     Status:      PUBLISHED
    Problem:
    FRM-41337 WHEN POPULATING LIST WITH RECORD GROUP DURING RUNTIME
    The code compiles fine. Getting the error intermittently.
    Solution:
    Trying to change a poplist's values based on a record group while the block status is set to
    CHANGED or QUERY. This can be only when the status is NEW. If forms is in QUERY
    OR CHANGED mode it needs to display some info. Changing the list elements could cause
    problems with displaying the info that is already there. So, it cannot be done.
    To get around this problem, ensure that block status is NEW mode when updating the List.
    This prevents on the fly updates. Alternately use LOV for fly updates.
    And Mark....as well as raising this issue here on OTN, I also raised it in METALINK. Someone over there has suggested a different approach - using RECORD GROUPS :
    https://metalink.oracle.com/metalink/plsql/f?p=200:27:5275918850865978815::::p27_id,p27_show_header,p27_show_help:702091.994,1,1
    I think we were getting pretty close there too...but alas...
    Thankyou again,
    Tony Calabrese

  • Call Another Form using Forms Personalization

    Hi All,
    I have created a Custom form using TEMPLATE.fmb and created functions in Apps and assigned to Responsibility etc and it all works OK.
    Now, I need to call this Custom form from another seeded(PO form) Via Tools -> Menu.
    using Forms personalization I can get the Menu Entry and Actions to execute the Form successfully from the PO Form.
    BUT, I need it to automatically query records in my CUSTOM form based on my current PO_HEADER_ID value on my PO Form.
    How can I do it ?
    Do I need to modify my Block and add some parameters and then pass a value via Personalization ?
    Please help !
    Thanks
    Shankar

    Duplicate thread (please post only once).
    calling Custom Form from Another Form
    calling Custom Form from Another Form
    Thanks,
    Hussein

  • Error while calling a form from another form's menu item

    I created a main form and menu module for this form.
    I am calling another form from main form menu item.
    i moved both the forms and menu and compiled them.
    But, when i run this form i am getting an error saying
    FRM 92100: Your connection to the server was interrupted
    This may be the result of a network error, or a failure on the server.
    You will need to establish your session.
    I set the seperateframe = true
    networkentries = 30
    But still getting the same error.
    Is there any parameter that i am missing.
    I will greatly appreciate if anybody can direct me to the solution.
    Thank you.
    Navya.

    Hi guest,
    the data definition is:
    DATA: XVBKD LIKE VBKDVB OCCURS 0 WITH HEADER LINE.
    the assignment:
    XVBKD-PRSDT = likp-erdat.
    Thanks,
    Hagit

  • Is there any api to modify the form field in PDF?

    Hi,
    Our client need we provide the editable PDF, i.e. some form fields in the PDF report can be edit. Now we created the PDF template and merged it with the XML data definition in Jdeveloper, but when we get the final PDF report, we found that the PDF form field property is changed to "Read-Only" automatically. We make sure that in PDF template the form field is not "Read-Only", something happened when we merging the XML data and the PDF template.
    Now we wonder if there is any API can help us to modify the PDF form field property, after we merge the XML data and PDF template, we can use it to change the form fields to editable, not "Read-Only".

    Hi,
    What I need is to modify some form fields' property, I explore some web and found before I create the PDF file, I can set the security of the PDF:
    Properties prop = new Properties();
    prop.put("pdf-security","true");
    prop.put("pdf-open-password","welcome");
    So I wonder if there is one property related to the PDF form field.
    Thank you.

  • Passing field values to form from another form

    Hi,
    I have multiple detail table for a master table. The master table is project table and the details tables are all related to the project table. In the portal forms we cannot have a form based on multiple child tables. So I am trying to enter one detail table at a time. I have created a master-detail table based on project table and a detail table (cost table). After I enter data in this MD form I want to carry the projectid to another form based on another detail table (resource table) on the next page. I want to navigate to this next form by clicking on a next button after I have entered data on the previous MD form.
    The projectid is a hidden field in the first MD form and is generated by a database sequence. I understood that there is many ways to send field values to a form:-
    1. By creating a moduleid link on the next button. This link will have the projectid value
    2. By calling the form from a PL/SQL procedure on the CALL/GO of the first MD form.
    I am not sure how to get the 'projectid' value generated from the sequence and pass it to the link or a procedure. Will the projectid value be stored in the session ? How do I get it ?
    Is the above way of entering multiple detail tables feasable ? Please advice.

    Hi,
    I have multiple detail table for a master table. The master table is project table and the details tables are all related to the project table. In the portal forms we cannot have a form based on multiple child tables. So I am trying to enter one detail table at a time. I have created a master-detail table based on project table and a detail table (cost table). After I enter data in this MD form I want to carry the projectid to another form based on another detail table (resource table) on the next page. I want to navigate to this next form by clicking on a next button after I have entered data on the previous MD form.
    The projectid is a hidden field in the first MD form and is generated by a database sequence. I understood that there is many ways to send field values to a form:-
    1. By creating a moduleid link on the next button. This link will have the projectid value
    2. By calling the form from a PL/SQL procedure on the CALL/GO of the first MD form.
    I am not sure how to get the 'projectid' value generated from the sequence and pass it to the link or a procedure. Will the projectid value be stored in the session ? How do I get it ?
    Is the above way of entering multiple detail tables feasable ? Please advice.

  • How can we get data from One Form to Another Form

    Hi All,
    I have 2Forms.I'm calling one form from another form buy using next form button.
    If i press itis opening 2nd form,Simultaneously i have to get the data to the 2nd form.Can any one help me in this.
    Any triggers has to be fire tell me the solution
    Regards
    Siva

    you may have better success over here
    Forms

  • Is there a way to create reusable HTML Forms that can be used on multiple pages?

    I'm trying to understand the recommended approach to managing 10 HTML forms that will be reused on many different pages.  I want to be able to modify the form definition once and have the change propogate.

    Is your requirement that authors be able to change the form definition, or should form definition be controlled by developers?
    In the case of authors being able to change the form definition then I would say best practice would be to create a page that holds the form definition (using whatever components work for you - either the out of the box form components or something custom). Then use the reference component to point the definition in all the other locations you want the form to appear. One thing to note is if you are using dispatcher for caching you need to make sure you strategy for cache flushing accomadates this approach.
    In the case of developers controlling the form definition you could crate a component for each form, and then simly drag that component onto the pages that require the form. In this case your would control all the form label and description elements in the localization file.

Maybe you are looking for

  • Compilations and Album Artists...

    I give up. Apple just can't seem to decide how the heck it wants to organize albums. They ad an "Album Artist" that is useless. In iTunes it is great for DJ mixes. You can have each track and its artist labeled correctly and then group them all under

  • How to replace my calendars via iTunes?- not working correctly

    iCal has been working great for me unitl a few months ago when I had major duplicating events problems.... I've thought about swictching to something else, but I really do like ical and would like to fix this final problem..... For the moment, my onl

  • How to change the text already available in a video?

    Hi I have a video with a text on it that I would like to change. I'm using Premiere Elements. Does anyone can help me?

  • "Java Applet Window" appears in my popup menu

    Hello I have added a popup menu to my applet but whenever the popup menu appears, I also get the text "Java Applet Window" at its bottom. What is causing this? Can I get rid of it?

  • Nokia N8 is dead!

    Hi, My Nokia N8 is suddenly dead. It just doesnt start. Any help is appreciated!!! Thanks, P.