Referencing object from another form

I have two forms. The first one (F) uses some objects from the second one (Lib). There is a reference to item of the form Lib in a program unit of the form F as :something:=:blok.item (blok.item is defined in the form Lib).
Although I have put the form Lib to directory listed in FORMS45_PATH, if I try to open form F, I get message table or view does not exist and then cannot retrieve block B in Lib module. When I try to compile this program unit, I get message bad bind variable.
They are legacy forms and I need to use them. Can you help me please? What it is necessary to setup to work correctly?
Thanks
Jarda

Hi,
I hope you might want to change the icon in form 2 based on some attribute value from form 1? If yes, probably you can pass that as a parameter list to form 2 / set a global value. In the form 2's WHEN-NEW-FORM-INSTANCE trigger, you can check the value of the parameter/global value and change the icon as required.
-Arun

Similar Messages

  • How to refer the trigger written in one form from another form ?

    How to refer the trigger written in one form from another form ?
    Thanks,
    Ravi Shankar

    Try to convert the PL/SQL code from Forms trigger into a PL/SQL library(.PLL),
    and then attach that PLL in your forms.
    Note that all Forms objects should be referenced indirectly, for example,
    you have to rewrite
    :B1.DEPT_CODE := :B2.DEPT_CODE;
    :B3.TOTAL_AMOUNT := 100;
    ==>
    copy('B2.DEPT_NO','B1.DEPT_NO');
    copy('100','B3.TOTAL_AMOUNT');
    This is the best way to share PL/SQL code among Oracle Forms.

  • Referencing object outside a form

    Hello,
    I have a form with an icon (form A). This one creates another form (form B ) with the open_form built-in. I would like modifying
    the graphical attribute of the icon when I am in form B. How can I reference an object in another form ?
    Name_in () doesen't work in this case. Have-you an idea ?
    thank's

    Hi,
    I hope you might want to change the icon in form 2 based on some attribute value from form 1? If yes, probably you can pass that as a parameter list to form 2 / set a global value. In the form 2's WHEN-NEW-FORM-INSTANCE trigger, you can check the value of the parameter/global value and change the icon as required.
    -Arun

  • What are the 3 ways to call a form from another form?

    What are the 3 ways to call a form from another form?
    What is the command to call a report from within a form?
    How do you attach a menu to a form?

    Hi,
    1. Should be new_form, call_form and open_form
    2. The command is run_product
    3. There is a property 'Menu Module' in form, just change it to your menu file name
    Regards,
    George
    Can anyone help me with the following questions...
    What are the 3 ways to call a form from another form?
    What is the command to call a report from within a form?
    How do you attach a menu to a form?
    Thanks for your time..
    Madhu

  • Control access of a form from another form.

    hi all,
    Please help me .
    This is a system which contains a lot of forms (more than 100) . The system administrator can specify whether a user can insert, update,delete or query for each form (this varies for each user). So, when a user logs in and calls a form i have to enable / disable the insert, update,delete or query according to the user who has logged in and the privileges the system administrator has given for that form.
    i used the call_form method with query_only mode and no_query_only(normal mode) option . The normal mode allows insert,update,delete and query together but i want the user to insert into database without querying any of the records.
    So, in short , i would like to know if i can enable/disable insert,update,delete & query of a called form(Form B) from calling form (Form A) without having to modify (Form B) and without issuing any grant statements in the database side ? Is there any option like the one in the call form method?
    Thanking you in advance.

    Thank you very much for the response.
    yes, set form property and set block property can be used when i want to enable / disable insert in the current form. But, what if i want to control enable/disable insert from another form (the main form) ????
    Can i pass parameters ? without making any change in the current form.

  • Frm-92101 happens when I open a form from another form and close it.

    Frm-92101 happens when I open a form from another form, check something, show a message to the user and exit the form to the previous form.
    Forms version: 10.1.2.0.2. Java: 1.6.0_23. Browser: IE6
    When I put before the "EXIT_FORM" two messages, everything is fine and the second form is closed and I repeat to the first form just as I wanted.
    In forms 9.0 it didn't happen.
    Does it have a connection with the fact I use JRE instead of JInitiator?
    Thank you.

    >
    There are numerous causes of the FRM-92101 error. I recommend you start your investigation by tracing your Forms session so you can see what your form is doing when the error occurs. Check out My Oracle Support document How to Use Forms Trace with Forms [ID 209372.1] for information on how to enable the trace. Also, take a look at My Oracle Support document Known Causes of FRM-92101 Error In Forms [ID 604633.1].
    Hope this helps,
    Craig
    >
    I have just found that there is a "Synchronize" command in one of the main attached libraries, and when I comment that command the application works well. But I don't want to comment it because it's a great library and I assume it has a part in the system.
    I have discovered that in the new Forms' help, the fact that the System.Current_Item mustn't be null so the command "Synchronize" will work, is mentioned. In the old Forms' help, that fact is not mentioned.
    So I tried to put it inside a condition that checks if the current item is not null, but the compiler doesn't recognize the "current_item". I don't know why. Because it's a library? So how can I check this? I can sent it as a parameter, but I don't want. Do you know something about it? Thank you.

  • HOW TO CALL A FORM FROM ANOTHER FORM

    HOW TO CALL A FORM FROM ANOTHER FORM [local machine]

    Balraj wrote:
    HOW TO CALL A FORM FROM ANOTHER FORM [local machine]The way you asked question is this bit of request or order?
    Secondly, you used capital latters which are being treated as Shouting Language. So, always try to switch off the Capslock of your keyboard.
    Thirdly, you are very lazy to serach on forum or google for your problem instead of waiting someone to anwer your question.
    Your should seriously have a look at FAQ.
    http://wikis.sun.com/display/Forums/Forums+FAQ
    Also here.
    http://www.catb.org/~esr/faqs/smart-questions.html
    Please read documentation for the initial questions.
    -Ammad

  • File upload hanging when called from another form

    Hi
    I have created a file upload form from the documentation I found on metalink and the form works fine on its own. I have then implemented the form into a multi form application and when the file upload form is called from another form it hangs trying to get to the client drive so that it can pick up a file. I have tried using the 'call_form', 'open_form' and 'new_form' built-ins but the results were all the same. Can anybody help me?
    Maria

    Hello,
    This is not the support, so there are no post more urgent than other.
    Francois

  • Different messages on COMMIT_FORM ,when form is opened from another form

    hi,
    problem is when open form from another form. After change some data and execute COMMIT_FORM, message is : No changes to apply.
    Interesting is that when exit and open form again, changes is SAVED !?.
    If open that form directly, message is that like should be ( Transaction completed...).
    Has anyone idea where is problem?

    Hello,
    While calling the form try with 'DO_REPLACE' option.
    Thank U.

  • Selecting fields  PLD  from another form

    Hi Experts,
                    I want to print invoices which are in four format like sometimes i am using GRN no which is not in invoice form of SAP -B1  if i want to select fileds in PLD from another form Lets say right now if i have open A/P invoice and some fields is in another for Lets Say Item master data so can i select that feld  in PLD
                        Pls revert back that this can be done or not or even if  i am not clear enugh
    thankx and regard
    Satish tale ( SAP-B1 functional consultant ,Paradyne Infotech limited)

    Effectively, you can copy a field from a form to an other in order to add tables.
    Sincerely,
    Olivier SPINELLI

  • Invoke a from from another form

    Hi,
    Is it possible to invoke a form from another form. For example, based on a radio button choice or in button click event, i just need to show another form, but not in seperate window. We tried using app.launchURL(form workspace url). However it doesnt work in desired way.
    Please help if you have any idea on this.
    Regards,
    Sudha

    Sudha....
    the technical aspect you want to prove is calling another webpage...
    What is at the end of the webpage is irrelevant....
    your test code is:
      xfa.host.gotoURL(www.google.co.za);
    you work code is:
    xfa.host.gotoURL(http://someserver/pdfs/mypdf.pdf);
    have fun...
    8 BIT PLATOON
    design develop deploy
    www.8bitplatoon.com

  • Open the form from another form...

    How can I open the form from another form with the PL/SQL code???
    The my form are create from OracleDesigner and developed with OracleBuilder.
    Regards
    Basilisco Giorgio

    You can read "About calling reports, displays, and other forms from generated forms" topic in the Designer on-line help. By the way in Forms there are CALL_FORM,OPEN_FORM and NEW_FORM built-ins.
    Helena

  • Query a second form from another form by passing value

    Hi,
    I have two forms. I am trying to query a second form from another form. I have managed to display the query results in the second form by passing value from the first form. I did it according to the details in the Oracle 9ias Portal Technical FAQ html file.
    It works fine when there is already a row in the first form. When I insert a new row in the first form and query the second form which has key from the first form, there is no matching rows displayed which is correct but detail action mode is 'NONE' for all detail rows.
    According to the FAQ, it says the following:-
    "When the called form is started, it executes a query with the supplied condition (in this case, "where deptno=10"). If the query is successful, the matching rows are displayed in Update mode. If no matching rows are found, the form starts in Insert mode."
    It does not happen for me. I get NONE mode for no matching rows. Is this a BUG ? I am working on Portal version 3.0.9.8.0.
    Is there something wrong in the code I wrote ? I would like to have all the detail mode as Insert.
    Here is the following code I wrote on SUCCESSFUL SUBMISSION OF THE FORM.
    declare
    my_url varchar2(1000);
    v_deptno number;
    begin
    v_deptno := p_session.get_value_as_NUMBER(p_block_name => 'DEFAULT', p_attribute_name => 'A_DEPTNO');
    my_url := 'PORTAL30.wwa_app_module.link?p_arg_names=_moduleid&p_arg_values=1268491962&p_arg_names=_show_header&p_arg_values=YES&p_arg_names=deptno&p_arg_values='||LTRIM(TO_CHAR(v_deptno))||'&p_arg_names=_deptno_cond&p_arg_values=%3D';
    go(my_url);
    end;

    Hi,
    The behaviour is OK as in the MD form there are two states "Save" and "Query and Save" and when the form is in "Query and Save" mode that means you can use it for both Query aswell as Save which is decided by your "Master action" if that is None it is used for Query , for Insert you will have to select Insert ,this is the Insert Mode behavior.
    If you open a new MD form that is also in the "Query and Save" the same behaviour will be there.
    Hope this answers your query.
    rahul

  • Attach a form objects to another form

    Hi, excuse me if my question is evident for you, i am a little new with oracle form,
    i want to know if it is possible to attach a form objects to another form and how to do that. Thanks for your help.
    Edited by: Tabit7 on Apr 1, 2011 11:37 AM

    You cannot attatch a whole form (.fmb) to you form but you can subclass blocks canvas for example.
    open your form A and B
    in your reference form A select the block you want to have in form B (subclassed) and select and drag it to B.
    You will have a popup saying "do you want to copy the object ir subclass it ?" choose sublass and you are ready...
    Do the same with canvas.
    but PAY ATTENTION !!!! this method seems very useful if you have let say a identical master block for different forms.
    but you have to handle it with precautions as every changes made in form A will be reflected to all your sub-classed forms B, B1, B2 .... and could cause you designs problems
    if for example you master form A width change to something larger than one of you B forms.
    Hope this helps
    JeanYves

  • Urgent:Error While calling one form from another form

    Hi,
    i am using a form in which zoom functionality is enabled.From this form if i am clicking view->zoom it should open another form which should accept two parameters from the first form.But whenever i am clicking on zoom its giving the following error.
    FRM-47023:No such parameter named G_QUERY_FIND exists in form
    XX_EMPLOYEE_CONVERSION(Name of the form which i am calling from first form)
    When i am clicking 'ok' then it shows the error
    FRM-40105:Unable to resolve reference to item PARAMETER.G_QUERY_FIND
    Eventhough i have developed my form using template.fmb which uses the parameter G_QUERY_FIND why this error is coming?
    Can anyone suggest a solution for this.
    Thanks in advance

    PARAMETER.G_QUERY_FIND is one of he objects in the APPSTAND.fmb. You will need to Subclass all of the objects in APPSTAND.fmb in your custom form. If you do not have a copy of this file in your FORMS60_PATH, I suggest you put a copy there. If you don't have a FORMS60_PATH specified then I would highly suggest adding this entry to your Forms Home in the Registry. Also, you will want all of the libraries in the AU_TOP/Resources folder as well.
    I also suggest looking at the Oracle Applications Developer's Guide (http://download.oracle.com/docs/cd/B25284_01/current/acrobat/115devg.pdf) as it outlines all of the required objects you must have in your form and reports.
    Hope this helps.
    Craig...

Maybe you are looking for

  • How do I delete photo albums from my IPhone that don't show up in Itunes?

    I have an IMac recently upgraded to OSX 10.9.  My Iphone is a 4S running 7.0.4.  I know how to manage songs and photos using ITunes, but somehow my entire photo library has been synched to my IPhone.  The odd thing is the photos don't show up when I

  • Update count is not refreshing in obiee11.1.1.7 after upgrade

    Hi Team, we have upgraded the obiee from 10g to 11.1.1.7 every this works fine except. when we are doing updated count for segment,Segment tree or priview List outputb File the query ends at back end but in the screen from where i clicked the update

  • Can N8 auto-connect to a hotspot?

    Hello I wondered if it is possible for the N8 to auto-connect with a login to a Hotspot? When I'm at home, the device connect flawlessly to my wifi and my newsfeeds gets updated the way they should. However, when I'm at work you have to connect to th

  • Making iWeb movies friendly to windows

    Here is the deal- I have been in touch recently with 4 different windows users who frequent my website. 2 of them have no trouble with the QT movies but 2 of them do. One has no video but sound and one gets nothing but the progress bar but nothing pl

  • Noise below the power button

    I have a noise (is it the hard drive?) coming from under the area of the power button on my Aluminum Powerbook 15". It is not always there, but comes and goes. It is a swishing type sound that actually sounds like someone breathing as they are sleepi