Forms & PLSQL libraries

Hi
I have a procedure that calls reports from forms. I had executed the procedure code as a trigger and it works successfully. Now I am trying to create a procedure so I can reuse the code.
I attached procedure as library and am able to successfully "compile all".
(1)
However when I try to run the form, I get the following compile errors:
FRM-30370: Popup menu must have at least one item.
Popup Menu MENU36
Form: MODULE1
FRM-30085: Unable to adjust form for output.
I have no popup menu in myproject
(2)
Everytime I open the form I get the following warning
FRM -10102 Cannot attach PL/SQL library. This library attachment will be lost if module is saved.
For now I just say okay and then go ahead and attach the library again. I researched metalink and was not exactly sure what was being asked.
I have the following dir structure on Windows XP Oracle 9iDS R2
OH\scripts\myproject\forms\*.pll
OH\scripts\myproject\forms\*.fmb/x
Please advice
Also could you tell me, good reference links dealing with PLSQL, library and forms. I am aware that otn has a vast documentation, but I am seeking something specific.
Thanks

Mayura,
make sure the library is in a directory mapped in Forms90_path or have it stored in the Forms90 directory directly.
Please check the fmb file, maybe you created the popup menu without noticing.
Frank

Similar Messages

  • Migrating InfoPath 2010 Forms(Lists/Libraries) to InfoPath 2013

    Hi All,
     We have lots of InfoPath Forms in SP2010 and migrating to SP 2013. It would be helpful if anyone could suggest a suitable way to migrate the Forms. 
    Trying to avoid external tools just planning to inhouse.
    Thanks,

    Hi,
    According to your post, my understanding is that you wanted to migrate InfoPath 2010 Forms(Lists/Libraries) to SharePoint 2013.
    The issue is caused by the security and Claims-Based authentication.
    There is a new Secure Store Service ID that needs to be created to allow InfoPath to connect over Claims Based Authentication
    Here is a great blog for your reference:
    http://thatssharepoint.blogspot.com/2013/12/issues-with-infopath-forms-after.html
    More information:
    InfoPath and SharePoint 2013 – Upgrading your forms
    Migrating InfoPath Forms Services applications from 2010 to 2013
    Thanks,
    Linda Li
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Linda Li
    TechNet Community Support

  • Forms 6i libraries in UNIX vs NT

    We are trying to compile forms under UNIX but are having problems with upper case and lowere case libraries. Basically forms are created in NT which is where we attach the libraries, save the fmb and ftp to UNIX and try to compile. Get errors indicating libraries do not exist. If we have 2 copies of libraries, one in upper case one in lowere case, then the form compiles. Is there any way to get around having filenames in both upper and lower case ?

    Soryy,I do not have a solution to your problem, but I do need your help on 1 issue. We have Oracle Developer Server 6.0 installed on UNIX server.We want to make changes to a few forms and also develop new forms. Can you tell me whether we need to install the Developer software on the clients to make changes/develop new forms OR Can we access the software on the server from the clients to make the changes.
    Your help would be highly appreciated.
    Regards
    Abhishek

  • Creating an executable from forms,reports,libraries,menus etc.

    Dear All,
    How do I create an executable from the complied forms,reports,menus,libraries which I have developed.
    How do I incorporate the runtime for forms & reports within this executable.
    Regards,
    Murtuza M Rangwala
    For ALIF Management Services Pvt Ltd.
    (Customer Support)

    To create an executable you will need to generate the form and report. CTRL +T does this. First compile and then control T and you'll be ready to go.                                                                                                                                                                                                                                                                                                           

  • Compile menu(mmb) and plsql libraries(pll) in Solaris

    Hi Sir,
    I'm migrating my forms application from NT to Solaris.
    I used f60gen to compile forms. It works fine.
    But when I use it to compile menu(mmb) it does not work.
    Can you tell me which program to use in order to compile menu(mmb to mmx), plsql library (pll to plx)?
    Please advice.
    Thanks.
    Regards,
    -Jap-

    Just use the same program except changing options.
    If you use forms 4.5 or 5 or 6, use f45gen.
    Otherwise you use forms 6i, use f60gen.
    In the options, there is "module_type" option.
    Here is the example.
    If you intend to use library file(.pll), you can use the following command.
    $f60gen module=FNDCONC.pll userid=APPS/APPS output_file=FNDCONC.plx module_type=library batch=no compile_all=special
    If you intend to use menu file(.mmb), you can use the following command.
    $f60gen module=FNDMENU.mmb userid=APPS/APPS output_file=FNDMENU.mmx module_type=menu batch=no compile_all=special
    Good luck!

  • Forms and libraries

    hello,
    We are building several forms (6i)with attached libraries using formsbuilder.
    We have a dispute about whether it is necessary to regenerate the forms after making some modifications to the attached library.
    Can anybody give us a answer if and when it is necessary (or not) and please also a reason.
    Best regards,
    Joshua

    you dont need to do any thing.

  • Sharing Forms Object Libraries

    We are redeveloping a Forms 4.5 application in Forms 6i Rel2 using 9i database and want to make use of shared object library components for shared code etc. Whilst we can share other library components, every time we try to share any object library components through the Forms Administration/Module Access dialogue we get the error "FRM-10021 Unable to find this module." Of course Help simply reveals "Cause:Internal system error. Action:     Contact your DBA or an Oracle support representative."
    The owner of any module can still load the object library but no-one else can see the module(s) or make use of them.
    It is possible for two different users to create an object with the same name, as revealed in the table system.tool__module but it is still impossible to share the object.
    I have searched both this forum and the Forms documentation but cannot find any help on this problem.
    Thanks in anticipation.
    NoelH

    Storing modules in database and referencing them from there is not anymore supported in the upcoming forms9i release. If you
    can and want to stay at the leading edge you should start moving to filesystem based subclassing!
    Just my 2 cents - i know it's not helping with the direct problem, but maybe something to think about that could also solve your issues ;-)!
    Cheers,
    Stefan Mueller

  • Forms plsql library

    Hello everyone
    i am trying to create a program unit in the pll library which can be used and seen by any other forms that the lib is attached to. the procedure id meant to be used for validating entries on the form at commit. there is an icon on top of the form which should display green if all records are valid or entered and should display red when all any field record is missing or invalid. a global validation is required rather than individual form/ item validation. this is required for all the forms in the system so one procedure that can be referenced by all id required. has anyone got any ideas or sample codes i can view
    thank you

    I would create a library procedure
    validate_record_proc(p_form_name varchar2) is
    begin
    if p_form_name like 'myform' then
    do these validations.
    elsif p_form_name like 'otherform' then
    do some other validations
    .. and so on
    end if;
    end;
    then at commit i would just call the procedure and pass the form name.

  • Adding Songs form other libraries?

    Can I hook my ipod(30 gig photo) up to my friend's itunes and put some of his songs onto my ipod? It works when he used his ipod (30gig video)and got my songs onto his ipod. Last time I tried i noticed there was a little lock symbol on itunes when i tried it. Does that mean something?

    It is illegal to share copyrighted material such as music with your friends and it is a violation of this forum's terms of use to discuss illegal activity. Sorry.
    Please don't steal music.
    Cheers!
    -Bryan

  • Forms 11g PLSQL Library

    I have a Forms 11gR2 application that I have upgraded from Forms 10gR2. The forms have plsql libraries attached, I needed to modify 1 of the libraries but for some reason the form is still getting the old version of the library instead of the new version. I have de-attached the library from the form and reattached it (saved & recompiled) but it is not picking up the new version of the library. When I run the form locally with the debugger the old source is displayed in the PL/SQL Libraries section of Form Builder even though that version doesn't exist anymore.
    Does anyone know how to get changes in a library to be recognized?

    Welcome to OTN
    Before posting on this forum please read
    FRM-40735: WHEN-CUSTOM-ITEM-EVENT trigger raised unhandled exception ORA-06502.
    you'll get some hint here
    Oracle/PLSQL: ORA-06502 Error

  • Attached libraries in wrong order in generated form

    Hello,
    I am using Designer 6i and upgraded 6.0 headstart templates to generate forms. In my generated form, the libraries are attached in the wrong order. For example, when I attach using called modules:
    - qmslib50.pll
    - qmsevh50.pll
    then the generated form has:
    - qmsevh50.pll
    - qmslib50.pll
    which is a problem because the application wants the QMS$INIT_APPLICATION from qmslib50 and finds the one in qmsevh50 first. So the generated form/application starts up with an error and doesn't work.
    What can I do about this?
    Jeroen van Veldhuizen

    Hi,
    There is a wealth of information on moving from 6.0 to 6i in the Migration Guide available on the Designer page on OTN
    http://otn.oracle.com/products/designer/content.html
    Regards
    Susan

  • Enter Requisition Form Query - Help Needed

    Hi Forum,
    I have a requirement to modify the lov for the Category field in the Enter Requisition form and add a new field.
    The item is in the block :LINES.ITEM_CATEGORY.
    So, I ftp'd the form and libraries onto my local drive which is in the FORMS60_PATH. When I open the form, it opens without any error. But it does not attach any libraries in it ?
    Anyway, I looked at the form item and its a Text Item with a Lov 'ENABLE_LIST_LAMP' and a record Group with the same name. But this is a dummy record group.
    Where is the Actual Query for this Record Group built ? I assume it is in some library, but how do i find which library ?
    I cannot see anything in the WHEN-NEW-ITEM-INSTANCE or any other trigger having the query.
    The Category is a KFF actually.
    Thanks
    S.
    Edited by: user565538 on Mar 25, 2009 6:12 AM

    one more thing i notice is I can see in the KFF definition , the Value set = PO_ITEM_CATEGORY
    But when I try to query for this Value set (of type independent) , in System Adminsitrator, no value set is being returned !
    Am i missing something ? where are the values coming from ?

  • How to open a page from a Form and pass parameters to the form on that page

    I found a similar example on this forum, but it did not work for me:
    declare
    l_names owa.vc_arr;
    l_values owa.vc_arr;
    i number;
    begin
    PORTAL.wwpro_api_parameters.retrieve(l_names, l_values);
    FOR i in 1..l_names.count
    LOOP
    htp.p(l_names(i) || ' ' || l_values(i));
    END LOOP;
    end;
    By using this method i get the parameters for the Form, like the session ID, but not the parameters for the Page that the form is displayed in.
    Another method I tried:
    To open a Form from a Form and pass parameters works fine like this:
    --In the After processing page PL/SQL event.
    declare
    v_id number;
    blk varchar2(10):='DEFAULT';
    Begin
    v_id:=p_session.get_value_as_number (p_block_name=>blk,p_attribute_name=>'A_ID');
    if v_id > 0 then
    htp.formOpen('PORTAL.wwa_app_module.link?p_arg_names=_moduleid&p_arg_values=2649500412&p_arg_names=_show_header&p_arg_values=YES&p_arg_names=ID&p_arg_values='||to_char(v_id),'post');
    htp.formSubmit(NULL,'Upload Files');
    htp.formClose;
    end if;
    End;
    But I want to open a Page containing the Form instead of just opening the Form. Is this possible to open a Page and pass paramters to the page, and then let the form inside the Page access the passed paramters. The reason for this is that a Form cannot be based on a page template, or can it? When opening the form i want to keep the left menu, which I can if it is a page based on my template with the left menu.
    Best regards
    Halvor

    Hi,
    You can do this by calling the url of the page with the form. You can then use p_arg_names and p_arg_values to pass parameters. In the called form you can get the value from p_arg_names and p_arg_values and assign it to the form field.
    You can call this code in the success procedure of the calling form.
    declare
    v_id number;
    blk varchar2(10):='DEFAULT';
    v_url varchar2(2000);
    Begin
    v_id:=p_session.get_value_as_number (p_block_name=>blk,p_attribute_name=>'A_ID');
    v_url := <page_url>;
    if v_id > 0 then
    call(v_url||'&p_arg_names=id&p_arg_values='||v_id);
    end if;
    End;
    In the called form in "Before displaying form" plsql section write this code.
    for i in 1..p_arg_names.count loop
    if p_arg_names(i) = 'id' then
    p_session.set_value(
    p_block_name => blk,
    p_attribute_name => 'A_ID',
    p_value => p_arg_values(i)
    end if;
    end loop;
    This code picks up the value from p_arg_values and assigns it to the form field.
    Hope that helps.
    Thanks,
    Sharmila

  • Can not open PLLs on Forms Builder 10g

    Hi Folks,
    everytime I try to open an existing PLL-File via the Forms Builder FileOpen-Dialog I have got the message
        PDE-PLI018 Couln not find library
        Drive:\Path\LibName.pll
    Pressing the OK-Button returns to the FileOpen-Dialog. The selected FileType in the Dialog take effect to the filelist but nothing else.
    Note that the file exists and I select it from the Filelist!
    About Forms Window shows the following:
    Forms [32 Bit] Version 10.1.2.0.2 (Production)
    Oracle Toolkit Version 10.1.2.0.2 (Production)
    PL/SQL Version 10.1.0.4.2 (Production)
    Oracle Procedure Builder V10.1.2.0.2 - Production
    PL/SQL Editor (c) WinMain Software (www.winmain.com), v1.0 (Production)
    Oracle Query Builder 10.1.2.0.2 - Production
    Oracle Virtual Graphics System Version 10.1.2.0.2 (Production)
    Oracle Tools GUI Utilities Version 10.1.2.0.2 (Production)
    Oracle Multimedia Version 10.1.2.0.2 (Production)
    Oracle Tools Integration Version 10.1.2.0.2 (Production)
    Oracle Tools Common Area Version 10.1.2.0.2
    Oracle CORE     10.1.0.4.0     Production
    While converting from 6i to 10g it is unavoidable to convert forms and libraries, so please help me!
    PS: I can recompile forms with attached libraries if the PLX-Files (6i) are available, but the forms will not work with these PLX-Files.
    edited by ths:
    I tried to generate a new library. This works fine until I saved it. After naming the library and pressing the save button in the dialog the pll file was created and the same error message appears.
    I closed form builder and tried to reopen the library: same error.
    I generated another new library and save this by selecting the first new I generated. Jippee! I get the message that the file already exists! I selected "overwrite" and the file was overwritten. After that the same error appears.
    How can I (re)open PLL files? It is no solution to generate a new library overwriting the old one everytime some changes should made.
    Trying to build the library (Ctrl+T) produces another error:
        FRM-91507: Internal Error: Unable to generate library.
    Compiling (Ctrl-Shift-K) works fine.

    Hi Mark,
    there's no user except of me on the pc and server (I'm working via rdp-client on a virtual server), no server and no oc4j task or instance started. The one and only program that runs is forms builder. The error occurs if I just try to open a pll file via the file open dialog of forms builder.
    With my admins we found that forms builder creates a (temporary) file (e.g. s22o without extension with 827392 bytes) in c:\ but only if I'm the actual user. After I'm getting the permission to create and update files on c:\ forms builder was able to open pll files. Now we're trying to find out why this accurs only on my login. With other users we tried these file was created on F:\ which is the personal drive of the user. I'm only wondering about the fact that temporary files were not created in the TEMP folder defined by the TMP or TEMP environment variable.
    So we solved this unusual problem in an unusual way.

  • How Can I run a form complied on 9ids on 10g AS

    I have installed oracle 10g AS release 2 ( 10.1.2) and 9ids release 2.
    when I run a form on Application server it will show me an error, i.e.
    The form was created by an older version..
    What I can do now .
    Please let me know ASAP.
    Regards,
    Malay

    have u compiled the form in AS. If not, first compile all your forms and libraries and then try.
    priya

Maybe you are looking for