Integrating Forms and Apex. (Calling Apex from Forms).

Hi all.
We'll soon start an upgrade of our Forms / Reports 6i Application to 11g.
I was wondering, maybe, it would be nice to add some value for the upgrade process as a whole, using some of Apex new features like web mobile interface or maybe an integration between Forms an Apex, for example to provide users with the powerful features of Interactive Reports, just to name one.
I have found this interesting link: http://roelhartman.blogspot.com/2008/11/integrate-oracle-forms-with-apex.html. (not a 100% clear for me, but at least it is a start).
Obviously, to make it attractive, one would expect automatic login between the two Apps. As far as i know, this could be done like this:
1) Using SSO. With that a Portal / Forms / Reports/ Discoverer/ version would be mandatory (too expensive for some clients).
2) Oracle Access Manager? Not sure, can Oracle Forms connect to Access Manager? or LDAP? How about the licensing costs?. Not a clue.
3) Make all Apex pages public? Not feasible.
4) Now this one: in our forms application, every user authenticates within the application and we internally map that application user to an actual database user. At all times we hold metadata info about the current user (app, and DB), as well as application context. So this is my question:
It is possible to create an Apex app, with database authentication method, and somehow pass the metadata from forms, and have a kind of custom login procedure that does all the application to DB user conversion process and application context setting????
This is a very important question for us, although not sure where to really post it...
Feedback will be greatly appreciated .....!
Regards,Luis ....:)=

I did something like that once. What you can do is set some random session id after logging in in Forms. Pass this session id to Apex every time and let Apex check if it is a valid session id.
More information here:
http://sqlcur.blogspot.com/2009/04/forms-apex-integration-2.html
In that example I create a new session id on every call to an Apex page from Forms, but you can use the same session id as long as the user is logged in in Forms.
Ino

Similar Messages

  • Parameter form display while calling reports from form

    Dear All,
    I am running reports from form using run_report_object. I do not want to see parameter form while running the report. How do I do that.
    Thanks in Advance
    Gaurav Shah

    Hi, try to set paramform=NO in your parameter list
    Daniel

  • Calling JSP from Forms and going back from JSP to Forms

    Hi,
    We are calling JSP from Forms 6i using show_document
    I'd like to go back to tha calling Form from the JSP.
    How can I construct the URL that would lead me back to the same Form and Forms session where the JSP was called from?
    Thanks,
    Arpad

    Thanks Shay,
    works for me too...
    Now:
    when I use the "Back" button of my IE to go back from JSP to the Forms session, it works for Jinitiator 1.1.8.19, but if I use Jinitiator 1.3 I got hung...
    Any ideas how could I make it work from Jinit 1.3?
    Thanks again/
    Regards,
    Arpad

  • Calling report from form. Need PDF output

    I am calling a report from a form using RUN_PRODUCT. I need to display the form in PDF format. When the user clicks the button in the form to run the report, acrobat reader should open up and the report displayed there. Please help.
    Thanks

    Thanks for the response. The first part worked. I am able to get the output in PDF format. In the 2nd part where I want to open acrobat and display the output, I am having some trouble with the code. When I compile, it says
    win_api_environment.read_registry must be declared. Is there some package I need to attach?
    Also, in the After reports trigger, how do I pass vFile (I am assuming this is the PDF file name)?
    Thanks
    The first thing you'll want to do is pass parameters to the report IE DESTYPE, DESNAME and DESFORMAT where these could be FILE, 'c:\temp\report' and PDF.
    Then, you can try this piece of code I wrote (with some help from other people at Metalink and here) sometime back. Now, I call it from forms, but in your case, you'd have to run it in the after report trigger. Since with RUN_PRODUCT you don't know when the report is finished, if you did it from the form, it wouldn't work correctly.
    PROCEDURE OPEN_PDF(vFile IN VARCHAR2)
    IS
    vcServerApp varchar2(40);
    vcServerTag varchar2(600);
    vcCommand varchar2(2000);
    iArgPos pls_integer;
    dummy NUMBER;
    BEGIN
    -- 1 get the Server App for .PDF files
    vcServerApp := win_api_environment.read_registry('HKEY_LOCAL_MACHINE\SOFTWARE\CLASSES\.PDF','',true);
    -- 2 get the executable
    vcServerTag := 'HKEY_LOCAL_MACHINE\SOFTWARE\CLASSES\'||
    vcServerApp||'\SHELL\OPEN\COMMAND';
    vcCommand:= win_api_environment.read_registry(vcServerTag,'',true);
    -- 3 Sort out how to specify the Filename
    iArgPos:= instr(vcCommand,'%1');
    if iArgPos = 0 then --no substitution Var on the command line
    vcCommand := vcCommand||' '||vFile;
    else
    vcCommand := substr(vcCommand,1,(iArgPos-1))||
    vFile||substr(vcCommand,(iArgPos+2));
    end if;
    -- 4 Run using Winexec (or Host if preferred).
    win_api_shell.winexec(vcCommand);
    EXCEPTION
    when no_data_found then
    abortt('Acrobat Reader was not found! Please consult with your help desk to install it and try again.','N');
    END;
    Chad
    I am calling a report from a form using RUN_PRODUCT. I need to display the form in PDF format. When the user clicks the button in the form to run the report, acrobat reader should open up and the report displayed there. Please help.
    Thanks

  • Calling Report From Form To Many Destinations

    Hi
    I am calling reports from forms using SET_REPORT_OBJECT_PROPERTY and then run_report_object.
    I dont know the destination until runtime of the report which is ok as I can pass this in via my procedure, but if that destination is many ie mail and file what is the best way to distribute the report?
    I could call my procedure for each destination but that seems a bit unefficient since the report would be created many times, is there another way?

    what about adding a drop-down-list near your report-button where you can choose the destination?
    when you click the report-button you simply read the value selected in the drop-down-list and send it to your reports-server too.

  • Calling Report from Form Error ORA-06508

    Dear all,
    I want migrate from Fom6i to Oracle Developer Suite 10g (10.1).
    Folder Form = C:\APLIORA\IRS\FORM
    Folder Report = C:\APLIORA\IRS\REPORT
    I have modified file DEFAULT.ENV
    FORMS_PATH=C:\APLIORA\IRS\FORM;C:\APLIORA\IRS\REPORT
    i do not have problem call a form from form.
    but when i call report from form show error ORA-06508 : PL/SQL : could not find program unit being called ; -6508
    my procedure is
    PROCEDURE Call_Report IS
         list_id ParamList;
    BEGIN
    list_id := Get_Parameter_List('input_params');
    IF NOT Id_Null(list_id) THEN
    Destroy_Parameter_List(list_id);
    END IF;
    list_id := Create_Parameter_List('input_params');
    Add_Parameter(list_id,'MAXIMIZE',TEXT_PARAMETER,'YES');
    Add_Parameter(list_id,'ORACLE_SHUTDOWN',TEXT_PARAMETER,'YES');
    RP2RRO.RP2RRO_RUN_PRODUCT(REPORTS,'TESTREPORT.REP',SYNCHRONOUS,RUNTIME,FILESYSTEM,list_id,null);
    END ;
    Do I miss something ?
    Can any one help ?
    Thanks

    Hi,
    Thank you for your replay.
    The problem have solved.
    This my step :
    1. Install Windows XP SP2 and Form 10.1.2.0.2 on new pc.
    2. Install Jinit version 1.3.1.28.
    3. Create report server
    3. Compile form, report and pll
    4. call report from from with this procedure :
    PROCEDURE Call_Report (vFILENAME varchar2) IS
    report_id                Report_Object;
    ReportServerJob VARCHAR2(100);
    vc_rep_status      VARCHAR2(100);
    repsvr                          varchar2(21) := 'myserv';
    userid                         VARCHAR2(100);
    pass                          VARCHAR2(100);
    Host                    VARCHAR2(100);
    BEGIN
    userid          := Get_Application_Property(USERNAME) ;
    pass          := Get_Application_Property(PASSWORD) ;
    Host          := Get_Application_Property(CONNECT_STRING) ;
    report_id:= find_report_object('REPORT');
    SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_FILENAME,vFILENAME||'.jsp');
    SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_COMM_MODE,SYNCHRONOUS);
    SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_SERVER,repsvr);
    ReportServerJob:=run_report_object(report_id);
    vc_rep_status := REPORT_OBJECT_STATUS(ReportServerJob);
    WHILE vc_rep_status in ('RUNNING','OPENING_REPORT','ENQUEUED', null)
    LOOP
    vc_rep_status:=REPORT_OBJECT_STATUS(ReportServerJob);
    END LOOP;
    IF vc_rep_status='FINISHED' THEN
    WEB.SHOW_DOCUMENT('/reports/rwservlet?report='||vFILENAME||'.jsp'||'&userid='||userid||'/'||pass||'@'||Host||'&destype=CACHE&desformat=PDF&paramform=yes','_blank');
    ELSE
    message ('Report failed with error message '|| vc_rep_status);
    END IF;
    END;
    Ok, but i have another strange error. I will post new thread.
    Thank you and regards
    Teguh S

  • REP 110 & REP 0110 .calling reports from Form 10g(10.1.2.0.2)

    Hi All,
    We are migrating form from Oracle form 6i to Oracle 10g(10.1.2.0.2). I am calling reports from forms
    using Web.Show_Docment(). When we run reports in report builder 10g it works fine.
    But when we try to run reports from Forms 10g it throws error which is given below.
    We want to run reports from UNIX. After using this url to submit report we get error REP 110 and REP 0110
    URL
    http://GEM:7777/reports/rwservlet?server=rep_server&report=/u01/forms/QA_Forms10g/GEMREP.rdf+DESTYPE=CACHE+DESFORMAT=HTML+p_user_id=XYZ+p_client=2
    ERROR
    REP-110: File '/u01/forms/QA_Forms10g/GEMREP.rdf DESTYPE=CACHE DESFORMAT=HTML p_user_id=XYZ p_client=2' not found.
    REP-0110: Unable to open file '/u01/forms/QA_Forms10g/GEMREP.rdf DESTYPE=CACHE DESFORMAT=HTML p_user_id=XYZ p_client=2'.
    I will really appreciate your help.
    Thanks
    Sandy

    Hello,
    You are mixing 2 separators in the URL : & and +
    Use only one separator in the URL :
    Example :
    http://GEM:7777/reports/rwservlet?server=rep_server+report=/u01/forms/QA_Forms10g/GEMREP.rdf+DESTYPE=CACHE+DESFORMAT=HTML+p_user_id=XYZ+p_client=2
    Regards

  • Can you programatically detect that a form has been called by another form?

    Can you programatically detect that a form has been called by another form using Open_Form?
    When closing a form I want to do one thing if it was opened stand-alone and another thing if it was called using Open_Form by another form.
    Thanks in advance.

    Maybe, Tony, also
    GET_APPLICATION_PROPERTY built-in ; it can
    be used to retrieve information about the calling (parent) and called
    form (child).
    The following example describes a way to perform a query on the child form
    using a value from the parent form; if the form is a child form, it first
    executes a query, otherwise the form goes into insert mode automatically.
              WHEN-NEW-FORM-INSTANCE
              ======================
              BEGIN
                   :GLOBAL.APP_NAME := GET_APPLICATION_PROPERTY(CALLING_FORM);
                   IF :GLOBAL.APP_NAME IS NOT NULL THEN
                        EXECUTE_QUERY;
                   END IF;
              END;Regards

  • I created a pdf form and then iported it to Forms Central for distribute. It is now loaded to my website and setup so a person clicks on the link to open the form. At this point they then have to go to upper right to open form using a different view. I wo

    I created a pdf form and then imported it to Forms Central for distribute. It is now loaded to my website and setup so a person clicks on the link to open the form. At this point they then have to go to upper right to open form using a different view. I would like the form to open directly in Adobe Reader form to make it easier to enter information. Thanks, Ike

    If you created it in Forms Central, you have to edit it there. I believe Forms Central is similar to LiveCycle Designer in that the form created is no longer able to be edited in Acrobat. I might be wrong, but that is my understanding. You add the submit button in Forms Central. Within Acrobat, you should be able to go to the forms menu and Manage Data to save the data to an Excel file. Others better with forms should be by to clarify things, but this should get you started. In the future you might find it better to post a forms question in the forms discussions.

  • How to link another forms and reports in one main forms?

    hai all,
    how to link another forms and reports in one main forms?
    i am creating Custom forms Main_menu
    in that i am puting on button and
    pl/sql code for when-button-pressed
    BEGIN
    Open_form('GROUP_MSTR_ENTRY');
    END;
    i am getting:
    ERROR:frm-40010: cannot read form GROUP_MSTR_ENTRY
    also i am un able change the text colour in form.
    how to link reports in forms?
    any help?
    before open i have to link all form i need?
    thanks in advance
    rcs
    ------

    even after changing to The forms_path variable and
    put the executable(GROUP_MSTR_ENTRY.fmx
    F:\oracle\ora90\FORMS60\server\FACCT\MAIN_MENU\GROUP_MSTR_ENTRY.FMX
    not working
    also i am un able change the text colour in form. how?
    how i can find?
    $ORACLE_HOME/forms/server/default.env
    my files are
    9i oracle database
    SQL*Plus: Release 9.0.1.0.1 - Production on Fri Dec 19 11:37:07 2008
    E:\oracle\ora90\bin\oemapp.batt
    forms6i
    F:\oracle\ora901\bin\
    since 9i is later than forms 6i i am unable to put in the same directory
    ------------

  • [svn:fx-trunk] 11885: Integrating Sujata and Min' s changes from the latest approved FXGUtils from CT changelist 633842.

    Revision: 11885
    Revision: 11885
    Author:   [email protected]
    Date:     2009-11-16 20:19:46 -0800 (Mon, 16 Nov 2009)
    Log Message:
    Integrating Sujata and Min's changes from the latest approved FXGUtils from CT changelist 633842.
    CT Bugs Fixed:
    - bug #2480280 (FXGUtils: pixelHinting setting to true for SolidColorStroke doesn't work.)
    - bug #2479187(FXGUtils is drawing compiled FXG items is off by half a pixel)
    - Fixed other instances of rounding errors from casting to int.
    - Bug 2480289: Compiling richtext content markup in MXML with FlexSDK runtime option is throwing errors.
    -  LinkFormats cannot be child of  tag has children, you do not get a compile error.
    -  Bug  2477649: FXGUtils needs to support setting justificationStyle to prioritizeLeastAdjustment for RichText.
    -  Bug 2477661: Incomplete error message when an invalid textAlign attribute value is provided.
    -  Bug 2444256: FXG compiler fails on percentage lineheight inside formatted text content.
    QE notes: Please investigate 2 mustella failures for FXG stroke tests.
    Doc notes: N/A
    Bugs: N/A
    Reviewer: Sujata, Min
    Tests run: checkintests, mustella fxg
    Is noteworthy for integration: Yes
    Modified Paths:
        flex/sdk/trunk/modules/fxgutils/src/java/com/adobe/fxg/FXGConstants.java
        flex/sdk/trunk/modules/fxgutils/src/java/com/adobe/fxg/FXGException_en.properties
        flex/sdk/trunk/modules/fxgutils/src/java/com/adobe/fxg/swf/FXG2SWFTranscoder.java
        flex/sdk/trunk/modules/fxgutils/src/java/com/adobe/internal/fxg/dom/ContentPropertyNode.j ava
        flex/sdk/trunk/modules/fxgutils/src/java/com/adobe/internal/fxg/dom/EllipseNode.java
        flex/sdk/trunk/modules/fxgutils/src/java/com/adobe/internal/fxg/dom/RectNode.java
        flex/sdk/trunk/modules/fxgutils/src/java/com/adobe/internal/fxg/dom/RichTextNode.java
        flex/sdk/trunk/modules/fxgutils/src/java/com/adobe/internal/fxg/dom/richtext/AbstractRich BlockTextNode.java
        flex/sdk/trunk/modules/fxgutils/src/java/com/adobe/internal/fxg/dom/richtext/TextHelper.j ava
        flex/sdk/trunk/modules/fxgutils/src/java/com/adobe/internal/fxg/dom/richtext/TextProperty Node.java
        flex/sdk/trunk/modules/fxgutils/src/java/com/adobe/internal/fxg/dom/types/LeadingModel.ja va
        flex/sdk/trunk/modules/fxgutils/src/java/com/adobe/internal/fxg/swf/ImageHelper.java

  • Build form and report on APEX RESTful service on another server

    Hi guys,
    I have been stuck with this for long time.
    I have this web service on server A ( an exposed report as web service )
    http://brown.maxapex.com/apex/apex_rest.getReport?app=112&page=8&reportid=REST
    - I exe this command on server A
    select utl_http.request('http://apex.oracle.com') from dual;
    and did not get error which indicates that the Network resources are available.
    I need to build a form and report based on that service on server B. But I could not. Can you help pls ??
    work space : fam
    user: test
    password: test
    Application 49141
    user: fateh
    password: fateh
    Regards,
    Fateh

    Hi guys,
    Pls, answer my questions. I am at the final stage of the game ..
    Regards,
    Fateh

  • PDF reports and forms11g, Weblogic, call report from form, parameters

    Hi All.
    I had difficulty to put to work reports 11g on pdf format. this is how I solve it.
    I hope help any of you and also anyoe can correct me if Im wrong.
    1. I have installed an configured the weblogic server 10.3.3, also Forms, Reports, Portal, Discoverer 11.1.1.3.0 and database 11.2
    2. I re-compiled my forms and reports 10gR2 on 11g, also the pll libraries.
    3. This is how I call the report from my form, I add parameters to a parameter list called PL then invoke the rp2rro prucedure that is located at rp2rrp.pl library:
    PL := create_parameter_list(TDATA);
    add_parameter(PL,'PARAMFORM',TEXT_PARAMETER,'NO');
    add_parameter(PL,'ORIENTATION',TEXT_PARAMETER,'PORTRAIT');
    add_parameter(PL,'EMPRESA',TEXT_PARAMETER,:GLOBAL.COMPANY);
    add_parameter(PL,'NB_EMPRESA',TEXT_PARAMETER,:GLOBAL.COMPANYNAME);
    add_parameter(PL,'DESFORMAT',TEXT_PARAMETER,:CG$CTRL.DESFORMAT);
    rp2rro.SETREPORTSSERVER(:GLOBAL.REPORTSERVER);
    add_parameter(PL,'SESION',TEXT_PARAMETER,TO_CHAR(SESION));
    Add_Parameter(pl, 'DESTYPE', TEXT_PARAMETER, 'SCREEN');
    rp2rro.rp2rro_run_product(REPORTS, :CG$CTRL.REPORT_TYPE, SYNCHRONOUS, RUNTIME, FILESYSTEM, PL, NULL);
    destroy_parameter_list(PL);
    4. when pr2rro gets the parameter list (PL) did not find the Desformat parameter that I sent from the form. so I edit the pr2rro.pll library. this is the zone of the code edited:
    (just added the number var "Desfn" that the get_parameter_attr() will need above.
    PACKAGE BODY rp2rro IS
         /* Package variables */
    rp2rroDesformat varchar2(30);
         rp2rroDesname varchar2(200);
         rp2rroDestype varchar2(30);
         rp2rroReportOther varchar2(2000):='';
    rp2rroComm_mode number := Synchronous;     
         rp2rroReportServer varchar2(100);
         rp2rroVirtualDir          varchar2(100);
    rp2rroReportsInterface varchar2(30);
    /* this line by ingenio*/
         Desfn                    number;     
    5. a couple of lines above, you can find this:
    (here I added get_parameter_attr(mparamlist_id,'DESFORMAT',Desfn,rp2rroDesformat); to asign the value of the parameter called Desformat to the rp2rroDesformat var)
    PROCEDURE rp2rro_run_product(product NUMBER,reportFile VARCHAR2,commMode NUMBER,engine NUMBER,fileLocation NUMBER,mparamlist_id ParamList,display VARCHAR2) IS
    BEGIN
         /* Handle only calls to Reports */
         /* this line by ingenio*/      
    get_parameter_attr(mparamlist_id,'DESFORMAT',Desfn,rp2rroDesformat);           
              IF product = REPORTS THEN     
              Handle_rp2rro_run_product(product, reportFile,commMode,engine,fileLocation,mparamlist_id);
              END IF;
    END;
    Its now working fine with PDF, RTF, HTML, Delimited formats, Not with EXCEL(spreadsheet) Im working in that.
    I accept any help.
    Thanlks
    Edited by: Ingenio on Nov 29, 2011 2:44 PM

    I solved my problem editing the rp2rro.pll library,I debugged the library and I found the format sent by forms was missing, so I catch it and set it directly:
    GET_PARAMETER_ATTR(mparamlist_id, 'DESFORMAT',vnumb,vvalue);
                   setDesformat (vvalue);

  • Calling report from form and after parameter form trigger

    Hi, I've also posted to this to the reports forum but because it works from Reports Builder it may be a forms issue which is why I'm x-posting. Apologies.
    I have a report that creates a file, desname is set in the after parameter form trigger (it uses one of the parameter values).
    The problem is file is not created using the path and filename set in the trigger, the file is created in the bin folder with the name account_by_service_type.txt (account_by_service_type.rdf is the report definition).
    If the desname is set in the before parameter form AND a field with the source=desname is added to the parameter form then the file will be created with the correct path and name however it won't have the relevant parameter incorporated into the file name obviously.
    I've noticed in other reports that where the desname is being set in the after parameter form that I've had to pass the desname from the form but obviously I cannot do that here either.
    Am I missing something obvious?
    Regards
    Sean

    Hi Frank,
    It's WebForms. Below is the code:
    -- call from menu item
    run_report_object_proc(TRUE,'accounts_by_service_type.RDF',null,FILE,'delimited','paramform=yes');
    -- run_report_0bject procedure
    PROCEDURE run_report_object_proc (p_screen IN BOOLEAN,
                        p_report_filename IN VARCHAR2,
                        p_desname IN VARCHAR2,
                        p_destype IN NUMBER,
                        p_desformat IN VARCHAR2,
                        p_paramform IN VARCHAR2)IS
    v_report_id     report_object;
    v_report     varchar2(100);
    v_job_id     varchar2(100);
    v_url          varchar2(1000);
    rep_status     varchar2(20);
    hidden_action     VARCHAR2(2000)     :='';
    BEGIN
    v_report_id := find_report_object( 'report2');
    SET_REPORT_OBJECT_PROPERTY(v_report_id,REPORT_FILENAME,p_report_filename);
    SET_REPORT_OBJECT_PROPERTY(v_report_id,REPORT_DESNAME,p_desname);
    SET_REPORT_OBJECT_PROPERTY(v_report_id,REPORT_DESTYPE,p_destype);
    SET_REPORT_OBJECT_PROPERTY(v_report_id,REPORT_DESFORMAT,p_desformat);
    hidden_action := hidden_action||'&report='||GET_REPORT_OBJECT_PROPERTY(v_report_id, REPORT_FILENAME);
    hidden_action := hidden_action||'&destype='||GET_REPORT_OBJECT_PROPERTY(v_report_id, REPORT_DESTYPE);
    hidden_action := hidden_action||'&desformat='||GET_REPORT_OBJECT_PROPERTY(v_report_id, REPORT_DESFORMAT);
    hidden_action := hidden_action||'&userid='||GET_APPLICATION_PROPERTY(username)||'/'||GET_APPLICATION_PROPERTY(password)||'@'||GET_APPLICATION_PROPERTY(connect_string);
    if p_desname is not null then
    hidden_action := hidden_action||'&'||p_paramform||'&desname='||p_desname;
    else
    hidden_action := hidden_action||'&'||p_paramform;
    end if;
    hidden_action := '/reports/rwservlet?_hidden_server=rserv1'||hidden_action;
    SET_REPORT_OBJECT_PROPERTY(v_report_id, REPORT_OTHER, 'pfaction='||hidden_action||' '||p_paramform);
    -- SET_REPORT_OBJECT_PROPERTY(v_report_id, REPORT_OTHER, 'paramform=no');
    v_report := run_report_object( v_report_id);
    IF p_screen THEN
         v_job_id := substr(v_report,instr(v_report,'_',-1)+1);
    rep_status:=report_object_status(v_report);
    while rep_status in ('RUNNING', 'OPENING_REPORT', 'ENQUEUED')
    loop
         rep_status:=report_object_status(v_report);
    end loop;
    if rep_status='FINISHED' THEN
         v_url := '/reports/rwservlet/getjobid'||v_job_id||'?server=rserv1';
              web.show_document(v_url,'_blank');
    else
         message(rep_status||' error running report');
    end if;     
    end if;
    END;
    -- report after parameter form trigger
    function AfterPForm return boolean is
    begin
    :desname := 'c:\service_type_'||:p_service_type||'_'||to_char(sysdate,'DDMMYYYY')||'.xls';
    return (TRUE);
    end;

  • HST50: Unix - How Headstart calls forms and reports uppercase/lowercase from a Menu

    We are migrating a 'in production' Headstart generated application from Windows to Unix.
    We had to a little time in setting the lowercase implementation names, setting the prefs to generate lowercase file.....
    So good so far. When testing the application on Unix, all files are lowercase, the Forms start without a problem but the Reports won't start.... Renaming the report files to uppercase works fine.
    Going through the Headstart code for calling Forms and Reports I noticed the following:
    When calling Forms the qmslib50.qms$form.call procedure is invoked. In this procedure the follwoing statement is used:
    l_form_name := lower(p_form_name) So only lowercase will be found....
    For calling Reports from the Lauch Report Form the qms0012l.qms$report.run procedure is invoked.
    This procedure calls fill_par_list where the l_module_name is set. But in this procedure no uppercase or lowercase is used......
    Not consequent I think !!
    Is this done for a specific reason ?
    PS: Change qms0012l and it works fine.

    Hi,
    cannot use run_report_object here cause I cannot create a report object in menu (like how we can do it in forms).
    Create a generic named Report node in the forms that you reference from the RunReport object request. This way you can run Reports from a menu
    Frank

  • Opening or calling Report from Form

    Hi , I am new in developer, i want to call my report from the form , and used the run_product and run_report_object in when button_button_pressed trigger but failed to open the report. please tell me using step by step process , also tell me how to configure report server

    Hello,
    You will find examples in the document :
    Integrating Oracle Forms 10g and Oracle Reports 10g 2-Apr-2004
    This paper focuses on the integration of Oracle Reports in Oracle Forms
    http://www.oracle.com/wocportal/page/wocprod/ver-31/ocom/technology/products/forms/pdf/10g/frm10gsrw10g.pdf
    Many other documents are available at :
    http://www.oracle.com/technology/products/forms/techlisting10g.html
    Regards

Maybe you are looking for

  • Can't access the web but can screen share and secure shell on my network???

    Hi, I don't know if this is relevant, but I installed a security patch along with a safari patch the other day and the next morning, I could not access the internet, however I can do things like screen share and ssh. I cannot however view internal we

  • Multi line issue in Table Cell Editor

    Hi, I am developing an occasionally connected application for handheld devices using NetWeaver Mobile 7.1. In one of the view, I have a table which display items information from the data source. In one of the column I need to display item descriptio

  • Dynamic Date selection inactive

    Hi, I am not able to give dynamic date selection in a variant. (D: Dynamic date calculation).The traffic light is displayed in red and there is no options such as current date etc. is there any need to do some settings to get these options.

  • How to improve performance in the following PL/SQL

    I'm running this PL/SQL in a Job step inside a UNIX job, is taking too long to finish and is a simple process to do but definetely there is something that I need to do. I have to find records that are not included in my T_XREF table from my temporary

  • Wrong percentage calculation in Hierarchy

    Dear All, I have a hierarchy Customer Group->Customer Name->Document No. I am calculating percent of Total for top 20 customers. Problem here is that percentage is calculated correct till the Customer Name Level but fails for document No level. Pleas