Help: Attach library to template.fmb

Hi,
We have a set of Forms uses a single template.fmb. The template.fmb has an attached library say, app.pll. We recently add some new procedures in the spec and body of app.pll. It turned out that these changes messed the library procedure call.
We dropped the attached library from the template.fmb and attached app.lib to the FORMS with the issue. It worked and it uses the changes of the updated app.pll.
Question:
1. Does this mean that we should not attach library to template.fmb?
2. Should we re-compile all existing FORMS that use the template.fmb?
Any suggestions are greatly appreciated.
Thanks in advance.
Jimmy

Andreas Weiden wrote:
If you add procedure and or funtions to a package in your lib, you should add them at the end of the code. Hi Andreas,
I further checked the situation and only found that there are couple of more .pll files at various locations of different versions within compiling scope.
1. I renamed they all and left only the latest one.
2. Put .pll and template.fmb together in lib directory within the compiling pass.
It turned out the way of code change need not be at the end of the code.
Thank you again.
Jimmy

Similar Messages

  • 10g Forms Builder with error "cannot attach library" opening R12 fmb file

    Hi all,
    I had set up my Forms Builder with all the necessary PLL and FMB files for developing R12 custom forms. I have used the builder to do few custom PLLs and one custom form, and I did not have any problem opening seeded Oracle Forms. Today when I need to enhance that custom form I did 2 weeks ago and I opened Forms Builder, I got the error "Cannot attach library.." for APPCORE, APPDAYPK, etc.. Same error for opening TEMPLATE.fmb.
    I have done these to troubleshoot:
    1) I verified my Windows XP registry "FORMS_PATH" to include the folder where I store all the PLLs and FMBs.
    2) I updated default.env to include that file path.
    3) I create shortcut to Forms Builder and put folder path with PLLs under the "Start in" field of the shortcut.
    4) I rebooted my machine after changing the registry
    5) I moved the folder with PLLs to under C:; I seperate PLL to "resource" sub-folder and FMB to forms/US/ sub-folder just like the server structure.
    6) I install one more copy of Developer 10G Suite and set up the registry.
    None of these work and the key is it used to work with no issue. Any suggestions what may be the problems?
    Thanks!
    Mike.

    Turned out I reloaded all the $AU_TOP forms and PLLs to my desktop and it worked fine. I think I did not FTP correctly the first time.

  • Template.fmb

    I am trying to open some custom forms that were created. I am getting errors.
    1st I thought I did not have permissions to attach to[b] template.fmb . Then I went and copy the fmb, but still continue to get those errorss.
    Where can I find the libraries attached to the template.fmb such as APPCORE, GLOBE,JE,FNDSQF,JA,JL,VERT,GHR,APPCORE2,HRKPI,PQH_GEN, ETC
    Howard

    U will find here ...
    /u01/oracle/visappl/au/11.5.0/resource
    Let me know if u found it or not !!

  • Cannot attach PL/SQL library APPCORE when opening template.fmb

    Hi,
    we have downloaded all .pll from $AU_TOP/resource directory to local folder and given path in windows registry ie HKEY_LOCAL_MACHINE/SOFTWARE/ORACLE/FORMS60_PATH to the local folder in which all pll are kept,
    i have kept all the important fmb in the local folder, APPSTAND.fmb, Template.fmb and every other pll from $AU_TOP/resource, but still i get the cannot attach pl/sql library error when i open template.fmb is something missing.
    Is there something missing, kindly do respond :)
    thanks in anticipaition of early response.
    Abdul Rahman

    Hi erlative,
    Thanks for your message, i just made sure that i have all the pll's only in the forms_60 path and it worked, somehow when i copied all the $AU_TOP/resource apart from APPDAYPK.pll and APPCORE, APPCORE2.pll, it didnt copy all the files, so when i copied all addittional files it worked.
    thanks for your solution.
    have a nice day :)
    Best Regards
    Abdul Rahman

  • HELP error FRM-40039: Cannot attach library common while opening form

    Hi
    I want to help me with the NEXT issue is urgent.
    I'm working with forms 10g and using a linux server. To compile objects, forms, reports and menus use the Putty.
    Well the issue is that when a form hanging linux server I get the error message sgte:
    FRM-40039: Can not attach library while opening form common ....
    I tried changing the path FORMS_PATH, also put the. PLL. Plx on those routes Server
    but I have no result, I still leave the same message.
    I go to pc urgently to solve this problem that has me worried for days.
    Thanks in advance for your advice
    regards

    Three possible causes:
    1. The pll is not existnant on the linux-server in the FORMS_PATH or the FORMS_PATH-environment-variable is not set.
    2. When attaching the pll to forms you have attached it without removing the path. Try to deattach and reattach the pll in the form.
    3. The attachment of a pll is case-sensitive in linux. So, when you types the pll-name is lowercase when attaching it, the pll must exist in lowercase in the linux-filesystem.

  • Template.fmb  error  with  Forms 9i

    Hi, please could someone explain how the following error can be solved.
    I have been given a Form as an .FMB file which I need to modify slightly and then compile to an .FMX file. However when I load the .FMB file into Forms Builder 9i an error dialog appears containing the message:
    FRM-18108: Failed to load the following objects.
    Source Module:Template.fmb
    Source Object: WHEN-NEW-FORM-INSTANCE
    Source Module:Template.fmb
    Source Object: WHEN-WINDOW-CLOSED
    etc, etc, etc.
    This is followed by a second error dialog stating:
    FRM-10102: Cannot attach PL/SQL library Form. This library attachment will be lost if the module is saved.
    FRM-10102: Cannot attach PL/SQL library Company. This library attachment will be lost if the module is saved.
    Can someone please explain this? I can find no trace of a file called 'Template.fmb' anywhere on my machine!
    Many thanks for your help. I will be very grateful for any clues!
    Terry.

    Thanks for your reply Professor Yaffle. Originally I assumed that 'Template.fmb' (plus other library files) must be something specifically developed by the people who gave me the .FMB source file, however I then did a search with Google and came across several references to a file called 'Template.fmb' (usually in the context of an older version of Forms, 6), which suggested that this file may be a generic Oracle file which ships with Forms (or an old version of Forms).
    Unfortunately none of the hits that I obtained with Google were particularly useful in telling me what this file is or where I can get a copy (if it is a generic publicly available file). There were several comments along the lines of, "download files from the $AU_TOP/resources directory to your local disk", but what is $AU_TOP?
    I am now beginning to think that perhaps 'Template.fmb' really is something that was developed by the people who gave me the .FMB source file, as you suggest.
    By the way Professor Yaffle, I see that you are in Bath, UK which, by coincidence, is only about 14 miles north of where I am (Frome)! Small world, as they say.
    Terry.

  • Video or step by step tutorial link for create forms using template.fmb

    Hi,
    Give me link which provides step by step tutorial or video tutorial for the following:
    1. where should i save the template.fmb and library files in my local machine
    2. how to create customize form using template.fmb
    3. how to do test run that form in local machine (i'm asking this because the template form having reference to app libraries)
    3. how to convert .fmb to .fmx
    4. how to register that form in apps
    i understood about how to do the above process through existing threads in this forum, but i getting lot of errors and confusion while i'm implementing. so please tell me steps or give link which provides details.

    What Forms version are you using? While you're at it, what is your database and OS versions also? Can you provide us with an example of the type of errors you are getting?
    (i'm asking this because the template form having reference to app libraries)Developing Forms for Oracle Enterprise Business Suite (EBS) is different from non-EBS applications because of the EBS Framework and standard processing that occurs.
    Your BEST resource for developing EBS Forms is the Oracle Applications Documentation library. Select your EBS version and then find scroll to the Standards section and review the following documents:
    <ul>
    <li>Oracle Applications Developer's Guide
    <li>Oracle Applications User Interface Standards for Forms-Based Products
    <li>Oracle Application Framework Personalization Guide
    </ul>
    For most of your questions, you'll find the answers in the aforementioned documents.
    1. where should i save the template.fmb and library files in my local machineMy guess is that many of the errors have to do with attached libraries. The APPSTAND.fmb, TEMPLATE.fmb and all of the Apps Libraries (.pll) must be in the FORMS_PATH. Which means you will need to modify the FORMS_PATH registry entry for your Forms version (6i or 10g) and EBS version (R11 or R12).
    3. how to do test run that form in local machine (i'm asking this because the template form having reference to app libraries)You can't - there are too many EBS Framework calls that will generate errors when the form runs outside of the EBS Framework. You have to test your form in a Test/Dev EBS system.
    3. how to convert .fmb to .fmxUse the Forms compiler executable. (frmcmp.exe - on Windows)
    4. how to register that form in appsThis process is too indepth to explain in the Forum - read the Administrator Guides ;-)
    I get the feeling you are trying to learn this on your own rather than attend a class. My advise is to attend some classes. They are well worth the investment! :)
    As to videos, you might want to try searching uTube. I've seen some Forms tutorial videos out there in the past.
    Lastly, your best source of 'Forum' help is the General EBS Discussion forum.
    Hope this helps,
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.
    Edited by: CraigB on Oct 14, 2010 9:23 AM

  • Creating Form using TEMPLATE.fmb

    Hi Friends,
    I am practising creating a new customized form for Oracle Apps 11i Linux.
    The first thing I did are the ff:
    1. Install Forms6i in my Windows XP desktop.
    2. Copy the TEMPLATE.fmb from the Oracle Apps 11i at Linux server $AU_TOP/forms/US
    3. Open the TEMPLATE.fmb on windows using form builder.
    But i got these errors :(
    FRM-10102: Cannot attach PL/SQL library APPCORE. This library attachment will be lost if the module is saved.
    FRM-10102: Cannot attach PL/SQL library APPDAYPK. This library attachment will be lost if the module is saved.
    FRM-10102: Cannot attach PL/SQL library GLOBE. This library attachment will be lost if the module is saved.
    FRM-10102: Cannot attach PL/SQL library FNDSQF. This library attachment will be lost if the module is saved.
    FRM-10102: Cannot attach PL/SQL library JA. This library attachment will be lost if the module is saved.
    FRM-10102: Cannot attach PL/SQL library JE. This library attachment will be lost if the module is saved.
    FRM-10102: Cannot attach PL/SQL library JL. This library attachment will be lost if the module is saved.
    FRM-10102: Cannot attach PL/SQL library VERT. This library attachment will be lost if the module is saved.
    FRM-10102: Cannot attach PL/SQL library GHR. This library attachment will be lost if the module is saved.
    FRM-10102: Cannot attach PL/SQL library PQH_GEN. This library attachment will be lost if the module is saved.
    FRM-10102: Cannot attach PL/SQL library PSAC. This library attachment will be lost if the module is saved.
    FRM-10102: Cannot attach PL/SQL library CUSTOM. This library attachment will be lost if the module is saved.
    FRM-10102: Cannot attach PL/SQL library OPM. This library attachment will be lost if the module is saved.
    FRM-10102: Cannot attach PL/SQL library VERT1. This library attachment will be lost if the module is saved.
    FRM-10102: Cannot attach PL/SQL library VERT2. This library attachment will be lost if the module is saved.
    FRM-10102: Cannot attach PL/SQL library VERT3. This library attachment will be lost if the module is saved.
    FRM-10102: Cannot attach PL/SQL library VERT4. This library attachment will be lost if the module is saved.
    FRM-10102: Cannot attach PL/SQL library VERT5. This library attachment will be lost if the module is saved.What do i do now....
    Can you give me docs on how to create a customized oracle forms?
    Thanks a lot
    ms k

    Hi,
    You may want to post in [E-business suite|http://forums.oracle.com/forums/category.jspa?categoryID=3] forum as this is a standalone forms forum.
    However, for your error, have you tried setting the FORMS60_PATH environment variable (to the folder where you have all the apps related fmbs/mmbs/plls/olbs) before starting the forms builder (Or append to the FORMS60_PATH in your f60desm.sh).
    -Arun

  • How to develop forms using TEMPLATE.fmb

    hi,
    Anyone Should suggest me clear tutorial/links to learn forms development using TEMPLATE.fmb with step-by-step development procedure including forms development, register in apps.
    Thanks in advance.

    Abdetu is right, General EBS Discussion is the more appropriate forum for this question. Having said that, creating a new form based on the TEMPLATE.fmb just ensures your EBS Custom form has all of the basic EBS requirements for a EBS form. Developing for the EBS Framework has many requirements and I strongly recommend you review the Oracle Applications Documentation library. Select your EBS version and then scroll to the Standards section and review the following documents:
    <ul>
    <li>Oracle Applications Developer's Guide
    <li>Oracle Applications User Interface Standards for Forms-Based Products
    <li>Oracle Application Framework Personalization Guide
    </ul>
    If you are looking for general "Forms" tutorials, here are a few good links. Although a few of the following links are for older Forms versions, the concepts are still valid across all Forms versions.
    <ul>
    <li>A Tutorial on Oracle9i Forms and Reports
    <li>Tutorial for Oracle10g Forms / Reports
    <li>iSelfSchooling - Basic Introduction to Forms
    <li>Oracle Forms 10g: Demos, Tips and Techniques
    </ul>
    Hope this helps,
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.

  • About template.fmb again

    If one creates a template.fmb with all "default" triggers, alerts, attached libraries, data blocks, canvases, object groups, parameters, windows, any new form created through:
    file -> new -> form using template with template.fmb
    will carry all the objects listed above from the template.fmb to this new form.
    I checked that this does not carry any inheritance from template.fmb. In fact, compile does not need to have template.fmb at all. Does this mean that future changes on template.fmb will not affect the form using it as template?
    However, if these objects are dragged into the new form, it will carry the inheritance, but this seems miss the reason of having template.fmb.
    Putting all these together, starting any sizable form development, template.fmb is used for static features of the forms and any objects may have potential future changes should also be
    1. put in Object Library to take care of inheritance.
    2. drag them into template.fmb and the template.fmb passes the inheritance to the new forms built based on the template.
    It would be great if anyone could add comments or corrections on this post.
    Thanks in advance.
    Jimmy

    The template-mechanism in forms simply creates a new form with the content of the template. There will be no reference between these two later on. So if you want references on the objects in your template, the templatr itself already has to contains those references. So the approach would be
    1. Create a "reference.fmb"
    2. Create an empty form named template.fmb and subclass all objects from the reference-fmb into that "template".
    3. Now base new forms on that template.
    Actually i would go one step further and use an object-library for the references, so my way would be
    1. create a "reference.fmb"
    2. Put all the objects into an object-library, either as standalone objects or grouped together using object-groups.
    3. Create and empty form named template ans subclass all objects from te object-library.
    4. Again, base your new forms on the template-fmb

  • Attach library webutul.pll without using 10g forms builder

    Does anyone know if their is a way to attach a library to a form without using oracle forms builder? I want to attach the webutil.pll without using the forms builder (10g)..to save a lot of time upgrade 6i forms.
    Thanks

    I have used Java APIs to manipulate forms without using forms builder, i have simple examples in my website
    http://www.e-ammar.com/Oracle_TIPS/Forms_API.htm
    (additional different tips can also be found), i have also extracted this example for the same website that handles attached library
    Hope this helps
    Ammar Sajdi
    www.palco-me.com
    www.e-ammar.com
    Amman Jorda
    public class Class1
    public static void main(String[] args)
    JdapiModule.openModule("c:\\SAJDI.FMB");
    JdapiIterator fmbs = Jdapi.getModules();
    FormModule fmb = (FormModule)fmbs.next();
    JdapiIterator libs = fmb.getAttachedLibraries();
    while (libs.hasNext())
    AttachedLibrary lib = (AttachedLibrary)libs.next();
    System.out.println(lib.getLibraryLocation());
    System.out.println(lib.getLibrarySource());
    System.out.println(lib.getName());
    fmb.save("c:\\ammar.fmb");
    // finally, free API resources
    Jdapi.shutdown();
    C:\jdev\jdk\bin\javaw.exe -ojvm -classpath C:\jdev\jdev\mywork\Workspace1\Project1\classes;C:\DevSuiteHome\forms90\java\f90jdapi.jar mypackage1.Class1
    C:\ammarsajdi.pll --- this is the library path
    AMMARSAJDI --- this is library name
    Process exited with exit code 0.
    Note: for some reason, if the library is attached without keeping the paht, the program does not detect the attached library. i posted a message on oracle OTN with this regard
    an extensive example is submitted by Wilfred and published on his weblog. Wilfred says:
    "I’ve put up the Forms converter for download at http://www.oratransplant.nl/files/convforms.zip
    It all started out as a very small (hacked) project and grew over time. It grew much larger"

  • Error while attaching library(pll)..

    Hi!
    When I try to compile the fmb file in
    the Form server getting an error message that "procedure name not declared".
    1)Procedure added in that library is already
    compiled and stored in the Server(compiled in unix environment).
    2)In FORMSPATH the pll is added.
    Still is not referring that path.
    I think this happen becuase in the design time,attach library we have specified our
    local path.Is it wrong?.If so how to
    solve this.Could you please guide me?.
    Thanks in Advance,
    Denish

    Reattach the library and and when asked to remove path, choose yes.

  • TEMPLATE.fmb - no fields show up

    Hi,
    I'm trying to develop a custom form but having trouble with the template.
    1. Copy template to my directory in Unix and compile.
    2. I run it through the applications but no fields show up on the template. Is this normal? I don't think it is but I haven't created a new form from the template in a couple of years.
    3. Messing around with the form I removed the sub-class and was able to get a couple of fields to display but I changed so many things I don't seem to be able to duplicate. And I really want to be able to use the standard sub-classes which still didn't work when I set the fields manually.
    Thanks for any help.
    Andy
    Additional information:
    I've also concluded that when I compile an existing form FNDSCAPP.fmb errors occur so it is not limited to the template.fmb.
    See error below, there was only one. Any ideas as to what would cause this?
    Compiling PRE-INSERT trigger on APPLICATION data block...
    No compilation errors.
    Compiling PRE-QUERY trigger on APPLICATION data block...
    Compilation error on PRE-QUERY trigger on APPLICATION data block:
    PL/SQL ERROR 49 at line 1, column 5
    bad bind variable 'parameter.g_query_find'
    PL/SQL ERROR 49 at line 1, column 5
    bad bind variable 'parameter.g_query_find'
    PL/SQL ERROR 49 at line 3, column 3
    bad bind variable 'parameter.g_query_find'
    Compiling PRE-UPDATE trigger on APPLICATION data block...
    No compilation errors.
    Message was edited by:
    Andy123

    Oracle Forms is a tool (somewhat like Visual Basic in appearance, but the code inside is PL/SQL) which allows a developer to quickly create user-interface applications which access an Oracle database in a very efficient and tightly-coupled way. It was originally developed to run server-side in character mode on any Unix box, before Windows existed. It was then ported to Windows to function in a client-server environment. Recent versions have been ported to Java. It now runs in a J2EE container and can integrate with Java and web services.

  • Edit template.fmb to incorporate my custom forms

    Hi guys,
    I have created 2 forms on my win xp workstation using Forms 6i Builder, both of which work fine. Now i want to install them into the
    oracle application on our server (which runs on linux platform). Copied template.fmb, appstand.fmb, the libraries and changed the the
    FORMS60_PATH registry to match the folder with the libraries. I can open/compile the template form without any errors or problems.
    As far as i understood i have to incorporate them in the template.fmb but i wasnt able to do this. Tried to copy each object from my forms
    in the object lists of template.fmb but when i was opening the canvas all elements were piled up in the top left corner of it and were scaled to tiny sizes.
    How exactly do i go from here? Just to remind you i have 2 forms so i have to go through the process twice.
    i have just tried something else. I have copied the objects from my forms to a new blank form and it works. But with template.fmb
    everything is messed up.
    Thanks,
    Iulian
    PS: Sry if this is the wrong branch, i've just been told to post in the E-business Suite.

    So basicly you are saying this :
    1. I can just as well compile my forms on the server as they are and they would work but it wouldnt follow the recommended standard.
    2. What i did is just circling the bullseye.. in other words i didn't use the template as intended. If this is true please tell me how to actually edit the template.fmb to bring in the content that i have already created. I have read other threads about this and none explained this issue.
    A quick step by step would help.
    Right?
    Thanks Kiran!
    So this question remains open for the moment.
    Edit: going home now, will answer tomorrow.
    Edited by: iulianB on Feb 22, 2010 8:01 AM
    Edited by: iulianB on Feb 23, 2010 2:30 AM

  • How to implement custom lov button without the standard template.fmb?

    hello,
    i am developing a application using oracle forms 10g. i can't use the standard template.fmb because my application does not run in ebs. there comes the problem: i want to implement the lov button function like the template does, such as :
    1. when the text item get focus, lov button display.
    2. when the text item lost focus, lov button disappear.
    3. when scrollbar scrolls, the position of lov button adjust accordingly.
    4. there is only one lov button in one form and the lov button was created dynamicly.
    i found it's so complex to do this.
    anyone can help?

    Try to change the following setting to true
    app.ui.lovButtons=falsein $ORACLE_HOME\forms\java\oracle\forms\registry\registry.dat

Maybe you are looking for

  • JDBC Adapter configuration not initialized:null

    i we have a synchronous scenario with the following adapters , RFC <> XI <> JDBC. 1.JDBC Driver installation is done 2.RFC Destination type t is done in sap(sender) system. 3.checking the jdbc in VA is done while running it is giving the following er

  • How do I change back the print pages box?

    I refreshed Firefox and my print pages box changed. It went from having a long box allowing me to type in say the 1-3, 6,10 pages to two small "from" & "to" boxes. I really need this back to the way it was for my business. I checked IE and that print

  • I can't seem to open any Internet radio station that need me to open a pop up

    If the site need me to click here to listen nothing happpens any ideas?

  • Occasion network problem

    I have been running my system for 3 months and over that period of time I have had problems with the integrated ethernet twice. The first time, the system behaved as if it had no network connectivity. The second time I was able to communicate over th

  • FB2 memory Errors: where are -vmargs -Xmx and .log?

    I have a workspace that I use to create small example apps. I currently have about 50 apps in one project Often, whan I close that project i get a memory error dialog instructing me to use the command line to modify the-vmargs and -Xmx settings an to