Calling 10g Report from 6i Form

A 6i client-server form has a call to a 10g report in the form of a URL.
The HOST command calls Internet Explorer and with the URL appended. This, however, keeps the form locked until IE is closed.
Is there a way around this or a better way to call a URL from 6i Forms?
Thank you.

Found an example. It seems to work fine.
I believe this is replaced in Forms 10g by web.show_document though.
win_api_shell.winexec(vcCommand, WIN_API.SW_SHOWNORMAL, FALSE);

Similar Messages

  • Calling a report from oracle form 10g

    how to call a report from oracle form 10g

    Please see the link:
    http://www.oracle.com/technology/products/forms/pdf/10g/frm10gsrw10g.pdf

  • URGENT!!! calling crystal reports from oracle forms 10g

    Is it possible to call crystal reports from oracle forms 10g?
    Can someone help to answer how, if there is a solusion, to call crystal reports from oracle forms 10g.
    Please provide codes with details showing step by step.
    Thanks

    hi
    try something like this.
    DECLARE
    charWinHandle VARCHAR2(50);
    numWinHandle NUMBER;
    BEGIN Set_Application_Property(Cursor_Style,'BUSY');
    charWinHandle := Get_Item_Property('Control.Rep',Window_Handle);
    numWinHandle := To_Number(charWinHandle);
    :Item('Control.CrystalReport1').OCX.Crystal.Crysta lReport.WindowParentHandle
    := numWinHandle;
    :Item('Control.CrystalReport1').OCX.Crystal.Crysta lReport.WindowState := 2;
    :Item('CONTROL.CRYSTALREPORT1').OCX.Crystal.Crysta lReport.Connect
    := 'DSN=;UID=' || Get_Application_Property(UserName) ||
    ';pwd=' || Get_Application_Property(password) || ';dsq=;';
    Crystal_CrystalCtrl.ReportFileName( :Item('Control.CrystalReport1').interface,
    'C:\Sample_Rep.Rpt' );
    Set_Window_Property( Forms_Mdi_Window, Window_State,Maximize );
    Set_Window_Property( 'MAIN', Window_State, Maximize );
    :reptitle := 'Report Preview Window';
    numWinHandle := Crystal_CrystalCtrl.PrintReport( :Item('Control.CrystalReport1').interface );
    Set_Application_Property(Cursor_Style,'DEFAULT');
    END;NOTE: Change the report name and path according to your required file name and path in
    the "Crystal_CrystalCtrl.ReportFileName" method call. Also, the connection string shown
    assumes that you will use the current USER and PASSWORD for the Form.
    - To make the above Form generic so that you can run any Crystal report from it, then create
    a parameter for the report name and pass it to the Form using CALL_FORM from any other Form.
    Then just replace the file name with the passed parameter.
    -. Run the Form
    If its correct/helpful please mark it thanks.
    sarah
    Edited by: S@R@h on Nov 27, 2009 6:33 AM

  • **How to call a report from a form by passing a specfic value?????

    Hi Expert,
    I want to call a report from a form.My problem scenario like, a user is login to his account and there is a option called ADMIT CARD(Push Button).Now when he pressed the button a report will generate.I want that when he pressed the button the user id of the user will passed to the report and the report will generate corresponding to his details which was stored in the database.This scenario is like any online admit card.
    Suppose I want a details report of employee whose employee_id=100.How could I pass this value(employee id) to report which will generate a report details.
    Thanks,
    TAPAN
    Message was edited by:
    user630863

    Thanks for replying.
    Actually I am a beginner.I think that I have to use RUN_REPORT_OBJECT built-in.But I cannot understand the parameterlist.Can u plz give me any example or code then I am very thankful.
    Suppose I want a details report of employee whose employee_id=100.How could I pass this value(employee id) to report which will generate a report details.
    Thanks,
    TAPAN

  • Calling a Report from a Form

    I have uploaded my form to the app server and compiled to Linux. I have copied my RDF file to the reports_path/demo directory. I can run the report via a link from our portal using the URL as follows:
    /reports/rwservlet?report=IndRpt.rdf&desformat=pdf&destype=cache&userid=' target="_blank"
    That opens the report in a separate window, which is what we want. So far, so good.
    I can run the form via a link from our portal as well using the URL as follows:
    /forms/frmservlet?config=bsc_ind
    The config section hides all the form parameters very nicely.
    In the portal, I created a Report Server Access portlet, REP_OMHAST2_MIDTIER, and use the following set_report_object calls in my form:
    repid := find_report_object('IndRep');
    SET_REPORT_OBJECT_PROPERTYrepid,REPORT_EXECUTION_MODE,BATCH);
    SET_REPORT_OBJECT_PROPERTYrepid,REPORT_COMM_MODE,SYNCHRONOUS);
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESTYPE,CACHE);
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,'PDF');
    SET_REPORT_OBJECT_PROPERTYrepid,REPORT_SERVER,'rep_omhast2_midtier');
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_OTHER,ls_param);
    v_rep := RUN_REPORT_OBJECT(repid);
    rep_status := REPORT_OBJECT_STATUS(v_rep);
    WHILE rep_status in ('RUNNING','OPENING_REPORT','ENQUEUED') LOOP
    rep_status := report_object_status(v_rep);
    END LOOP;
    IF rep_status = 'FINISHED' THEN
    /*Display report in the browser*/
    WEB.SHOW_DOCUMENT('http://omhast2.omh.state.ny.us:7777/reports/rwservlet/getjobid'||
    substr(v_rep,instr(v_rep,'_',-1)+1)||'?'||'server=rep_omhast2_midtier ','_blank');
    All that comes right out of the white paper.
    Now here's the weird part, I have never seen this before. When I click my "Show Report" button in my form, the report seems to be running, but then I get a very strange dark grey, square icon superimposed over my mouse pointer. The icon has a small yellow "starburst" pattern with a tiny red exclamation point inside. The report does not appear on screen.
    Incidentally, all of this works correctly when I run the same scenario on my workstation using the call to rwserver as: rwserver server=rep_omhast2_midtier. But when we port it to the app server, it does not run. I think it has to be in the way the form calls the report because the report will run as a stand-alone object.
    Anything apparent to anyone out there?

    Well, it looks like I stumped the band. And with good reason. Sorry for the error. The problem was that the user running the form and the report had a pop-up blocker that was blocking the report. The form and the report ran from another machine. I allowed pop-ups from the report's URL and that enabled the report to appear.
    So, here we have another example of how to call a report from a form. Again, I am sorry for any angst this may have caused.

  • Calling Crystal Reports from Oracle Forms 10G

    Hi everyone,
    I am trying to call a crystal report from Oracle Forms 10G.
    I have a button on my Form which when clicked calls a Crystal Report which the uaser then wants to save as a PDf file.
    Can someone please send me the code to do this and also the exact steps that are to be followed.
    Thanks
    Fm.

    Hi Andreas,
    I am trying to call the crystal report from an Oracle Form using a URL. No batch file is being used here.
    I am looking for a peice of code similar to run_product or run_report built in in Oracle which calls an Oracle report from an Oracle Form.
    Also I dont want to display the report on a screen or a window in Oracle Forms. I would like it to run just as we run an Oracle Report from an Oracle Form.
    Is that possible ? If yes please let me know the steps to do this.
    Thanks
    Faiz
    Edited by: IQ on May 13, 2011 11:38 AM

  • Can we call 10g Report from Form-6i???

    Hi buddies.....Can we call a report developed in 10g reports from a 6i Form using Run_Report_Object???

    Hi,
    you can run the reports in 6i. There won't be any problem. I have checked with the RDF file.
    I don't know whether the REP file which is generated in 10g can be opened in 6i or not.
    Regards,
    Manu.
    If this answer is helpful or correct, please mark it. Thanks.

  • Call 10g report from 4.5 form

    Hi everyone,
    Can anyone please tell me, how can i call a 10g report from a 4.5 form? Which are the implications on both sides?
    thanks in advance,
    MC
    Please, can anyone help me?

    All of these suggestions are limited because of the forms engine and plsql engine within forms. You will have to try them. And none of these configurations are supported by oracle.
    Use the old run_product. You will have to install reports runtime on every client
    RUN_PRODUCT(product, document, commmode, execmode, location,
    list, display);Try to make a call to a package in the database that calls utl_http, which makes a call to your reports server via a url.
    Maybe an OLE or VBX call out to IE?
    All of these are stabs in the dark.
    Try upgrading forms!!!

  • Calling a report from a form based on procedure

    I created a form based on a procedure.
    It is a entry form where the user is selecting or enters data then on submit I must display the report based on selected data.
    I know I can simply create a report with all bind variable and do the job.
    My question is what is the syntax to call the report from the procedure for the selected parameters values.
    Thanks
    Lawrence

    If you want to display other HTML page after successful submission, you need to use
    either go or call method.
    I created a form on SCOTT.EMP and a report on SCOTT.EMP and the report accept a parameter for
    the deptno. Here is my on successfull submission code:
    declare
    l_dept number;
    l_url varchar2(2000);
    begin
    l_dept := p_session.get_value_as_number('DEFAULT', 'A_DEPTNO', 1);
    l_url := 'scott.rpt_mask_1.show?p_arg_names=emp.deptno&p_arg_values='| |l_dept;
    go(l_url);
    end;
    null

  • Calling Crystal Reports from Oracle Forms 6i

    Hello
    I am trying to invoke/call Crystal Reports from Forms 6i.
    I have created OCX Item, while right click on item and insert-object, i am unable to see "Crystal Report" Control.
    I have installed crystal Reports 2008 (Version 12) and CR Standard Production version 9.
    Is there any Active X control registration in forms.
    I could see "Crystal Report Viewer Control 9" and "Crystal Report Print Control 12.0"
    Could some one help me,
    Thanks
    Tumuganti

    Did u Succeed in calling crystal Reports XI from Forms 6i
    or from Forms10g
    for me also the same Requirement
    please send any document ,Attachment ,steps to call Crystal Reports XI from Forms
    [email protected]
    Message was edited by:
    user501763

  • Call Oreacle report from Oracle form

    Hi,
    I need call a Oracle report from Oracle Form and found the the following procedure from this forum. I have 2 parameters 'start_date' and 'end_date' passing to called report. The following example just have onle parameter
    'departmentno' passing. Is that mean I need to call add_parameter twice like the following?
    add_parameter(plid, ''start_date' , TEXT_PARAMETER,:control.start_date);
    add_parameter(plid, ''end_date' , TEXT_PARAMETER,:control.end_date);
    In the following example:
    add_parameter(plid, 'departmentno', TEXT_PARAMETER,to_char(:dept.deptno));
    Thanks for clarification!!
    Michael
    PROCEDURE pass_parameter
    IS
    plid paramlist;
    the_param varchar2(15) := 'tmpdata';
    BEGIN
    plid := get_parameter_list(the_param);
    /* check if 'tmpdata' exists */
    IF NOT id_null(plid) THEN
    destroy_parameter_list(plid);
    END IF;
    /* if it does destroy it */
    plid := create_parameter_list(the_param);
    /* create it afresh */
    add_parameter(plid, 'departmentno', TEXT_PARAMETER,to_char(:dept.deptno));
    /* associate the param in the form with the param in the report */
    add_Parameter(plid, 'PARAMFORM', TEXT_PARAMETER, 'NO');
    /* to suppress the parameter form displaying */
    run_product(REPORTS, /* product name */
    'formrep.rdf', /* Oracle Reports module */
    SYNCHRONOUS, /* communication mode */
    RUNTIME, /* execution mode */
    FILESYSTEM, /* location of the Reports module */
    plid, /* handle to the parameter list */
    null
    END;

    this my code on when_button_press
    declare
    rec_grp recordgroup;
    col1 groupcolumn;
    col2                    groupcolumn;
    col3                    groupcolumn;
    col4                    groupcolumn;
    col5                    groupcolumn;
    col6                    groupcolumn;
    col7                    groupcolumn;
    col8                    groupcolumn;
    pl_id paramlist;
    i number :=1;
    begin
    rec_grp := find_group('emp_rec');
    if not id_null(rec_grp) then
    delete_group(rec_grp);
    end if;
    rec_grp := create_group('emp_rec');
    col1 := add_group_column('emp_rec','Empno',CHAR_COLUMN,8);
    col2 := add_group_column('emp_rec','Ename',CHAR_COLUMN,30);
    col3 := add_group_column('emp_rec','job',CHAR_COLUMN,15);
    col4 := add_group_column('emp_rec','Mgr',CHAR_COLUMN,8);
    col5 := add_group_column('emp_rec','Hiredate',DATE_COLUMN,10);
    col6 := add_group_column('emp_rec','Sal',CHAR_COLUMN,10);
    col7 := add_group_column('emp_rec','comm',CHAR_COLUMN,10);
    col8 := add_group_column('emp_rec','Deptno',CHAR_COLUMN,4);
    loop
    go_block('emp_r');
    go_record(i);
    add_group_row(rec_grp,i);
    set_group_char_cell('emp_rec.empno',i,:emp_r.empno);
    set_group_char_cell('emp_rec.ename',i,:emp_r.ename);
    set_group_char_cell('emp_rec.job',i,:emp_r.job);
    set_group_char_cell('emp_rec.mgr',i,:emp_r.mgr);
    set_group_date_cell('emp_rec.Hiredate',i,:emp_r.Hiredate);
    set_group_char_cell('emp_rec.sal',i,:emp_r.sal);
    set_group_char_cell('emp_rec.comm',i,:emp_r.comm);
    set_group_char_cell('emp_rec.deptno',i,:emp_r.deptno);
    i := i + 1;
         exit when :system.last_record='TRUE';
    end loop;
    pl_id := get_parameter_list('para1');
    if not id_null(pl_id) then
    destroy_parameter_list(pl_id);
    end if;
    pl_id := create_parameter_list('para1');
    add_parameter(pl_id,'Q_EMP',DATA_PARAMETER,'emp_rec');
    add_parameter(pl_id,'paramform',text_parameter,'no');
    run_product(REPORTS,'D:\ora\daily.RDF',synchronous,runtime,filesystem,pl_id,NULL);
    end;
    ---------and this is my reprot query----------
    select Empno,Ename,Job,Mgr,Hiredate,Sal,Comm,Deptno
    from emp
    where empno=:emp_rec
    order by empno;
    but it show error at run time
    Rep-1340
    plzz solve this problem to me
    fahad

  • How can we call a report from a form.

    how can we call a report from an existing form.

    Have you searched the Forms help system? It shows you how to use RUN_REPORT_OBJECT

  • Calling a report from a form and outputting to the screen.

    Hi all, I created a report from the Report node in Forms called Monthly_rep. It points to a .rdf file on the server that produces a monthly usage report. When run from Reports Builder both the web and paper version are fine.
    I have a button on a form using the When-Mouse-Click trigger, here is the code:
    declare
         report_id     Report_Object;
         report_job_id     VARCHAR2(100);
    begin
         report_id:= find_report_object('monthly_rep');
         SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_EXECUTION_MODE,RUNTIME);
         SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_COMM_MODE,ASYNCHRONOUS);
         SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_DESTYPE,CACHE;
         SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_SERVER,'rskei015');
         report_job_id:=run_report_object(report_id);
         END;
    When run, when the button is clicked, I get some disk activity and then nothing happens. If I change the "SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_DESTYPE" attribute to screen I get a FRM-41214 unable to run report message displayed.
    I am not fussed if the report runs as a web style or paper style, I just want to get it to work ... for now LOL.
    Do the "SET_REPORT_OBJECT_PROPERTY" settings in the trigger override the settings in the report node ?
    Any help greatly appreciated.
    Kevin

    You can use WEB.SHOW_DOCUMENT. See http://www.oracle.com/technology/products/forms/pdf/10g/frm10gsrw10g.pdf
    There you'll find a complete example of RUN_REPORT_OBJECT with WEB.SHOW_DOCUMENT.

  • Calling 10g reports from ADF_BC Application

    Dear All;
    Good day to you;
    I have an ADF_BC application, and at the same time i have 10g reports compiled and placed on forms and reports server,
    i want to call reports from my application as needed, i can put a hyperlink with the link to the report, and it is working fine,
    but i want to know how to change the link to be dynamic, since the application is deployed on 1 application server, and the rerports on the other
    in addition i need, to know how to send parameters
    i am unable to change the properties of a hyperlink in the code, and i do not want to change it in scriplet
    any idea, or tutorials will be most helpful
    thank you
    regards
    halim

    Hello John;
    Thank you for your reply;
    Yes i am using JSF, i am working on JDEV 10.1.3.30, i deployed my application to srvanweb2 a server we have, where the application server port is 7777,
    and i have deployed my reports to srvanweb2 with port being 7778,
    Report: http://srvanweb2:7778/reports/rwservlet?cmdkey=user_string&report=hrempr007.rdf&destype=cache&desformat=pdf
    Application: http://srvanweb2:7777
    my problem is, if i want to embed the link to the report as a common HTML hyperlink it would work, but if i want to set the value for this hyerplink dynamically to be able to add parameters on run time i would have to do it on the scriptlet level, and i can not do it in a bean, since i can not call the hyperlink set value, or even the get value, so my question what should i use to create a link which will change in a bean as you said and be able to call a differnet instance which is srvanweb2:7778, and send parameter
    regards
    Halim

  • Calling BI Reports from Oracle Forms

    Hi Guys,
    I have successfully called the BI Reports from Form Services at my Development Server.
    But now I am deploying the same in production Server but the following error is coming.
    Exception: java.lang.Exception: java.lang.NoSuchMethodError: oracle.j2ee.ws.saaj.client.p2p.HttpSOAPConnectio.setPreemptiveBasicAuth(Z)V
    Does any body have any idea which jar file I can find the above method.
    Thanks & Regards,
    Rajender

    Here :
    where is jar file for oracle.j2ee.ws.client.ServiceFactoryImpl
    they talk about a :
    wsclient.jar
    What is sure is that the jar must contain/begin with WS as webservice.
    Success
    Nico

Maybe you are looking for

  • Itunes puts PDF file in music

    When I 'add to Library'  a large pdf files it puts them into my music and not into a 'Book' folder on the left side of iTunes. How do I get a Book folder to show up ? I want to use iBooks on my iPad to read them and can't get them transferred to the

  • Action that finds specified words and highlight the whole sentence or paragraph

    Hi All, I know a action file from Acrobat users group (http://acrobatusers.com/content/find-highlight-words-and-phrases) which find and highlight a set of words using Acrobat action. But, is this possible to modify the javascript to select and highli

  • OKR choose from 2 drives

    Hey guys, I'm looking to buy an SSD for my IdeaPad g780 and I'll replace the bluray/dvd drive with the ssd and an adapter. That way I can have enough storage and fast speeds. For the optical drive, I'll get an external case so I can still use it. Now

  • Deploying Multiple interacting applications in one server

    I have sub application A deployed and have created an ear and deployed it . Similarly i have main application B and have created an ear and deployed it in the same server .I want to now call some methods in application B from application A. What are

  • HT4009 Trying to make an in app purchase.

    I was able to make an in app purchase. When I tried to purchase the same item again, I got the message" Your Purchase Could Not Be Completed". I went to ITunes support as the message suggested but I don't find the answer to my problem. Help please.