Form of Oracle 10 g by passing the parameter of the forms to reports

Hi all

I work in 10g AS and have a form which is called a Menu. When we run the form he asks that the connection information. and once it is successful, then it opens a menu.
Here in the menu, I ask a report before a form of parameter. In this setting, I have 3 userid startDate and endDate fields.

It's the part of my code that executes the report.

ADD_PARAMETER (PARAM_ID, 'Hogshead', TEXT_PARAMETER, USER);
ADD_PARAMETER (PARAM_ID, 'start_date', TEXT_PARAMETER, TO_CHAR(SYSDATE,'DD-MON-YYYY'));
ADD_PARAMETER (PARAM_ID, 'end_date', TEXT_PARAMETER, TO_CHAR(SYSDATE,'DD-MON-YYYY'));

Rep: = find_report_object ('MyReport');
vc_reportserver: = 'rep_prothonotary5_FRHome1 ';

SET_REPORT_OBJECT_PROPERTY (REPID, REPORT_COMM_MODE, SYNCHRONOUS);
SET_REPORT_OBJECT_PROPERTY (REPID, REPORT_DESTYPE, cache);
SET_REPORT_OBJECT_PROPERTY (REPID, REPORT_DESFORMAT, 'HTMLCSS');
SET_REPORT_OBJECT_PROPERTY(REPID,REPORT_OTHER,*'paramform=yes'*);

v_rep: = RUN_REPORT_OBJECT (repid, PARAM_ID);

Here I am able to get the report when I speak of paramform = no. As the parameters are passed directly to the form. Start date and end Date will be SYSDATE as it is in the code above.
But I need to be as paramform = yes, so that the form of the parameter appears before the report and, I can change the settings for Start Date and End Date . When I put paramform = yes in my code, the parameter form appers, but this form of parameter, there is a button submit Querry and Reset and when to drop querry button is pressed, the page Web site can not display the page .

How should I make it work?

a possible solution is to create a simple form to let the user enter its parameters, and then call the report itself with paramform = no

Tags: Oracle Development

Similar Questions

  • In passing the huge parameter to oracle procedure have a performance hit?

    I have a script attached, in which I am trying process/XML parsing in a table (STAGE_TBL) in the XMLTYPE column and insert the data analyzed in another table (PROCESSED_DATA_TBL). The XML file can be huge up to 2MB, which translates into approximately 2000 + lines of analyzed data. The issue I see is when I pass an XML object to a procedure (STAGE_TBL_PROCESS) to analyze its takes about 10 seconds per XML, but rather than from XML if I directly pick up table in the procedure (STAGE_TBL_PROCESS) passing the ID to be about 0.15 seconds. According to the document while params are passed by reference, so why is this variation of performance?

    Details of database Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64-bit version of PL/SQL Production 11.2.0.3.0 - Production "CORE 11.2.0.3.0 Production" TNS for Linux: Version 11.2.0.3.0 - Production NLSRTL Version 11.2.0.3.0 - Production

    Note: I could not perform SQL_TRACE or DBMS_STATS as I don't have access to them.

    /*
    This one is taking .15 seconds to process an XML with about 2000 rp_sendRow elements
    */

    DECLARE
     
    CURSOR NewStage IS
      
    SELECT *
      
    FROM STAGE_TBL
      
    WHERE  status = 'N'
      
    ORDER BY PUT_TIME ASC;
      SUBTYPE rt_NewStage
    IS NewStage % rowtype;

      ROW_COUNT INTEGER
    := 0;   -- Return value from calling the procedure
      READ_COUNT INTEGER
    := 0;   -- Number of rows read from the stage table
      INSERT_COUNT_TOTAL INTEGER
    := 0;   -- Number of Inserts Inven records
      ERROR_COUNT INTEGER
    := 0;   -- Number of Inven inserts that did inserted more then 1 row in Inven
      PROCESS_STATUS STATUS
    .MmsStatus;
      STATUS_DESCRIPTION STATUS
    .MmsStatusReason;
      ERRMSG VARCHAR2
    (500);

    PROCEDURE STAGE_TBL_PROCESS (IDDATA IN RAW, PROCESS_STATUS OUT VARCHAR2, STATUS_DESCRIPTION OUT VARCHAR2, ROW_COUNT OUT NUMBER) AS
    /*
      This procedure is to parse the XML from STAGE_TBL and populate the data from XML to PROCESSED_DATA_TBL table

      IN PARAMS
      ----------
      IDDATA - ID from STAGE_TBL
      xData - XMLType field from XML_DOCUMENT of STAGE_TBL

      OUT PARAMS
      -----------
      PROCESS_STATUS - The STATUS of parsing and populating PROCESSED_DATA_TBL
      STATUS_DESCRIPTION - The description of the STATUS of parsing and populating PROCESSED_DATA_TBL
      ROW_COUNT - Number of rows inserted into PROCESSED_DATA_TBL
    */

    BEGIN
      
    INSERT ALL INTO PROCESSED_DATA_TBL 
      
    (PD_ID, 
      STORE
    , 
      SALES_NBR
    , 
      UNIT_COST
    , 
      ST_FLAG
    , 
      ST_DATE
    , 
      ST
    , 
      START_QTY
    , 
      START_VALUE
    , 
      START_ON_ORDER
    , 
      HAND
    , 
      ORDERED
    , 
      COMMITED
    , 
      SALES
    , 
      RECEIVE
    , 
      VALUED
    , 
      ID_1
    , 
      ID_2
    , 
      ID_3
    , 
      UNIT_PRICE
    , 
      EFFECTIVE_DATE
    , 
      STATUS
    , 
      STATUS_DATE
    , 
      STATUS_REASON
    ) 
      
    VALUES (IDDATA 
      
    ,store 
      
    ,SalesNo 
      
    ,UnitCost 
      
    ,StWac 
      
    ,StDt 
      
    ,St 
      
    ,StartQty 
      
    ,StartValue 
      
    ,StartOnOrder 
      
    ,Hand 
      
    ,Ordered 
      
    ,COMMITED 
      
    ,Sales 
      
    ,Rec 
      
    ,Valued 
      
    ,Id1 
      
    ,Id2 
      
    ,Id3 
      
    ,UnitPrice 
      
    ,to_Date(EffectiveDate||' '||EffectiveTime, 'YYYY-MM-DD HH24:MI:SS') 
      
    ,'N'  
      
    ,SYSDATE 
      
    ,'XML PROCESS INSERT')  
      
    WITH T AS
      
    ( SELECT STG.XML_DOCUMENT FROM STAGE_TBL STG WHERE STG.ID = IDDATA)  
    -- This is to parse and fetch the data from XML 
      
    SELECT E.* FROM T, XMLTABLE('rp_send/rp_sendRow' PASSING T.XML_DOCUMENT COLUMNS
      store VARCHAR
    (20) PATH 'store'  
      
    ,SalesNo VARCHAR(20) PATH 'sales' 
      
    ,UnitCost NUMBER PATH 'cost' 
      
    ,StWac VARCHAR(20) PATH 'flag' 
      
    ,StDt DATE PATH 'st-dt' 
      
    ,St NUMBER PATH 'st' 
      
    ,StartQty NUMBER PATH 'qty' 
      
    ,StartValue NUMBER PATH 'value' 
      
    ,StartOnOrder NUMBER PATH 'start-on-order' 
      
    ,Hand NUMBER PATH 'hand' 
      
    ,Ordered NUMBER PATH 'order' 
      
    ,Commited NUMBER PATH 'commit' 
      
    ,Sales NUMBER PATH 'sales' 
      
    ,Rec NUMBER PATH 'rec' 
      
    ,Valued NUMBER PATH 'val' 
      
    ,Id1 VARCHAR(30) PATH 'id-1' 
      
    ,Id2 VARCHAR(30) PATH 'id-2' 
      
    ,Id3 VARCHAR(30) PATH 'id-3' 
      
    ,UnitPrice NUMBER PATH 'unit-pr' 
      
    ,EffectiveDate VARCHAR(30) PATH 'eff-dt' 
      
    ,EffectiveTime VARCHAR(30) PATH 'eff-tm' 
      
    ) E;  
      ROW_COUNT 
    := SQL%ROWCOUNT;  -- Not the # of all the rows inserted.
      PROCESS_STATUS 
    := STATUS.PROCESSED;
      
    IF ROW_COUNT < 1 THEN   -- The insert failed Row Count = 0 No exception thrown
      PROCESS_STATUS 
    := STATUS.ERROR;
      STATUS_DESCRIPTION 
    := 'ERROR Did not insert into Pos Inventory. Reason Unknown';
      
    END IF;
      EXCEPTION
      
    WHEN OTHERS THEN
      ROW_COUNT 
    := 0;
      PROCESS_STATUS 
    := STATUS.ERROR;
      STATUS_DESCRIPTION 
    := 'SqlCode:' || SQLCODE || ' SqlErrMsg:' || SQLERRM;
    END;


    BEGIN
      DBMS_OUTPUT
    .enable(NULL);
     
    FOR A_NewStage IN NewStage
      LOOP
      READ_COUNT
    := READ_COUNT + 1;
      STAGE_TBL_PROCESS
    (A_NewStage.ID, PROCESS_STATUS, STATUS_DESCRIPTION, ROW_COUNT);
      INSERT_COUNT_TOTAL
    := INSERT_COUNT_TOTAL + ROW_COUNT;
      
    IF(ROW_COUNT <= 0 OR PROCESS_STATUS = STATUS.ERROR) THEN
      ERROR_COUNT
    := ERROR_COUNT + 1;
      
    UPDATE STAGE_TBL
      
    SET status  = PROCESS_STATUS,
      status_DATE 
    = SYSDATE,
      status_DESCRIPTION 
    = STATUS_DESCRIPTION
      
    WHERE ID  = A_NewStage.ID;
      
    ELSE
      
    UPDATE STAGE_TBL
      
    SET status  = PROCESS_STATUS,
      status_DATE 
    = SYSDATE,
      status_DESCRIPTION 
    = STATUS_DESCRIPTION,
      SHRED_DT 
    = SYSDATE
      
    WHERE ID  = A_NewStage.ID;
      
    END IF;
      
    COMMIT;
     
    END LOOP;
     
    COMMIT;
     
    IF ERROR_COUNT > 0 THEN
      ERRMSG
    := '** ERROR: ' || ERROR_COUNT || ' Stage records did not insert in to the Processed table correctly';
      RAISE_APPLICATION_ERROR
    (-20001,ErrMsg); 
     
    END IF;
      EXCEPTION
      
    WHEN OTHERS THEN
      RAISE
    ;
    END ;

    /*
    This one is taking 10 seconds to process an XML with about 2000 rp_sendRow elements
    */

    DECLARE
     
    CURSOR NewStage IS
      
    SELECT *
      
    FROM STAGE_TBL
      
    WHERE  status = 'N'
      
    ORDER BY PUT_TIME ASC;
      SUBTYPE rt_NewStage
    IS NewStage % rowtype;

      ROW_COUNT INTEGER
    := 0;   -- Return value from calling the procedure
      READ_COUNT INTEGER
    := 0;   -- Number of rows read from the stage table
      INSERT_COUNT_TOTAL INTEGER
    := 0;   -- Number of Inserts Inven records
      ERROR_COUNT INTEGER
    := 0;   -- Number of Inven inserts that did inserted more then 1 row in Inven
      PROCESS_STATUS STATUS
    .MmsStatus;
      STATUS_DESCRIPTION STATUS
    .MmsStatusReason;
      ERRMSG VARCHAR2
    (500);

    PROCEDURE STAGE_TBL_PROCESS (IDDATA IN RAW, xData IN STAGE_TBL.XML_DOCUMENT%TYPE, PROCESS_STATUS OUT VARCHAR2, STATUS_DESCRIPTION OUT VARCHAR2, ROW_COUNT OUT NUMBER) AS
    /*
      This procedure is to parse the XML from STAGE_TBL and populate the data from XML to PROCESSED_DATA_TBL table

      IN PARAMS
      ----------
      IDDATA - ID from STAGE_TBL
      xData - XMLType field from XML_DOCUMENT of STAGE_TBL

      OUT PARAMS
      -----------
      PROCESS_STATUS - The STATUS of parsing and populating PROCESSED_DATA_TBL
      STATUS_DESCRIPTION - The description of the STATUS of parsing and populating PROCESSED_DATA_TBL
      ROW_COUNT - Number of rows inserted into PROCESSED_DATA_TBL
    */

    BEGIN
      
    INSERT ALL INTO PROCESSED_DATA_TBL 
      
    (PD_ID, 
      STORE
    , 
      SALES_NBR
    , 
      UNIT_COST
    , 
      ST_FLAG
    , 
      ST_DATE
    , 
      ST
    , 
      START_QTY
    , 
      START_VALUE
    , 
      START_ON_ORDER
    , 
      HAND
    , 
      ORDERED
    , 
      COMMITED
    , 
      SALES
    , 
      RECEIVE
    , 
      VALUED
    , 
      ID_1
    , 
      ID_2
    , 
      ID_3
    , 
      UNIT_PRICE
    , 
      EFFECTIVE_DATE
    , 
      STATUS
    , 
      STATUS_DATE
    , 
      STATUS_REASON
    ) 
      
    VALUES (IDDATA 
      
    ,store 
      
    ,SalesNo 
      
    ,UnitCost 
      
    ,StWac 
      
    ,StDt 
      
    ,St 
      
    ,StartQty 
      
    ,StartValue 
      
    ,StartOnOrder 
      
    ,Hand 
      
    ,Ordered 
      
    ,COMMITED 
      
    ,Sales 
      
    ,Rec 
      
    ,Valued 
      
    ,Id1 
      
    ,Id2 
      
    ,Id3 
      
    ,UnitPrice 
      
    ,to_Date(EffectiveDate||' '||EffectiveTime, 'YYYY-MM-DD HH24:MI:SS') 
      
    ,'N'  
      
    ,SYSDATE 
      
    ,'XML PROCESS INSERT')  
    -- This is to parse and fetch the data from XML 
      
    SELECT E.* FROM XMLTABLE('rp_send/rp_sendRow' PASSING xDATA COLUMNS
      store VARCHAR
    (20) PATH 'store'  
      
    ,SalesNo VARCHAR(20) PATH 'sales' 
      
    ,UnitCost NUMBER PATH 'cost' 
      
    ,StWac VARCHAR(20) PATH 'flag' 
      
    ,StDt DATE PATH 'st-dt' 
      
    ,St NUMBER PATH 'st' 
      
    ,StartQty NUMBER PATH 'qty' 
      
    ,StartValue NUMBER PATH 'value' 
      
    ,StartOnOrder NUMBER PATH 'start-on-order' 
      
    ,Hand NUMBER PATH 'hand' 
      
    ,Ordered NUMBER PATH 'order' 
      
    ,Commited NUMBER PATH 'commit' 
      
    ,Sales NUMBER PATH 'sales' 
      
    ,Rec NUMBER PATH 'rec' 
      
    ,Valued NUMBER PATH 'val' 
      
    ,Id1 VARCHAR(30) PATH 'id-1' 
      
    ,Id2 VARCHAR(30) PATH 'id-2' 
      
    ,Id3 VARCHAR(30) PATH 'id-3' 
      
    ,UnitPrice NUMBER PATH 'unit-pr' 
      
    ,EffectiveDate VARCHAR(30) PATH 'eff-dt' 
      
    ,EffectiveTime VARCHAR(30) PATH 'eff-tm' 
      
    ) E;  
      ROW_COUNT 
    := SQL%ROWCOUNT;  -- Not the # of all the rows inserted.
      PROCESS_STATUS 
    := STATUS.PROCESSED;
      
    IF ROW_COUNT < 1 THEN   -- The insert failed Row Count = 0 No exception thrown
      PROCESS_STATUS 
    := STATUS.ERROR;
      STATUS_DESCRIPTION 
    := 'ERROR Did not insert into Pos Inventory. Reason Unknown';
      
    END IF;
      EXCEPTION
      
    WHEN OTHERS THEN
      ROW_COUNT 
    := 0;
      PROCESS_STATUS 
    := STATUS.ERROR;
      STATUS_DESCRIPTION 
    := 'SqlCode:' || SQLCODE || ' SqlErrMsg:' || SQLERRM;
    END;


    BEGIN
      DBMS_OUTPUT
    .enable(NULL);
     
    FOR A_NewStage IN NewStage
      LOOP
      READ_COUNT
    := READ_COUNT + 1;
      STAGE_TBL_PROCESS
    (A_NewStage.ID, A_NewStage.XML_DOCUMENT, PROCESS_STATUS, STATUS_DESCRIPTION, ROW_COUNT);
      INSERT_COUNT_TOTAL
    := INSERT_COUNT_TOTAL + ROW_COUNT;
      
    IF(ROW_COUNT <= 0 OR PROCESS_STATUS = STATUS.ERROR) THEN
      ERROR_COUNT
    := ERROR_COUNT + 1;
      
    UPDATE STAGE_TBL
      
    SET status  = PROCESS_STATUS,
      status_DATE 
    = SYSDATE,
      status_DESCRIPTION 
    = STATUS_DESCRIPTION
      
    WHERE ID  = A_NewStage.ID;
      
    ELSE
      
    UPDATE STAGE_TBL
      
    SET status  = PROCESS_STATUS,
      status_DATE 
    = SYSDATE,
      status_DESCRIPTION 
    = STATUS_DESCRIPTION,
      SHRED_DT 
    = SYSDATE
      
    WHERE ID  = A_NewStage.ID;
      
    END IF;
      
    COMMIT;
     
    END LOOP;
     
    COMMIT;
     
    IF ERROR_COUNT > 0 THEN
      ERRMSG
    := '** ERROR: ' || ERROR_COUNT || ' Stage records did not insert in to the Processed table correctly';
      RAISE_APPLICATION_ERROR
    (-20001,ErrMsg); 
     
    END IF;
      EXCEPTION
      
    WHEN OTHERS THEN
      RAISE
    ;
    END ;

    My
    XML with just one rp_sendRow element, it can go upto 2000 rp_sendRow elements
    <?xml version = \"1.0\" encoding = \"UTF-8\"?> 
    <rp_send xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"> 
      
    <rp_sendRow> 
      
    <store>0123</store> 
      
    <sales>022399190</sales> 
      
    <cost>0.01</cost> 
      
    <flag>true</flag> 
      
    <st-dt>2013-04-19</st-dt> 
      
    <st>146.51</st> 
      
    <qty>13.0</qty> 
      
    <value>0.0</value> 
      
    <start-on-order>0.0</start-on-order> 
      
    <hand>0.0</hand> 
      
    <order>0.0</order> 
      
    <commit>0.0</commit> 
      
    <sales>0.0</sales> 
      
    <rec>0.0</rec> 
      
    <val>0.0</val> 
      
    <id-1/> 
      
    <id-2/> 
      
    <id-3/> 
      
    <unit-pr>13.0</unit-pr> 
      
    <eff-dt>2015-06-16</eff-dt> 
      
    <eff-tm>09:12:21</eff-tm> 
      
    </rp_sendRow> 
    </rp_send> 

    The issue I see is when I pass an XML object to a procedure (STAGE_TBL_PROCESS) to analyze its takes about 10 seconds per XML, but rather than from XML if I directly pick up table in the procedure (STAGE_TBL_PROCESS) passing the ID to be about 0.15 seconds.

    In version 11.1, Oracle introduced a new model of storage for the data type XMLType called XML binary.

    Binary XML become the default in 11.2.0.2, to disparage the old storage based on CLOB.

    Binary XML is a format optimized after analysis for the storage and treatment of the XQuery.

    When an XQuery expression is evaluated (through for example XMLTABLE) on an XMLType column stored as binary XML, Oracle can use an ongoing evaluation of XPath that surpasses the query even crushed a transitional XMLType of several order of magnitude.

    You can see that in the action plan of the explain command:

    SQL> SELECT E.*
      2  FROM stage_tbl t
      3     , XMLTABLE('rp_send/rp_sendRow' PASSING t.xml_document
      4         COLUMNS store VARCHAR(20) PATH 'store'
      5               , SalesNo VARCHAR(20) PATH 'sales'
      6               , UnitCost NUMBER PATH 'cost'
      7         ) E ;
    
    Execution Plan
    ----------------------------------------------------------
    Plan hash value: 1134903869
    
    --------------------------------------------------------------------------------
    | Id  | Operation          | Name      | Rows  | Bytes | Cost (%CPU)| Time     |
    --------------------------------------------------------------------------------
    |   0 | SELECT STATEMENT   |           |     1 |  2008 |    32   (0)| 00:00:01 |
    |   1 |  NESTED LOOPS      |           |     1 |  2008 |    32   (0)| 00:00:01 |
    |   2 |   TABLE ACCESS FULL| STAGE_TBL |     1 |  2002 |     3   (0)| 00:00:01 |
    |   3 |   XPATH EVALUATION |           |       |       |            |          |
    --------------------------------------------------------------------------------
    

    When the query is executed on a passenger XMLType (for example, a parameter, or a PL/SQL variable), Oracle cannot run the binary model and use a functional assessment based on memory of the XML DOM-like representation.

    You can see that in the plan to explain it by spoting a 'COLLECTION ITERATOR PICKLER FETCH' operation.

    So what explains the difference (in your version) between treatment from a column of XMLType (stored in binary XML format) or a variable or a parameter.

    From 11.2.0.4 and beyond, things have changed a bit with Oracle, introducing a new transitional level of optimization on XMLType.

    The plan of the explain command will show a "XMLTABLE ASSESSMENT' in this case.

  • Hi I am new to Oracle forms and reports I want to know the differences between the Enter query mode and Normal mode?

    Hi I am new to Oracle forms and reports I want to know the differences between the Enter query mode and Normal mode?

    Welcome to Oracle Forms!  Out of curiosity, what do you mean by 'new '?  You are a student or new to an organization that uses Oracle Forms?  Or just play with Oracle Forms to learn something new?

    Let me start by saying that many of your questions designtime can answer by searching in the help of the constructor of the form library.  It's accessible, like most of the other products in the Builder menu > help.

    Regarding your question, ENTER QUERY mode, as the term implies, is when it is in a State where it is accept input for the execution of a query.  When in this mode, there are various restrictions.  Yet once, it will find more details in the Builder Help.  In this case, search help for these two subjects, "SYSTEM." MODE'and "built-ins comments that are not allowed in the input query Mode".  There are many other pages that contain information about the ENTER_QUERY method, but these two should help you get started.

    Normal mode, as its name implies, is when it is in a State of 'normal '.  Basically to do nothing in particular, but also not in ENTER QUERY mode.  In this State, you can move the shape, INSERT, UPDATE, DELETE, documents, etc..

    You will find additional information, as well as a lot of documentation on the product page of forms of OTN:

    http://www.Oracle.com/technetwork/developer-tools/forms

  • The components of Oracle Forms and reports refers specifically to the which components?

    Hello

    Could you help me with the following question.

    Our client uses the following documents to improve reports and forms Oracle 11 g Release 1 on Oracle Forms and reports 11g Release 2.

    http://docs.Oracle.com/CD/E38115_01/doc.111210/e23975/upgrade_from_r1.htm#BDJFHIEH
    Oracle® Fusion Middleware Upgrade Guide for Oracle Forms and reports
    11g Release 2 (11.1.2.1)
    E23975-02 part number
    Upgrade-5,3 doing the Oracle Forms and reports 11 g Release 1 (11.1.1)
    ----------cut-----------
    Ensure that the destination Oracle instance and the destination Oracle WebLogic Server domain are running.

    To verify that the instance and domain are running, log on to Oracle Enterprise Manager Fusion Middleware control for the field and make sure that the managed servers and components Oracle Forms and reports are running.
    ----------cut-----------
    On the above documents, our client has a question.

    [Question]
    The components of Oracle Forms and reports refers specifically to the which components?
    (Or need to check what components are running?)

    Please give me some advice.

    Best regards

    David

    For Windows, you can use the command line or shortcuts in Windows that are created for you.  In the case of OPMN under Windows, a Windows Service is created.  Information on the power on/off is in the documentation of the product here:

    http://docs.Oracle.com/CD/E23943_01/Web.1111/e13708/TOC.htm

    http://docs.Oracle.com/CD/E23943_01/Web.1111/e13740/starting_nodemgr.htm

  • How to pass the value of the run-time file .sh by Oracle procedure

    I have a file test.sh that contain

    #1/bin/bash

    exp test/test@orcl file=/home/oracle/dump/test.dmp log=/home/oracle/dump/test.dmp grants = Y = index constraints Y = Y = (test) owner statistics = none

    Exit 0

    I craete a work called Create_job_proc in this work, I want to pass the value of job_action is the location of the file test.sh to

    /U01/home/Oracle/dump/test.sh and want to spend the test/test@orcl as a variable...

    Please suggest me... how to pass the value of Job_Action which will replace the .sh file content test/test@orcl to the value of the time of execution as scott/tiger@hr

    Thank you much Parth... It works perfectly...

    Thank you all for your help...

  • Passing the form variables to a thank you page.

    Hi all

    I have put code in place so my survey form transmitting data hidden on a confirmation page and displays the appropriate data. for example

    tag_reportid = 222776

    tag_displayname = Point 26



    My form script is:

    " < form name ="catwebformform3235"method ="post"onsubmit ="return checkWholeForm3235 (this)"enctype =" multipart/form-data"action =" https://BAFs.worldsecuresystems.com/FormProcessv2.aspx?WebFormID=72629 & pageid = %2thankyou.htm? name = {tag_reportid} & amp; titlename = {tag_displayname} & amp; OID = {module_oid} & amp; OTYPE = {module_otype} & amp; EID = {module_eid} & amp; CID = {module_cid} & amp; CC = {module_urlcountrycode} & amp; Sponsor = {module_siteurl, true, true} ">"

    What I see on the receipt/thank you page, is that only the name field has been spent... thankyou.htm? name = 222776,... then it is not passing the titlename field.

    In fact, it seems that it won't any variable after this first field 'name '.

    How can I get the form to send any variable I need more on page of thanks? Thanks in advance.

    Sure thing if your not comfortable with javascript, I created this one liner for you and an example of work (I wrapped the shape with a border of style so that you can see on the page, obviously to remove when you want to go live). I coded only the first two points, if you find that you do others (of course), and then wrap them also.

    Form here

    Example:

    https://jsfiddle.NET/rsy9bxyp/1/

  • How to pass the user name dynamically in file .jca Oracle Apps adapter

    My BPEL process using Oracle Applications adapter. Here is the file .jca for the adapter.  The user name is statically initialized to "sysadmin" when I created the adapter. How can I change this to move dynamically during execution? Can I use an EL Expression or a variable of XPath. If yes how and what is the correct syntax?

    Is it possible to pass the user name of the security policy of OWSM for the value of username below? If yes how? I appreciate your response.

    " < name of the adapter-config = adapter 'EBSAdapter' = 'Apps' wsdlLocation =".. / WSDLs/EBSAdapter.wsdl "xmlns =" http://platform.integration.Oracle/blocks/adapter/FW/metadata « >

    < UIConnectionName factory connections = "EBS1" location = ' ist/Apps/EBS1"UIConcurrentPgmName =" "UIOracleAppType = 'DBOBJECT' / >"

    < endpoint-interaction portType = operation "EBSAdapter_ptt" = "EBSAdapter" >

    < className = "oracle.tip.adapter.apps.AppsStoredProcedureInteractionSpec interaction-spec" >

    < property name = "SchemaName" value = "APPS" / >

    < property name = "PackageName" value = "JAN" / >

    < property name = "Procedurename" value = "GET_USER_PROFILE1" / >

    < property name = "IRepInternalName" value = "PLSQL:INTG:WEBCENTER_GET_USER_PROFILE1" / >

    < property name = value "Username" = "sysadmin" / >

    < property name = value of 'Responsibility' = "system administrator" / >

    < / interaction-spec >

    < / interaction of endpoint >

    < / adapter-config >

    1. go on the Invoke activity

    2. click on the Properties tab.

    3. click on add

    4 Add this 'jca.apps.Username' property and map with variable or expression.

    5. fill the variable defined in the previous step with valid username values during execution.

    I hope this helps.

    Kind regards

    Karan

    Oracle Fusion Middleware Blog

  • How to pass the value of the element from one form to another form?

    Hi all

    I need your help to complete this task.
    I have a form page named reserve form.i have some five fields selection list in the form of reserve, after I chose the first value from the selection list, I create a button in the form of reserve, when I click on the button create, it will open another form page named set form in this form page , I have a field selected, the list of values in configure the form depends on the values selected as a reserve, it means that I have to change the value of page of a form to another form.

    Please suggest a solution, how to pass the value?

    Thank you
    Robette.

    Check out the button create on Page 8.

    In the Action when the button is clicked, the configuration is

    The value of these P35_IT_PRODUCT
    With these values & P8_IT_PRODUCT.

    Kind regards

  • pass the content of the form dreamweaver field...

    Hello my script below:

    < script type = "text/javascript" >

    function OnSubmitForm()

    {

    If (checked document.myform.operation [0] == true)

    {

    document. MyForm.action = "https://webtrace.etdatacenter.com/webtrace.aspx?accesstype=autologin & cust = id_015 & user = temp lateuser."

    }

    on the other

    If (checked document.myform.operation [1] == true)

    {

    document. ' MyForm.action ='https://carrierconnect.etdatacenter.com/Default.aspx?accesstype=autologin & cust = id_015 & user = user name";

    }

    Returns true;

    }

    < /script >



    < form name = "myform" target = "_blank" method = "post" action = "" onsubmit = "return OnSubmitForm()"; > "
    < fieldset >
    < legend > < font color = "#FFFFFF" > CONNECTION < / police > < / legend >
    user name: < input type = "text" name = "user name" / > < br / > < br / >
    password: < input type = "password" name = "password" / > < br / >
    < input type = "radio" name = value 'operation' = '1' checked = "checked" / > < font size = "-1" > customer < / police >
    < input type = "radio" name = value "operation" = "2" / > < font size = "-1" > booking Web < / font >
    < input type = "submit" name = "submit" value = "submit" / >
    < / fieldset >

    < / make >

    The user fills their username and Word of past and then selects either "customer management" or "web booking" box... Based on radio button selected, they are directed to

    https://webtrace.etdatacenter.com/webtrace.aspx?accessType=autologin & cust = id_015 & User = user name if 'followed customer' or

    https://carrierconnect.etdatacenter.com/Default.aspx?accesstype=autologin & cust = id_015 & user = username if 'web booking '.

    How to pass the user content where I currently have "username", which corresponds to the form field, but I need to move the content.

    Thank you

    If (checked document.myform.operation [0] == true)

    {

    document. "MyForm.action ="https://webtrace.etdatacenter.com/webtrace.aspx?accesstype=autologin&c ust = id_015 & user = templateuser. "

    }

    on the other

    If (checked document.myform.operation [1] == true)

    {

    document. MyForm.action ='https://carrierconnect.etdatacenter.com/Default.aspx?accesstype=autolo gin & cust = id_015 & user ="+ document.myform.username.value;

    }

  • By passing the value in column IR to package Oracle

    All,
    I try to call a package Oracle of APEX and must pass the value of a column of IR in this packaging. I tried saying: ADJ_ID but I don't think his pasing anything for the backend.
    Here are the steps.
    1. the user runs IR
    2. There is a column that I put as "ROLLBACK" on this report for each line that has a LINK that calls URLS like
    JavaScript:apex.confirm (' safe to restore adaptation? "," SEND");
    3. once the user confirms submit, I call the package, package gets called but I want to send a value for that line to the package, I do this by saying: (colon) rating but it does not work.

    Thank you
    Vishal

    You must set you page item (as you try to pass by using the method of colon in PLSQL) first

    You can change your link to

    * JavaScript:apex.confirm ("Sure to restore adaptation?", {request: 'SUBMIT', value: {"P1_ROW_VALUE": 10}}); *

    P1_ROW_VALUE is the Page element that you want to set and 10 here is specific to the LINE value

    If you use the "links" section in the report attributes
    and then, something like that would

    * JavaScript:apex.confirm ('Safe to restore the fit?', {request: "SUBMIT", value: {'P1_ROW_VALUE': ' #COLUMN_ALIAS #'}}); *

    Alias_de_colonne is the name of the column you want to set the element with the value.

    Published by: 814948 on November 23, 2010 08:46

  • How to pass the parameter one form to another form?

    Hello

    I want to pass the parameter one form to another form called.

    What are the steps I want to do.

    Please guide me

    Iqbal

    Published by: Sabrina on July 21, 2010 23:38

    You want to see this link...

    sheikyerbouti.developpez.com/forms/Forms_Parameters.doc

  • Where to place the folder forms and reports for oracle 10g on Linux server

    Hello...

    Currently, iam has a migration to oracle 10g module.
    All my modules which consists of form and report files are inside a
    folder named PROJECT and placed in C:\ in windows server.
    So when I want to call a form or a report I used the path as "C:\PROJECT\module_name\form_name.fmx."
    My client now wants her project to be used in the LINUX-based server.

    Now, I want to know where I should put my form project file and file reports
    and how I should call them...

    Thanks in advance

    Can you say how can I call reports as u said hardcode the path when the report is not a good practice.

    I agree with Dhiraj Madan, paths of coding is a very bad idea, your application has become non-portable.

    For FORMS_PATH, you can use default.env, as already said (or .env, if applicable).

    The same can be done for REPORTS_PATH, using the reports.sh script, in $ORACLE_HOME/bin.

  • Error while installing Oracle 11 g under Solaris 10 SPARC 2 forms and reports

    We are trying to install Oracle Forms and reports 11 GR 2 (11.1.2.2.0) 64-bit Solaris 10 SPARC 64-bit (U9) and we are facing errors of installation during installation of 11 GR 2 forms. I will note down the environment and steps reproduced to produce errors:

    Environment:

    Operating system: Solaris 10 SPARC 64-bit (U9)

    JDK: Oracle 1.7.0_79 64-bit JDK

    WebLogic: Oracle WebLogic Server 10.3.6 64-bit

    Form & reports: 11.1.2.2.0 64-bit

    Steps to follow:

    1. install JDK - success

    2. installation of WebLogic Server 10.3.6 (64-bit) and created a new home of Middleware. -Success

    3. ensure that all prerequisites are met by a prior information of Oracle: http://docs.oracle.com/html/E25460_01/r2_fr_requirements.htm

    a. all patches necessary OS and packages are installed

    b. There are a lot of disk space, swap, TEMP space and memory (RAM live)

    c. all environment variables are cleaned, as indicated in the prerequisites in the URL

    d. no other product Oracle doesn't lie in the path except for the JDK. (NOTE: Forms 6i is installed in a separate House in the server.)

    e. all software are 64-bit

    f. the user oracle (same user who has installed the JDK and WebLogic) has read, write, and execute permissions for the entire House of Middleware.

    g. we set the LD_LIBRARY_PATH variable to $ORACLE_HOME/lib as indicated in the Doc ID 1643548.1.

    4. start the installer of Forms

    a. choose 'install only - do not configure ".

    b. all the prerequisite checks passed

    Errors: Installation product until it reaches approximately 92% when we get the first error:

    "Error in invoking target 'nnfgt.o' of makefile '$ORACLE_HOME/network/lib/ins_net_client.mk'. See "$ORA_INVENTORY/logs/installDATE.log" for more details".

    If we click on 'Continue' to work around the error, we get another error after that:

    "Error in invoking target 'repeat' of makefile '$ORACLE_HOME/precomp/lib/ins_precomp.mk'. See "$ORA_INVENTORY/logs/installDATE.log" for more details".

    Someone has met these errors before installing 11 GR 2 forms (11.1.2.2.0) on Solaris 10 SPARC 64-bit?

    Thank you

    Scott

    We have solved the problem. The library of expr has not found in/usr/xpg4/bin but in another location. After you create a symbolic link in/usr/xpg4/bin pointing to where it has been deployed, the installation is completed successfully (after removing the previous attempt failed).

    A test you can do to make sure that expr is working correctly is to run expr 1 + 1 in the shell. If the command works, the library can be found.

    Matthew, I thank you for your suggestions as well.

    Thank you

    Scott

  • Pass the parameter page fragment in a dynamic region

    Hello.

    I use Jdeveloper 11.1.1.3.

    Can someone explain to me how to pass the parameter page fragment in a dynamic region?

    My situation is:

    I have only 1 page: index.jspx.

    This page includes 2 items:
    1. < af:tree >
    < af:tree id = "t1" var = 'node' rowSelection = 'single '.
    value = "#{bindings." Rendering FpsrVO1.treeModel}"="true"expandAllEnabled ="true ".
    contentDelivery = "lazy" initiallyExpanded = "false".
    contextMenuSelect = 'false' fetchSize '-1' = >
    < f: facet name = "nodeStamp" >
    < af:commandLink id = "cl1" rendered = 'true '.
    actionListener = "#{backingBeanScope.RegionDynamicBean.treeClick}" >
    < af:outputFormatted id = "outForm' value = ' #{node." Name}' has made = "true" / >
    < name f: attribute = "Flash" value = "#{node." Code} "/ >"
    < / af:commandLink >
    < / f: facet >
    < / af:tree >
    2. < af:region >:
    < af:region value = "#{bindings.dynamicRegion1.regionModel} '"
    ID = "r1" / >
    region could be changed to 3 delimited taskFows who have just a fragment of page.

    Can someone explain to me how I can send < name f: attribute = "Flash" value = "#{node." Code} "/ > element tree to page fragment that will appear on the screen?"

    You can move a card to the dynamic region that would take the parameters of workflow task in the form of key-value pairs.


    taskFlowId = "${backingBeanScope.TestPageBean.dynamicTaskFlowId}" "
    Activation = "deferred."
    xmlns = "http://xmlns.oracle.com/adf/controller/binding."
    parametersMap="#{backingBeanScope.TestPageBean.parameters}"/ >

    When reloading the taskflow, ensure that the settings are loaded into the taskflow.

    See this example from exactly your use case:
    http://adfsampleapplications.googlecode.com/svn/trunk/TaskflowParamSampleApp.zip

    Thank you
    Nini

  • Forms for reports and the Web.Show_Document userid

    I inherited several form - combinations of report to update and I am not familiar with the reports. I'm working to be converted to run under Web Forms / Reports 10

    In a pair of form/report, the form passes the user of the report ID, and I was able to convert that.

    In another pair, however, I don't see how the form passes authentication user name to run the report. The form creates a list of parameters, adds a number of parameters, but no user name, and then calls Run_Product. It works without problem, immediately send a report to my printer. Can someone explain what the form of forms 6 on connection information to the report? Where can I find the mechanisms which achieve?

    I need to get this working in Web Forms.

    Thanks in advance!

    Why Oracle provides the java frmrwinteg plugin to hide the name of user and password on the report URL in the browser?

    Because you don't have to call a report from a form. Or you call a report of a form through web.show_document instead of via run_report_object.

    Is - it so the report can be run with a different username than the Forms user ID?

    It could be if you need this feature. But this seems very strange to me. Normally, you would then run the report with a default user defined in the mapping of keys to server file cgicmd.dat.

    What is the difference between Run_Report_Object and Web.Show_Document.

    Run_report_object is a direct communication between the drivers of forms and reports on the application server.
    Web.show_document opens a URL in the browser on the client computer.

Maybe you are looking for

  • DV6 - 6153cl drivers for biometric devices missing after system restore

    Hello I have a HP Pavilion dv6 - 6153cl Entertainment PC with Windows 7. I used the fingerprint reader, since I have my laptop. The scanner has stopped working. Background: two weeks ago, I downloaded the latest version of Norton 360 (Version 21.1.1.

  • T530 and Webcam clear plate cover

    How to order Kit T530 clear plate and plastic cover Webcam?I did find the items on ebay, but you must order through Lenovo. Thank you NO part number here http://www.manualslib.com/manual/722758/Lenovo-ThinkPad-T530.HTML?page=65#manual http://www.eBay

  • a trigger to take multi images

    Hi all I use a F031b Pro of Guppy, which is equipped with trigger Mode in bulk.  This mode I take multipule frames with an external trigger. I want to take two image each trigger and save them. But I have no idea how to achieve this function with IMA

  • Read analog output channel value internally

    According to this you can read the values of analog output of return without having to physically connect the wires. By using the technique described in the example given (DAQmx_Read_Output_Internal_Channels.vi) I'm reading a current area of OCCUPANC

  • Two copies of super windows imposed on other hard disk

    I think I have 2 sets of windows OS XP Home Edition superimposed on each other on my hard drive.  How can I cancel this situation.  It is slow and a lot of exhausted memeory. After a take-over of the factory, it shows more than 7 GB without something