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.

Similar Messages

  • Can't call a procedure from a PLSQL Library inside forms 10g

    Hello,
    I build a plsql library using forms builder, then I compile it and add to FORMS_PATH.
    I try to use a procedure from that lib so i attached the library to form (without path), then in then WHEN-BUTTON-PRESSED event I call one procedure from that library and i get this message :
    error 201 at line 6 , column 2
    identifier 'LIST_ADD_ALL' must be declared
    ---- MY CODE compiled ok with out errors i've got pll and plx
    declare
         START_LIST_ID ITEM := FIND_ITEM('LIST16');
         END_LIST_ID ITEM := FIND_ITEM('ITEM18');
    begin
         LIST_ADD_ALL(START_LIST_ID, END_LIST_ID);
    end ;
    I dont know if to put some kind of public declaration.
    can anyone help me please.

    In that case, use a batch file to start Form Builder to control your environment settings. The batch file ( e.g. FormsBuilder.bat ) should look roughly like this:
    set oracle_home=C:\Oracle\Dev10g
    set forms=%oracle_home%\forms
    set nls_lang=AMERICAN_AMERICA.WE8MSWIN1252
    set tns_admin=c:\oracle\admin
    set ca_uprefs=c:\data\oracle\10g\uprefs
    set path=%oracle_home%\bin;%path%
    set forms_path=c:\data
    set oratemp=c:\temp
    start frmbld.exe

  • 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

  • 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

  • State service error when submitting InfoPath form to Library

    I have a problem and looks like Google couldn't help me.. I really hope someone here will be able to.
    I have a Form Library using a custom form. When submitting the form to the library, users are getting this error. I don't get the error with my own user, only difference is I have full access to the farm and content using web app policy.
    ULS logs give me few informations
    SharePoint Server
    State Service
    bm1k
    Medium
    StateSqlSession.GetItemBytesInternal() Locked row in database for key ba18f90ee2e844468b08e90ad96dff2c_05967b71a21948d39b7d4d3ada9b27c9 for 4 seconds
    SharePoint Server
    State Service
    bm0t
    Unexpected
    StateManager.GetState() Locked data (05967b71-a219-48d3-9b7d-4d3ada9b27c9)
    InfoPath Forms Services
    Runtime - State Service
    b5st
    Medium
    MOSS StateService threw an exception: A Microsoft SharePoint Server State Service error occurred while processing your request. For more information, contact your server farm administrator.
    I deleted the State Service and recreated it twice, once with PowerShell and then with the Farm Configuration wizard. Restarted the server. Problem might come from InfoPath Forms Services tho but I don't what else I can do.
    Does anyone have any clue??
    JP Berube | MCTS SharePoint 2010 Configuration and Application Development

    Hi,
    We had the same problem with InfoPath.
    After analysis of servers,it turns out that
    the anonymous user authentication has been enabled on
    the web application server
    via IIS and not via SharePoint
    (unsupported configuration), causing
    side-effects on some queries which
    calls to forms.
    We disabled anonymous access.This desactivation
    causes the functioning of forms again.
    Rachid.

  • Form with library

    hi
    I am migrating forms from 4.5 to oracle 10g. Some of my forms contains attached libraries. How to transfer this libraries to oracle 10g? I am using oracle application server 10g.
    Regards
    Trusha

    reattach library
    copy all library to ids\forms
    and recompile

  • Placing Illustrator and InDesign Files, Importing text and forms into Library

    Firstly, is there any way at all to maintain the working elements of an Illustrator or Indesign file if placing in Muse, is it even possible?
    Example: I have a fully created website layout with text boxes and vector images saved in Illustrator.
    I'm wondering, can this be bumped to Muse using the 'Library' feature as a whole, as elements like the contact form were in the Katie's Cafe tutorial?
    I understand how that works for singular images, but is it at all possible with a complex image that contains both text and vector, or does this image need to be sliced up and saved as individual elements. Is there anyway to extract the text boxes from Illustrator or InDesign as they are? How are working text boxes created in InDesign as mentioned in the Katie's Cafe tutorial?
    Thanks so much in advance, and sorry if this is totally obvious!

    Hm, okay.
    How would I know if the file is corrupt?
    Well, you often don't, until it crashes and is unrecoverable. Then it's too late. But "insanely swollen file size" is a symptom. However, I can't know if your file size is reasonable or not, depends on the content, and it sounds like your content is pretty heavyweight. For instance - I thought it was possilbe to strip out custom brushes when saving AI files to bring file size down. I've never touched an AI file that was too large because of the number of swatches. So, depending on how much you have in there, then maybe your two-gig file isn't on the verge of crashing and burning.
    I did inherit it, but have since used it as a template and "saved as" various versions. I'm not really sure if it started in 5 or not.
    Cool trick: Click on Help, then hold down Control when you click on About. This will take you to a "Component Information" screen, and in the lower-left-hand corner you can see the Document History. So you can learn if you inherited a file that started in CS5. Or in CS3, or in PageMaker.
    General best-practices as recommended by forum regulars is to finish a file in the format in which it started. If a file has to be moved from an older version to a newer version, then exporting IDML or INX before moving is advised. This is because of a lot of anecdotal evidence that opening up old files in newer versions and then doing a bunch of work is correlated with file corruption.
    I have not tried to export-to-IDML-and-reopen, but I certainly will. What does this do exactly?
    Well, it'll do a bunch of different things. It'll reinterpret the file format, which can strip out corruption. It'll strip out all image previews. If there is cruft in your file, then this will probably remove it.

  • Attach Plsql Library remove library path yes/no

    Hi,
    While i attache a libary file im getting one message window.
    Attached Library name d:\kk\test.pll contains a non portable directory specification.Remove path.
    yes/no
    can any any body explain about this please .
    Thanks in Advance.
    Kamaraj
    Edited by: raja on 20 Feb, 2012 10:43 PM

    raja wrote:
    Hi,
    While i attache a libary file im getting one message window.
    Attached Library name d:\kk\test.pll contains a non portable directory specification.Remove path.
    yes/no
    can any any body explain about this please .
    Thanks in Advance.
    KamarajWhen attaching any library.pll form builder shows this message.
    Remove path, Yes/No ?
    If yes, form builder doesn't remember the path any more and attach the library that time but when you open it second time form builder doesn't attach this library.
    If no, form builder remember the path and attach the library but when opening second time it looks for the library in the remembering path.
    hopes this helps

  • How to convert form 6i library (save in database) in library *.pll form 10g

    I have a forms that I served as library and this is compiled in the database (with version Forms 6i and 9i).
    But in the version of Developert 10g; when I run the frmbld.sh, I do not get the option to save and compiled it directly into the database.
    It's possible???, Exists???, Which would be the correct way to do it in Developert 10g?
    Thanks for the details that I can provide.

    Basically you need an application server to deploy the forms. Current supported version is IAS 10g. So your forms has to be migrated to forms 10g.
    For forms 6i IAS release 1 (application server) was used. Now both forms 6i and ias release 1 are desupported
    best regards
    Rajesh Alex

  • Display tracks missing form your library

    Hi All!
    Is there an option in iTunes to display only tracks which are listed in your library but the actual file is missing form your disk? I know if I select a file that's not where its supposed to be it will let me know but I want to be able to say hay iTunes what's not there?
    Thanks!

    Lost & Found Playlists
    Create a playlist called Found, select everything in Music and drag it into the Found playlist (it may take some time to count the tracks that are to be dropped). Create a smart playlist called Lost matching All the rules Playlist is Music and Playlist is not Found. Your lost tracks will be in this playlist.
    If the missing files can be tracked down I have a tool that could help repair the broken links. Alternatively if you just want to remove them then in the Lost playlist use Ctrl+A followed by Shift+Delete.
    tt2

  • Forms and library compilation

    Hi all,
    I have a form with an attached library, one of these libraries does not complie
    but the forms does compile
    when I remove the attached library the form no longer compiles, does prooving that the form does use that library
    what does this mean, that forms first searches for a pll and then a plx and calls the code in the pll even though it does not compile ?
    how can we force the fmb from not compiling
    Kr
    Martin

    The Forms Compiler looks for the source files (.pll) when compiling a Forms Module (.fmb) not the Library executable (.plx); which is only referenced by a Forms executable during runtime. It is obvious to me that your form does not utilize the Library Program Unit(s) that are/is invalid which would explain why the Form will compile.
    how can we force the fmb from not compilingI'm not sure if there is a way to accomplish this. Rather, I would suggest you find out why the Library won't compile.
    Hope this helps,
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.

  • Both my iPod and the laptop that had my iTunes library on it were stolen, is there a way to retrieve my former iTunes library?

    A few months ago my iPod and laptop were stolen. Is there a way to retrieve my old iTunes library or a portion of my old iTunes songs even though I do not the iPod or the laptop?
    Any and all help is welcome and needed.
    Thanks!

    Use the backup to put back what you have... something is better than nothing.
    Any purchases that are still missing can be downloaded from iTunes.
    Downloading past purchases from iTunes
    If the iTunesLibrary.itl file was not a part of the backup, your library is gone.  Playlists will need to be recreated, playcounts are gone.

  • Exception not propagating form optimised library

    Using studio 12.3.
    I have an optimised 64 bit library (built by IDE) which throws a std::runtime_error. The application has a try/catch( std::exception& ) wrapper, but the application aborts when the runtime_error is thrown. So either the exception isn't propagating or there is some stack corruption.
    Before I build a simplified test case, are there any known bugs I might be seeing?
    Thanks.

    I'm not aware of any bugs in Studio 12.3 that could result in a lost exception. Check the version of libCrun on your system, and be sure it is relatively recent (updated in the last year or so). The runtime suport library is part of Solaris, and is not updated by new Studio installations.
    % version /usr/lib/libCrun.so.1Where "version" is in the same directory as the compilers.

  • Will I lose my ipod playlists from former itunes library (included purchased songs and personal cd's I burned) if I sync up to my new itunes library that DOES NOT have any of my personal song cd's?

    Afraid if I sync my ipod to itunes library, I'll loose my existing playlists that have my personal cd's burned into it.  Thanks.

    Change your user ID to something less likely to annoy regulars on this forum who try and help those who want to be helped.
    (I bookmarked this question when you first posted it, simply because I suspected that no one would offer help. I guess I was right.)

  • Synchronisation of new media library although iPhone was assigned to a former media library

    Dear guys,
    I am faced with the problem that my iPhone4 was assigned to a different media library than the actual one on my laptop.
    In the past my media library was located on a desktop that is not further available. Now I have a new computer with a new media library. If I start synchronizing I will be asked to delete the whole music content (and other stuff) of the iPhone as the iPhone could not be assigned to more than one library. That would mean that all my content will be lost. How can I proceed to assign the iPhone to the new library without loosing the actual content of my phone ?
    Would be happy if you could help me....
    Kind regards,
    Peter von Schubert

    See Recover your iTunes library from your iPod or iOS device.
    tt2

Maybe you are looking for