How to display  Reports parameter form in Oracle Forms 10g.

hello,
am migrating from Forms 6i applications to Forms 10g.
one of my application contain report, that report display parameter form
I wrote below code for WHEN-BUTTON-PRESSED Trigger
DECLARE
pl_id      ParamList;
v_report_id report_object;
v_report varchar2(100);
vjob_id varchar2(100);
vc_rep_status varchar2(100);
BEGIN
pl_id := create_parameter_list('my_list');
add_parameter (pl_id,'P_HOSPITAL_ID',text_PARAMETER,
:bm_hospitals.hospital_id);
add_parameter(pl_id,'PARAMFORM',text_PARAMETER,'NO');
v_report_id := FIND_REPORT_OBJECT('bm_r001');
v_report := RUN_REPORT_OBJECT ( v_report_id,pl_id );
vjob_id := substr ( v_report, length(<reportservername>)+2,
length( v_report) );
vc_rep_status := REPORT_OBJECT_STATUS (v_report);
IF vc_rep_status = 'FINISHED' THEN
     WEB.SHOW_DOCUMENT ('/reports/rwservlet/getjobid'|| vjob_id||
'?server=rep_mohahubkpcomp_ORaHOme_IAS'||'&userid=
bedman/bedman@bedman'||'&paramform=yes','_blank');
ELSE
     message ('Report failed with error message '||vc_rep_status);
END IF;
Destroy_Parameter_List(pl_id);
END;
The Above code is running report and displaying Output perfect but cannot
display the Parameter Form at runtime.
any help in this very thankful.
Regards
Gagan.

In Your code there is a line:
add_parameter(pl_id,'PARAMFORM',text_PARAMETER,'NO');
which actually disables the report parameter form.
The line:
WEB.SHOW_DOCUMENT ('/reports/rwservlet/getjobid'|| vjob_id||
'?server=rep_mohahubkpcomp_ORaHOme_IAS'||'&userid=
bedman/bedman@bedman'||'&paramform=yes','_blank');
displays the report to which vjob_id refers. At this point the report is competed so the parameters userid and paramform are useless.
Hope this helps.
Regards
Bekcic Aleksandar

Similar Messages

  • How to know report server name in oracle forms and reports with weblogic server 10.3.5

    Hello Experts,               I am new in oracle forms and reports.I have installed Oracle forms 11g with weblogic server 10.3.5 at windows 7.Forms and reports are working well.But I want to call a report from an oracle form button press trigger. For This I need to know the my report server name which i dont know.Please tell me how can I know my report server name.

    I want to call a report from an oracle form button press trigger. For This I need to know the my report server name
    You can find the name of the standalone reports server in $ORACLE_INSTANCE/config/ReportsServerComponent.
    Or you can use Fusion Middleware Control Console, normally at  http://<machine name>:7001/em

  • How to display static HTML pages in Oracle Forms 6i

    I want to display static HTML page in oracle Forms ? Can any body help please ? Its very urgent. Many thanks in advance.

    Suresh,
    there exist a Java Bean in teh Forms 6i demos that shows a static HTMl example. Note that the HTML that could be shown is somewhat basic, but it will give you an impression how it can work. The demos are at otn.oracle.com/products/forms --> samples --> 6i demos
    Frank

  • How to display a calendar from an Oracle Form?

    When Microsoft Outlook is opened, is it possible to display the folder contining the user's calendar? What is the necessary code to do this? I want to be able to display the calendar and let the user enter information, delete information, view information, and update information. Can this be done from an Oracle Form? Could code be put in a When-Button Trigger to do this function?

    When Microsoft Outlook is opened, is it possible to display the folder contining the user's calendar? What is the necessary code to do this? I want to be able to display the calendar and let the user enter information, delete information, view information, and update information. Can this be done from an Oracle Form? Could code be put in a When-Button Trigger to do this function?

  • How to display report server name in oracle reports 9i.

    I need to do some validation based on report server name.Pl. suggest.

    How do you execute the call for a Report?
    URL?

  • How to display a view which contain interactive form in an external window

    Anyone know how to display a view which contain interactive form in an external window?
    I managed to display the view in an internal window with the following code:
    IWDWindowInfo windowInfo = (IWDWindowInfo)wdComponentAPI.getComponentInfo().findInWindows("PdfReportWin");
    IWDWindow window = wdComponentAPI.getWindowManager().createWindow( windowInfo, true);
    For external window, I tried this method : wdComponentAPI.getWindowManager().createExternalWindow(String URL, String title, boolean modal) but there are no parameter for view name?
    Maybe this is not the correct way, really appreaciate if anyone can help.

    Hi,
                U need to the following
               1.Create another window
               2.Create a view in it tat contains Interacive form element.
               3. call this window dynamically thru the first window by creating a context element of IWDWindow  type
    The code may help:
      IWDWindowInfo windowInfo =(IWDWindowInfo) wdComponentAPI.getComponentInfo().findInWindows("SearchEmpwind");
          IWDWindow window = wdThis.wdGetAPI().getComponent().getWindowManager().createWindow(windowInfo, true);
          window.setWindowPosition(WDWindowPos.CENTER);
          window.setWindowSize(400, 250);
          window.open();
          wdContext.currentContextElement().setEmpSearchWind(window);
    Regards
    Ishita

  • How to make a billing forms in oracle forms 6.0?

    hi,i want to make a sample billing form in oracle forms.my fields details
    itemcode varchar2(6);
    itemname varchar2(25);
    quantity number(5); prompt quantity in kg
    selling_price number(5);
    subtotal number(5);
    total number(6);
    i have no idea about billing application.if i want to make "subtotal" and "total" as database item?,i only want to show the total price on "total" and "subtotal" fields.i will make "total" field as single record item.and set all others are 10 records displayed.please help me further.i want sellingprice*quantity=subtotal.at last i want to get subtotal+subtotal+n(sum of all subtotal)=total.total is a single display field at bottom.if we entered all items i want to show the total at bottom.i know my concept is so stupid.please help me to make a proper forms.real thanks for reading my question.

    I think you've got worse problems than building the form.
    First you need a proper data model. Billing will involve more than one table, with master - detail relations and that kind of very nice things that a database can achieve.
    Then, once you have designed a datamodel that fits your requirements, you will have to build the form with the builder. It is not a hard tool, but needs a minimum learning.
    Don't take me wrong, but I don't think you can come here and ask such a generic issue.

  • How to implement the spell check in oracle forms 10g or 6i...

    How to implement the spell check in oracle forms.
    Is there any different method is there.
    Please help me....
    Praveen.K

    Here is one different from Jspell..
    In 6i client/server you can call MS Word spell checker using OLE. Below sample code for 6i.
    For 10g you will need webutil to use same code. install webutil and just replace "OLE2." with "CLIENT_OLE2."
    PROCEDURE spell_check (item_name IN VARCHAR2)
    IS
       my_application   ole2.obj_type;
       my_documents     ole2.obj_type;
       my_document      ole2.obj_type;
       my_selection     ole2.obj_type;
       get_spell        ole2.obj_type;
       my_spell         ole2.obj_type;
       args             ole2.list_type;
       spell_checked    VARCHAR2 (4000);
       orig_text        VARCHAR2 (4000);
    BEGIN
       orig_text := NAME_IN (item_name);
       my_application := ole2.create_obj ('WORD.APPLICATION');
       ole2.set_property (my_application, 'VISIBLE', FALSE);
       my_documents := ole2.get_obj_property (my_application, 'DOCUMENTS');
       my_document := ole2.invoke_obj (my_documents, 'ADD');
       my_selection := ole2.get_obj_property (my_application, 'SELECTION');
       ole2.set_property (my_selection, 'TEXT', orig_text);
       get_spell :=ole2.get_obj_property (my_application, 'ACTIVEDOCUMENT');
       ole2.invoke (get_spell, 'CHECKSPELLING');
       ole2.invoke (my_selection, 'WholeStory');
       ole2.invoke (my_selection, 'Copy');
       spell_checked := ole2.get_char_property (my_selection, 'TEXT');
       spell_checked :=SUBSTR (REPLACE (spell_checked, CHR (13), CHR (10)),1,LENGTH (spell_checked));
       COPY (spell_checked, item_name);
       args := ole2.create_arglist;
       ole2.add_arg (args, 0);
       ole2.invoke (my_document, 'CLOSE', args);
       ole2.destroy_arglist (args);
       ole2.RELEASE_OBJ (my_selection);
       ole2.RELEASE_OBJ (get_spell);
       ole2.RELEASE_OBJ (my_document);
       ole2.RELEASE_OBJ (my_documents);
       ole2.invoke (my_application, 'QUIT');
       ole2.RELEASE_OBJ (my_application);
    END;Call it like this: SPELL_CHECK ('BLOCK.MY_TEXT_ITEM' );

  • How to change timeout parameter value in Oracle 10g R2

    Anyone knows how to change timeout parameter value in Oracle 10g Database R2?

    Waheed Azhar wrote:
    actually i am getting ORA-01013 exception which directly relates to the timeout value but i think it's hidden parameter...What makes you think it's a hidden parameter?
    A search of MetaLink for that error turns up a number of hits, most of which a very situational specific. Exactly what are you doing when you get this error? Are you connecting over an ODBC connection? Are you getting it on a connection request? At db shutdown? During a long-running query?

  • How To Creating A Object Libraries In Oracle Forms 6i

    hi
    All
    I Not No How To Creating a Object Libraries In Oracle Forms 6i
    How To Add Your Pl/sql Block In a Lib
    But What Is Use it is i Know , So I Want To Creating a Object Libraries.
    So Any One Have A Idea Plz Help Me.

    Hi,
    there is a good paper:
    http://www.quovera.com/whitepapers/downloads/102_doc.zip
    http://www.quovera.com/whitepapers/downloads/102_ppt.zip
    Best,
    Friedhold

  • Help for designing the same forms like Oracle form!!!

    Hi everyone!
    I am working for some projects and now I want to make a form like Oracle form, there are some features in Oracle form that I don't know how to do the same so I would like to ask someone here. Please help me to design form like the form I mention below. I mean when I open my form, it must be the same with Query Material after that I press Enter then it must be the same Material Workbench form. Please help me!!! Thanks in advanced.
    Inventory => On-hand Availability => On-hand Quantity, it will display Query Material Form then Enter after that it will display Material Workbench.

    Hi, welcome to the forums. Please take a few minutes to reveiw the following:
    <ul>
    <li> Before posting on this forum please read
    <li> 10 Commandments for the OTN Forums Member
    <li> Announcement: Forums Etiquette / Reward Points
    </ul>
    If you follow these general guidelines, you will greatly increase your chances of getting a solution to your question in a shorter period of time. While your questions may make sense to you - when you post a question here, you have to remember that we do not have the same point of reference as you. You can't assume we will understand vague references like *"I want to make a form like Oracle form"*. I've seen so many different UI variations in Oracle Forms that a blanket statement like this has no meaning. The only thing that limits the funtionality of a Form is your imagination.
    Perhaps, after reviewing the aforementioned articles, you could provide us with some basic information like your Oracle Forms version, Browser and version, OS and version and a more detailed description of the type of functionality you are trying to emulate. With this information, we (the Forum participants) will be better able to help you.
    Regards,
    Craig...

  • Can not run forms in Oracle Form Builder

    I get FRM-10142: The HTTP listener is not running on computer1 at port 8890. Please start the listener or check your runtime preferences. When I try running a form in Oracle form builder.
    Can someone please help with a solution to this problem.

    Start the OC4J Instance first....
    Simon

  • How to avoid IE pop-ups when running BIP reports(w/ SSO) from Oracle Forms?

    Hi all,
    We have an OID/SSO integrated Oracle Forms and BI Publisher environment in place. We/users expect the same behavior when running Oracle Reports or BIP reports from Oracle Forms... which means receiving no intermediate pop-ups and simply getting the report output to appear in the relevant target application(PDF, EXCEL, etc). Currently we get multiple security warnings when running BIP reports from Oracle Forms.
    Here's a list of Pop-ups contents:
    1. "File Download - Security Warning" Do you want to open or save this file? -> OPEN
    2. "File Download" Do you want to save this file? Name = ma01r500.pdf -> YES
    3. "Save AS" -> pick desktop and save.
    4. "Download Complete" -> OPEN
    We have experimented with setting various IE security settings to LOW/enabled and still get these pop-ups.
    Any suggestions is much appreciated.
    Thanks,
    Yahya

    FYI... Metalink Note 282996.1 has resolved the bigger issue with the extra pop-ups with SSO enabled environment.
    Cause:
    Internet Explorer (IE) has to cache PDF files in a temporary directory prior to opening the file. Without this IE cannot process PDF files. With SSO protected pages, the header cache settings are set to no-cache which prevents IE from downloading PDF files.
    Solution:
    In mod_osso.conf use the entry "OssoSendCacheHeaders off" which tells mod_osso to turn off all no-cache related headers, which the enables Internet Explorer to be cache the file in a temporary directory.
    Now I am not sure if anybody has any thoughts/suggestions as how we might be able to resolve this issue where Oracle Reports WEB.SHOW_DOCUMENT calls have no pop-ups so ideally BIP reports WEB.SHOW_DOCUMENT calls should behave the same as both are calls from Oracle Forms.
    But at least now our SSO enabled environment and un-secure DEV/UAT behave the same with a single pop-up. Ideally the users shouldn't have to come across this intermediate pop-up to open(save/cancel being the other options) the document(just like Oracle Reports calls).
    Yahya

  • How to hide the display of  my text in oracle forms

    Oracle Forms 6i
    Hai All
    My question is how to disable my Text.
    I have created a forms for weight management here when the user opens the forms I dont want to show my text and textitem before filling some fields.
    I have have set the text item by Set_item_property display False and how can set the text display false
    Thanks & Regards
    srikkanth.M

    You cannot do any operation on forms label
    other way is to use non-database Display items to show you text.... or if you are looking to hide the prompts of text fields then you can set it to null or hide the text item completely

  • How to restrict/allow users to access oracle forms/reports through SSO

    Dear All,
    I am new to oracle application server and need to know how can we manage the access rights for oracle forms using OID/SSO.

    Anyone can answer.

Maybe you are looking for

  • [SOLVED] [Openbox] Icon-theme not working(?)

    Hi! I hope you guys could help me with the following problem. Currently I'm running Openbox, compton, tint2, gtk2/3 on my Arch-system. The problem I'm having right now is that tint2 tray icons are not showing Faenza-Dark but showing gnome(?) dark ico

  • Should I uninstall current CS6 before installing CreativeCloud app?

    Should I uninstall current CS6 before installing CreativeCloud app? I have the CS6 Master Suite and have kept it updated, do I need to uninstall that before installing the creative cloud apps? cheers, Fred    

  • My 2007 MacBook pro won't boot up beyond a White screen any ideas what to do?

    My 2007 MacBook pro won't boot up beyond a White screen any ideas what to do?

  • Boot Failure Disk 1 on x86

    I am trying to install Sloaris 10 on a HP pavilion Intel system and when I boot from the CD I created (sol-10-u3-ga-x86-v1.iso) I get DISK BOOT FAILURE, INSERT SYSTEM DISK AND PRESS ENTER". It will not boot fromthe 'check hardware' CD either. HELP

  • SOS!! IdeaTabA1000-F not starting. :(

    Dear Friends, I bought an IdeatabA1000-F from Saudia some 3 months back. it just stopped working (black screen) without any obvious reason. Can anybody help me how to restart; i have already tried to restart by pressing reset button, individually as