Dynamic Reports. Runtime parameter passing to Report Query.

Hi everyone,
I have developed a report using apex shared components (report query and report layout) along with BI Publisher for report printing in pdf format. the Report template is built using Template Builder for Word. I have configured my Apex4.1 env with BI Publisher 11.
This report is working fine for hardecode ID ( like REQUEST_ID=10 ).
to make report dynamic i have made following additions in the report
I have added
where clause in report query as WHERE REQUEST_ID = :REQUEST_ID (:REQUEST_ID is the text field in my page).
Added a text field names :REQUEST_ID to get user input at run time.
Create a button and add Repot Query URL in its properties.
When i run the report with some valid value in :REQUEST_ID text field  i did not get expected result infect there is no record getting displayed in the PDF file.
i think this is not the write way to do this but interestingly im not getting any error.
please can someone guide me that how can i get this functionality in apex this way or the other ?
Best Regards.

Hi,
the online help will help you on how to build a parameter list at all. For your desired functionality, all you need to do is to have the user pressing a button after he selected the parameters he want to assign values to and then create the parameter list in a PSLQL program unit in Forms.
Frank

Similar Messages

  • Reports-Runtime Parameter Form

    hi!
    I made a report which contains quite a lot of data; so I
    also created a user parameter for the runtime parameter form, so
    the user can select one value so that the amount of data is
    minimized; the user parameter is based on a select statement;
    now my question: the way it is now the user can only make one
    selection, how can he see all records and is not forced to select
    a single value?
    thx, michaela
    null

    Michaela (guest) wrote:
    : hi!
    : I made a report which contains quite a lot of data; so I
    : also created a user parameter for the runtime parameter form,
    so
    : the user can select one value so that the amount of data is
    : minimized; the user parameter is based on a select statement;
    : now my question: the way it is now the user can only make one
    : selection, how can he see all records and is not forced to
    select
    : a single value?
    : thx, michaela
    Hi Michaela,
    I Understood that you have created user parameter based on
    select statement which will display list of values in List item
    in the Runtime Parameter form. User can select any one value
    from the list & display the records for selected value in the
    parameter form. But your question looks like user should have
    facility to select all the value in the list from the runtime
    parameter form.
    Example : Display list of deptno in the Runtime parameter form.
    If user selects any one deptno, display employee
    details for the selected deptno. Also user should
    have option of selecting records for all the dept.
    1. Create user parameter P_DEPTNO based on following select
    statement.
    Select deptno from dept
    Union
    Select 'ALL' from Dual
    2. Create the Query for the report as
    Select *
    from Emp
    Where deptno = Decode(:P_DEPTNO, 'ALL', deptno, :P_DEPTNO)
    So user will have option of specifying condition to
    select all the records for all the deptno as well as user
    can specify particular deptno.
    I hope this may help you to solve your problem. Pls let me
    know whether this helps you or not.
    Mani/-
    null

  • Reports-Runtime Parameter Form; another question

    hi!
    I would like to implement 2 user parameters in the runtime
    parameter form which depend on each other: with the first one you
    can select a special ressort and depending on the selection you
    made here you can select some keyword groups with the second one;
    but I don't know how the select statement for the second user
    parameter should look like, because it is not allowed to use
    'Bindevariablen' (sorry, don't know what they are called in
    english; this are the ones with the : in front of them):
    here is what I tried to do:
    parameter: P_1
    select rs_id, rs_name from tb_ressort union select 99999, 'alle
    Ressorts' from dual order by 1
    parameter: P_2
    select kwg_id, kwg_group from tb_keyword_group union select
    99999, 'ALL' from dual
    and here I wanted to add a where clause: where rs_id = :P_1
    but this doesn't work
    Any other ideas?
    thx in advance
    null

    Michaela (guest) wrote:
    : hi!
    : I would like to implement 2 user parameters in the runtime
    : parameter form which depend on each other: with the first one
    you
    : can select a special ressort and depending on the selection you
    : made here you can select some keyword groups with the second
    one;
    : but I don't know how the select statement for the second user
    : parameter should look like, because it is not allowed to use
    : 'Bindevariablen' (sorry, don't know what they are called in
    : english; this are the ones with the : in front of them):
    : here is what I tried to do:
    : parameter: P_1
    : select rs_id, rs_name from tb_ressort union select 99999, 'alle
    : Ressorts' from dual order by 1
    : parameter: P_2
    : select kwg_id, kwg_group from tb_keyword_group union select
    : 99999, 'ALL' from dual
    : and here I wanted to add a where clause: where rs_id = :P_1
    : but this doesn't work
    : Any other ideas?
    : thx in advance
    Hi Michaela,
    I think this will generally not work in reports parameter form;
    the parameter values are available first when the report is
    started, and the first point to reference them is in the
    after-parameter-form trigger. I think you get the message
    from the report builder 'REP-0781: Bind variables not allowed in
    the Select statement'.
    The only idea I have is to write a parameter form with Forms,
    with two LOV's attached to two items wich CAN reference each
    other. Then use add_parameter and run_product to start your
    report. This seems to be more complicated then using only
    Reports, but it isn't and it works.
    peter
    null

  • Adding date as runtime parameter in crystal report

    Post Author: priyanair
    CA Forum: General
    Hi,
    I have a report in which iam passing four runtime parameters. One of the parameter is date. my report is taking the date parameter as mandatory and if i leave it blank it doesn't show any output. If i fill in the date parameter it gives me the output corresponding to date. It ignores the other 3 parameter values. What could be the reason and what could be the possible solution for the same?
    Please help.
    Thanks
    Priya

    Post Author: priyanair
    CA Forum: General
    Hi,
    This is the statement that iam using for assigning the parameter values to the database fields.
    {Account.Name} = {?Name} or  {Account.BillingCity} = {?City} or{Account.Type} = {?Type of customer} or{Account.LastModifiedDate} = {?Last Modified Date}
    the last statement is my date parameter.
    Thanks
    Priya

  • Runtime parameter passing

    Hi,
    I have a very basic question in Java.
    In C language, I used to use scanf("..") for reading the parameters entered by the std i/p-keyboard.
    Now I want to do the samething in Java. Is there any way I can do that?
    Thanks

    Use System.in.read()
    ~Mitul

  • 10g Report after Parameter form REP-52007??

    I have been struggling for years to display report with parameter form = yes, Report with parameter form=no works perfectly. Report with paramform=yes shows parameter but pressing submit query gives
    REP-52007 Parameter form format error
    My enviornment is:
    Windows 2003 Forms and Report Secrvices 10.0.xx
    i found some where before parameter form code can any one has such type of workaround with details
    Please help......
    Edited by: Zahid Rahim on Mar 18, 2010 2:33 PM

    Thanx Denis...
    This is the source of my parameter form.
    <html>
    <head>
    <base href="http://vpn.iwm.com/reports/rwservlet/getfile/HW/YX+JlF07hIshsw7rSixK7d1yytLr6mhU=/28482206.htm">
    </head></html>
    <html>
    <body dir="LTR" bgcolor="#ffffff">
    <form method=post action="&report=D:\OracleApps\sales\reports\Order_Booking_Saleman.rdf&destype=CACHE&desformat=pdf&userid=WH/WH@oracle-server&">
    *<input name="hidden_run_parameters" type=hidden value="">*
    <center>
    <p><table border=0 cellspacing=0 cellpadding=0>
    <tr>
    <td><input type=submit></td>
    <td width=15>
    <td><input type=reset></td>
    </tr>
    </table>
    <p><hr><p>
    <!-- Created by Oracle Reports 10:24 Mon Mar 22 , 2010 -->
    <table border=0 cellspacing=0 cellpadding=0 width=357>
    <tr><td width=29></td><td width=25></td><td width=1></td><td width=2></td><td width=1></td><td width=55></td><td width=76></td><td width=1></td><td width=1></td><td width=1></td><td width=21></td><td width=113></td><td width=2></td><td width=27></td><td width=2></td></tr>
    <tr><td colspan=15 height=38></td></tr>
    <tr valign=top>
    <td height=9></td>
    <td width=326 colspan=13 rowspan=5 align=center><font size=6 face="Arial" color="#ffffff"><b>ORDERS</b></font></td>
    <td></td>
    </tr>
    <tr valign=top>
    <td height=9></td>
    <td></td>
    </tr>
    <tr valign=top>
    <td height=9></td>
    <td></td>
    </tr>
    <tr valign=top>
    <td height=9></td>
    <td></td>
    </tr>
    <tr valign=top>
    <td height=9></td>
    <td></td>
    </tr>
    <tr><td colspan=15 height=38></td></tr>
    <tr valign=top>
    <td height=9 colspan=4></td>
    <td width=269 colspan=8 rowspan=3 align=center><font size=4 face="Arial" color="#ffffff"><b>Booking Date</b></font></td>
    <td colspan=3></td>
    </tr>
    <tr valign=top>
    <td height=9 colspan=4></td>
    <td colspan=3></td>
    </tr>
    <tr valign=top>
    <td height=9 colspan=4></td>
    <td colspan=3></td>
    </tr>
    <tr valign=top>
    <td height=9 colspan=4></td>
    <td width=134 colspan=5 rowspan=2 align=center><font size=2 face="Arial"><b>FROM</b></font></td>
    <td></td>
    <td width=134 colspan=2 rowspan=2 align=center><font size=2 face="Arial"><b>TO</b></font></td>
    <td colspan=3></td>
    </tr>
    <tr valign=top>
    <td height=9 colspan=4></td>
    <td></td>
    <td colspan=3></td>
    </tr>
    <tr valign=top>
    <td height=9 colspan=3></td>
    <td colspan=4 rowspan=3><INPUT type=TEXT name="pbdatefrom" size=19 maxlength=13 value="15022006"> <BR><font face="Arial,Helvetica" size="-2"> (19120007) </font><P></td>
    <td></td>
    <td colspan=5 rowspan=3><INPUT type=TEXT name="pbdateto" size=19 maxlength=13 > <BR><font face="Arial,Helvetica" size="-2"> (22032010) </font><P></td>
    <td colspan=2></td>
    </tr>
    <tr valign=top>
    <td height=9 colspan=3></td>
    <td></td>
    <td colspan=2></td>
    </tr>
    <tr valign=top>
    <td height=9 colspan=3></td>
    <td></td>
    <td colspan=2></td>
    </tr>
    <tr><td colspan=15 height=9></td></tr>
    <tr valign=top>
    <td height=9 colspan=5></td>
    <td width=55 rowspan=2 align=right><font size=2 face="Arial"><b>Sale Point</b></font></td>
    <td colspan=9></td>
    </tr>
    <tr valign=top>
    <td height=9 colspan=5></td>
    <td colspan=9></td>
    </tr>
    <tr valign=top>
    <td height=9 colspan=3></td>
    <td colspan=8 rowspan=2><SELECT name="pspname" size=1 > <OPTION selected value="ALL SALE POINTS"> ALL SALE POINTS <OPTION value="FACTORY"> FACTORY <OPTION value="GARDEN TOWN"> GARDEN TOWN <OPTION value="GULBERG"> GULBERG <OPTION value="ISLAMABAD"> ISLAMABAD <OPTION value="KARACHI"> KARACHI </SELECT></td>
    <td colspan=4></td>
    </tr>
    <tr valign=top>
    <td height=9 colspan=3></td>
    <td colspan=4></td>
    </tr>
    <tr><td colspan=15 height=9></td></tr>
    <tr valign=top>
    <td height=9 colspan=3></td>
    <td colspan=8 rowspan=3><SELECT name="PSRID" size=1 > <OPTION value="1"> 1 - SOHAIL ASLAM <OPTION value="2"> 2 - AKHTAR RIAZ <OPTION value="3"> 3 - SHAHID KHAN <OPTION value="4"> 4 - IBRAHIM MIAN <OPTION value="5"> 5 - ZULFIQAR KHAN <OPTION value="6"> 6 - AZHAR HUSSAIN <OPTION value="7"> 7 - ABDUL MUSTAFA <OPTION value="8"> 8 - SYED WAQAR ABBAS <OPTION value="12"> 12 - REHAN <OPTION value="13"> 13 - FARHAN <OPTION value="14"> 14 - SHAHINA AZIZ <OPTION value="15"> 15 - OMAR FAROOQ <OPTION value="16"> 16 - MUDASSAR ABBAS <OPTION value="17"> 17 - AMJAD ALI RAZI <OPTION value="18"> 18 - MIAN IBRAHIM <OPTION value="19"> 19 - KHURRAM SUMEER <OPTION value="20"> 20 - TAYYAB <OPTION value="21"> 21 - COMMON AT FACTORY <OPTION value="22"> 22 - COMMON AT GULBERG <OPTION value="23"> 23 - COMMON AT GARDENTOWN <OPTION value="24"> 24 - COMMON AT KARACHI <OPTION value="25"> 25 - ADEEL AHMED <OPTION value="26"> 26 - N. A. ABDULLAH <OPTION value="27"> 27 - AZIZ AHMED <OPTION value="28"> 28 - BATOOL FATIMA <OPTION value="29"> 29 - QURATUL AIN AZIZ <OPTION value="30"> 30 - SHAKIR KHAN <OPTION value="31"> 31 - SHAFAQ AROOJ <OPTION value="32"> 32 - NIHAL BAIG <OPTION value="33"> 33 - ALI ASGHAR <OPTION value="35"> 35 - MADIHA JALAL <OPTION value="34"> 34 - ALI FAROOQ <OPTION value="37"> 37 - MALIHA OMER <OPTION value="36"> 36 - KIPTIA <OPTION value="38"> 38 - SHAHZAD <OPTION value="39"> 39 - FAHAD <OPTION value="40"> 40 - FAKHAR SHAHZAD <OPTION value="41"> 41 - ZUBAIR IQBAL <OPTION value="42"> 42 - MUHAMMAD ABBAS <OPTION value="43"> 43 - ABDUL RAHEEM <OPTION value="44"> 44 - ALI RAZA <OPTION value="45"> 45 - MUHAMMAD SABIH <OPTION value="46"> 46 - NAGIEB AHMED <OPTION value="47"> 47 - RAJA TAHIR IRSHAD <OPTION value="48"> 48 - MOAZZAM KHAN <OPTION value="49"> 49 - HAJRA FAREED <OPTION value="50"> 50 - FAHIMUDDIN <OPTION value="51"> 51 - FARKHANDA <OPTION value="52"> 52 - JAWWAD MUNIR <OPTION value="53"> 53 - ARSALAN RIAZ <OPTION value="54"> 54 - HASEEB FAROOQ <OPTION value="55"> 55 - MISBAH GUL AWAN <OPTION value="57"> 57 - YASIR ILYAS <OPTION value="56"> 56 - FIRDOUS IQBAL <OPTION value="59"> 59 - TAHIR MEHMOOD <OPTION value="60"> 60 - ADIL HUSSAIN <OPTION value="61"> 61 - WASEEM AHMED RAJA <OPTION value="62"> 62 - SHAKEEL AHMED <OPTION value="63"> 63 - ABDUL MALIK M. OWAIS <OPTION value="64"> 64 - MIAN ZAHID IQBAL <OPTION value="65"> 65 - AHSAN MUSTAFA <OPTION value="66"> 66 - IRFAN ALI AWAN <OPTION value="70"> 70 - MEHMOOD <OPTION value="71"> 71 - SAJID <OPTION value="73"> 73 - AFZAL <OPTION value="75"> 75 - EHSAN ULLAH BAJWA <OPTION value="76"> 76 - SALE 3 <OPTION value="77"> 77 - SALE 4 <OPTION value="78"> 78 - SALE 5 <OPTION value="79"> 79 - SALE 6 <OPTION value="80"> 80 - SALE 7 <OPTION value="81"> 81 - BILAL <OPTION value="82"> 82 - ALI ASGHAR <OPTION value="83"> 83 - RAJA BILAL KHALID <OPTION value="84"> 84 - M. Irfan Ali <OPTION value="85"> 85 - SALE 5 <OPTION value="86"> 86 - SALE 6 <OPTION value="87"> 87 - SALE 7 <OPTION value="88"> 88 - LATIF A. MALIK <OPTION value="89"> 89 - LATIF A. MALIK <OPTION value="91"> 91 - MAZHAR ALI <OPTION value="93"> 93 - NAEEM AHMAD <OPTION value="94"> 94 - SADIQ NAZIR <OPTION value="95"> 95 - MARIYUM SHEIKH <OPTION value="96"> 96 - ALLAH DITTA <OPTION value="97"> 97 - GHOUS BUX <OPTION value="98"> 98 - MUHAMMAD ZAHID <OPTION value="99"> 99 - sales-3-99 <OPTION value="100"> 100 - FAIZA SIDDIQ <OPTION value="101"> 101 - MUHAMMAD JAVAID <OPTION value="102"> 102 - SAQIB BAIG <OPTION value="103"> 103 - MUSTAFA TAJ <OPTION value="104"> 104 - RASHID IQBAL <OPTION value="105"> 105 - GHULAM SHABBIR <OPTION value="106"> 106 - SAMIULLAH <OPTION value="107"> 107 - BEENISH ATTIQ <OPTION value="108"> 108 - MUHAMMAD UMAIR <OPTION value="109"> 109 - SABIHA FATIMA <OPTION value="110"> 110 - DANISH AHMAD <OPTION value="111"> 111 - TANIA NASIR <OPTION value="112"> 112 - NASIR JAFFERY <OPTION value="113"> 113 - RAMISH FATIMA <OPTION value="114"> 114 - MUHAMMAD SABIR <OPTION value="115"> 115 - MAJID IMRAN <OPTION value="116"> 116 - SHAHID AZIZ <OPTION value="117"> 117 - ADNAN ZULFIQAR <OPTION value="118"> 118 - NADIA YAQOOB <OPTION value="119"> 119 - ASIM QAMAR <OPTION value="120"> 120 - ASHFAQ ALAM <OPTION value="143"> 143 - Nadra Anjum <OPTION value="123"> 123 - ASIF ALI <OPTION value="124"> 124 - OMAR FAROOQ <OPTION value="125"> 125 - ADEEL MUNIR <OPTION value="126"> 126 - sales-1-126 <OPTION value="127"> 127 - sales-1-127 <OPTION value="128"> 128 - sales-1-128 <OPTION value="129"> 129 - sales-1-129 <OPTION value="130"> 130 - sales-1-130 <OPTION value="131"> 131 - sales-1-131 <OPTION value="132"> 132 - sales-1-132 <OPTION value="133"> 133 - sales-1-133 <OPTION value="134"> 134 - sales-1-134 <OPTION value="135"> 135 - sales-1-135 <OPTION value="136"> 136 - sales-1-136 <OPTION value="137"> 137 - sales-1-137 <OPTION value="138"> 138 - sales-1-138 <OPTION value="139"> 139 - sales-1-139 <OPTION value="140"> 140 - sales-1-140 <OPTION value="141"> 141 - sales-1-141 <OPTION value="142"> 142 - IRAM <OPTION value="144"> 144 - Iram Shahzadi <OPTION value="145"> 145 - Rubina Jaffar <OPTION value="146"> 146 - Faiza Nazir <OPTION value="147"> 147 - AWAIS ASHRAF <OPTION value="148"> 148 - IMRAN ASHRAF <OPTION value="149"> 149 - RAHEEL AHMED <OPTION value="150"> 150 - TARIQ MASOOD <OPTION value="151"> 151 - SADIA <OPTION value="152"> 152 - AMAD ZIAFAT <OPTION value="153"> 153 - ABID HUSSAIN <OPTION value="154"> 154 - SUMAIRA SYEDA <OPTION value="155"> 155 - RIZWAN ASLAM <OPTION value="156"> 156 - ANUM MUSHTAQ <OPTION value="157"> 157 - ABDUR REHMAN ASIF <OPTION value="158"> 158 - FAHIM RAFIQUE <OPTION value="159"> 159 - ABBAS ALI <OPTION value="160"> 160 - ATTA ULLAH <OPTION value="161"> 161 - TALIB MUKHTAR <OPTION value="162"> 162 - ASIM MUSHTAQ <OPTION value="163"> 163 - AZHAR HUSSAIN <OPTION value="164"> 164 - TAJAMUL BUTT <OPTION value="165"> 165 - LATIF MALIK <OPTION value="166"> 166 - WARIS ALI <OPTION value="167"> 167 - SAHIBZADA ABDUL SATTAR <OPTION value="168"> 168 - KASHIF NADEEM <OPTION value="169"> 169 - SHAISTA MIRZA <OPTION value="170"> 170 - QAISAR MEHMOOD <OPTION value="171"> 171 - NAZAM MUHAMMAD <OPTION value="172"> 172 - SAJJAD AHMAD <OPTION value="173"> 173 - MUHAMMAD AZIM <OPTION value="174"> 174 - Muhammad Waqar <OPTION value="175"> 175 - KEHAN <OPTION value="176"> 176 - FAISAL NADEEM <OPTION value="177"> 177 - SAJID NAZIR <OPTION value="178"> 178 - MUHAMMAD ALI <OPTION value="179"> 179 - GHULAM SHABBIR <OPTION value="180"> 180 - MUHAMMAD ARSHAD <OPTION value="181"> 181 - AAMIR ABBAS <OPTION value="182"> 182 - FAHAD AQEEL <OPTION value="183"> 183 - RANA MUBASHIR <OPTION value="184"> 184 - BILAL SHEIKH <OPTION value="72"> 72 - SR <OPTION value="74"> 74 - SR74 <OPTION value="185"> 185 - MUHAMMAD SOHAIB <OPTION value="186"> 186 - MUHAMMAD IBRAHIM <OPTION value="187"> 187 - MUHAMMAD WAQAS <OPTION value="188"> 188 - RAGHIB JAVAID <OPTION value="189"> 189 - SAIMA SAYYED <OPTION value="190"> 190 - MUHAMMAD AFZAAL <OPTION value="191"> 191 - TAYYABA SHAHEEN <OPTION value="192"> 192 - MISS HUMA <OPTION value="193"> 193 - MUNEEB ASLAM <OPTION value="194"> 194 - MUHAMMAD NAEEM <OPTION value="195"> 195 - SHAHER BANO <OPTION value="196"> 196 - SHAISTA <OPTION value="197"> 197 - HASHAM BAIG <OPTION value="198"> 198 - WAQAS MUGHAL <OPTION value="199"> 199 - FARAH NAEEM <OPTION value="200"> 200 - ALMINA <OPTION value="201"> 201 - FAZLULLAH <OPTION value="202"> 202 - TANYA KARIM <OPTION value="203"> 203 - IMRAN GILLANI <OPTION value="204"> 204 - KHAWAR QAYYUM <OPTION value="205"> 205 - JAWAD MUNAWAR <OPTION value="206"> 206 - ARSHAD FAROOQ </SELECT></td>
    <td colspan=4></td>
    </tr>
    <tr valign=top>
    <td height=9 colspan=3></td>
    <td colspan=4></td>
    </tr>
    <tr valign=top>
    <td height=9 colspan=3></td>
    <td colspan=4></td>
    </tr>
    <tr><td colspan=15 height=19></td></tr>
    <tr valign=top>
    <td height=9 colspan=2></td>
    <td colspan=9 rowspan=3><SELECT name="PSALE" size=1 > <OPTION value="D"> D <OPTION value="T"> T </SELECT></td>
    <td colspan=4></td>
    </tr>
    <tr valign=top>
    <td height=9 colspan=2></td>
    <td colspan=4></td>
    </tr>
    <tr valign=top>
    <td height=9 colspan=2></td>
    <td colspan=4></td>
    </tr>
    </table>
    </center>
    </body>
    </form>
    </html>
    what should be the value of hidden_run_parameters ????
    i have also created 3 parameters in report p_action, p_User_connect and p_servername
    i am using the procedure below to call the report
    PROCEDURE show_report(pRptServer varchar2,pRptObj varchar2,pRptFormat varchar2,pRptPath varchar2,pRptParameter varchar2,pParamForm varchar2) IS
         repid REPORT_OBJECT;
         rep_status varchar2(30);
         v_rep VARCHAR2(100);
         vjob_id varchar2(100);
         v_reportserver varchar2(50):=pRptServer;
         v_runformat varchar2(50):= pRptFormat;
         hidden_action varchar2(1000);
         v_report_other VARCHAR2(4000) :='';
    c char;
    c_old char;
    c_new char;
    begin
                   repid := FIND_REPORT_OBJECT(pRptObj);
                   SET_REPORT_OBJECT_PROPERTY(repid,REPORT_FILENAME,pRptPath);
                   SET_REPORT_OBJECT_PROPERTY(repid,REPORT_COMM_MODE,SYNCHRONOUS);
                   SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESTYPE,CACHE);
                   SET_REPORT_OBJECT_PROPERTY(repid,REPORT_SERVER,v_reportserver);
                   SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,v_runformat);
                   --SET_REPORT_OBJECT_PROPERTY(repid,REPORT_OTHER,pRptParameter||' paramform='||pParamForm);
                   -- code for pfaction
                   hidden_action := hidden_action ||'&report='||GET_REPORT_OBJECT_PROPERTY(repid,REPORT_FILENAME);
                   hidden_action := hidden_action ||'&destype='||GET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESTYPE);
                   hidden_action := hidden_action ||'&desformat='||GET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT);
                   hidden_action := hidden_action ||'&userid=' ||GET_APPLICATION_PROPERTY(username)||'/'||GET_APPLICATION_PROPERTY(password)||'@'||GET_APPLICATION_PROPERTY(connect_string);
                   hidden_action := hidden_action ||'&'||v_report_other;
                   SET_REPORT_OBJECT_PROPERTY(repid,REPORT_OTHER,'pfaction='||hidden_action||' '||pRptParameter||' paramform='||pParamForm);
                   v_rep := RUN_REPORT_OBJECT(repid);
                   vjob_id := substr(v_rep,length(v_reportserver)+2,length(v_rep));
                   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
                        WEB.SHOW_DOCUMENT('/reports/rwservlet/getjobid'||vjob_id||'?server='||v_reportserver||'','_blank');
                        message('Finished');
                   else
                        message('Error');
                   end if;
    end;
    Your urgent reply will be highly appreciated.........
    Edited by: Zahid Rahim on Mar 22, 2010 11:10 AM

  • Parameter Passing - Same Page. General

    Does anybody have a source for general examples on the following topics:
    - Passing parameters from a portlet in one section of a page to a portlet in another section of the same page.
    - Submitting input from a form to a stored procedure.
    I am new to portal (old to PL/SQL) and quite stuck on this subject.
    Any help would be greatly appreciated.
    Nathan.

    Here is the example I built before, one report password parameter to another report on a page. Yu can do the similar thing to pass parameter from you chart to your report. The import thing is that the link on the calendar is not link to the report directly, in stead it link back to the page with a parameter, the report picks up the parameter and render:
    Report 1: summary report
    SQL report, on scott.dept:
    select htf.anchor('http://iasqa-ultra1.us.oracle.com:7777/servlet/page?_pa
    geid=117&_dad=wwv_30898&_schema=WWV_30898&_mode=3&dept='&#0124; &#0124;deptno, deptno) aaa, dname, loc from SCOTT.dept
    The url here is the page url with extra parameter for dept, the bind variable in the detail report
    Report 2: detail report
    SQL report, on scott.emp
    select * from scott.emp where deptno = :dept
    Add the following PL/SQL code in the "before displaying the page"
    wwv_30898.wwv_name_value.replace_value(
    l_arg_names, l_arg_values, p_reference_path&#0124; &#0124;'.dept',
    wwv_30898.wwv_standard_util.string_to_table2(nvl(get_value('dept'), 10)));
    Build a page and include these 2 portlets, then when you click
    on the link of the summary report, the page will be refreshed,
    and the detail report changed based on the data from the summary report.

  • Invoking runtime parameter form from Oracle forms 10g.

    Hi all,
    I am using Oracle 10g DS.
    I have cretaed a form containing a button. when i pressed that button
    the rdf has to be called and runtime parameter form has to be invoked. In that i will give parameters. In that button the path is already is there.
    so the problem is I am unable to invoke the runtime parameter form of Reports builder when i pressed the button.
    can anybody helpout....
    thanks in adv.
    Venkat.

    copy the question to the report forum as well :
    Reports

  • Dynamic Number of Parameter Report

    <p>Hi</p><p>We have to develop a module where the scenario is as follows:</p><p>The User will create his own report using <strong>Crystal Report Designer</strong> or <strong>Visual Studio 2003 Designer </strong>.</p><p>there will be a module where the RPT will be uploaded to a web server.</p><p>Ther will be a web page where the Parameters will be sent based the RPT file selected. (There will be Dynamic no of Parametes sent to the RPT files)</p><p>Please suggest us is there any way to link these Parameters and RPT files created seperately by the user (out side our development environment.</p><p>Please respond to this issue ASAP.</p><p>Regards,</p><p>Jagadish S </p><p>&#160;</p><p>&#160;</p><p>&#160;</p>

    <p>It&#39;s not clear what you are trying to do. Do you simply want to pass the parameter values entered by your users to that particular report? If so, this is a core workflows supported by the CR .NET runtime. </p><p>There are a lot of resources on the BOBJ support site and the DevLibrary that shows how to pass parameters to a report. I recommend search for kbases/sample apps on the support site or look at the <a href="http://devlibrary.businessobjects.com/BusinessObjectsXIR2SP2/en/en/CrystalReports_dotNET_SDK/crsdk_net_doc/doc/crsdk_net_doc/html/crtsktutorialssamplecode.htm" target="_blank">tutorials</a> found on the DevLibrary. </p><p>-MJ</p>

  • Parameter passing issue for HTMLDB report page

    Hi,
    I have created a HTMLDB report based on SQL query in which the where clause column needs to takeup dynamic value each time.
    So I have defined a hidden item on the page PUSERID of Source type "Static Assigment".
    And this variable is used in SQL as
    Select Name
    from employees
    where employeeid = :PUSERID
    Now when i try to run this report and pass the parameter thru the URL by edititng the URL to have parameter value as
    http://localhost:33492/pls/htmldb/f?p=104:8:8320056215249064505:::::PUSERID:CPRASAD
    This shows the page with no data found...though when i run the query manually it returns the result.
    Select Name
    from employees
    where employeeid = 'CPRASAD'
    Plz let me know the correct procedure to make this work?
    Thanks
    AJ

    Thanks Serigo..it works!
    But why we need to remove the colon?Was it symbolizing that there was no parameter passed initially on URL and later when I was expecting one which was acting as two parametes in case of my url example(one parameter as nothing and another ad PUSERID)

  • Passing single/multiple values to stored proc parameter from crystal report

    I tried below solution posted on this forum to pass either a single value or multi-value to a sql server stored procedure parameter (varchar datatype) from crystal report XI R2.
    In my crystal report , I am displaying all the available parameter values to the user  and the user will select either a single value or multi value.
    This worked when I select single value and when I say show sql query in my subreport  I see the following:
    {CALL "XYZ"."dbo"."storedprocedurename";1('Product  1')}
    But this did not worked when I selected multiple values and when I say show sql query in my subreport  I see the following:
    {CALL "XYZ"."dbo"."storedprocedurename";1('Product 1,Product 2')}
    I think it might work if it is as below:*
    For multiple values:
    {CALL "xyz"."dbo"."storedprocedurename";1('Product 1', 'Product 2')}
    Please advise.
    Solution Posted on this forum is as follows:
    Hi,
    As you must be aware of that a crystal report created of a stored procedure will allow only a single value for inserting a multiple value as a parameter in your report and pass those values to your stored procedure please follow the below work around which will be helpful for you.
    Symptom
    In Crystal Reports, you want to pass a multi-value parameter to a stored procedure. The problem with doing so is that Crystal Reports considers the multi-value parameter to be an array.
    How can you pass a multi-value parameter to a stored procedure?
    Resolution
    Here are the steps to pass a multi-value parameter to a stored procedure:
    1. Create a Crystal report, and add a multi-value parameter.
    2. Since the multi-value parameter is treated as an array, create a formula that uses the JOIN function. Create a formula as below:
    //Formula: @JoinFormula
    Join ({?Multi-value parameter array},";")
    ====================
    NOTE:
    In the formula above, a semi-colon (";") is the delimiter.
    ====================
    3. Within the main report, create a subreport based on the stored procedure, and include the parameter to be populated with the multi-value list.
    4. Link the Join formula in the main report to the stored procedure parameter in the subreport.
    Doing so passes a multi-value parameter to the stored procedure.
    Regards,
    Vinay

    Hi Vinay,
    First you need to make sure the stored procedure accepts multiple values in the fashion 'a','b','c'.
    Then, create this formula in the Main Report:
    numbervar i;
    stringvar s;
    for i:= 1 to ubound({?Parameter}) do
        s := s + "'" + {?Parameter}<i> + "'" + ",";
    left(s,len(s)-1);
    Link this formula to the sub-report's parameter.
    Hope this helps!
    -Abhilash

  • Passing database command parameter to sub-report

    I'm trying to pass a runtime parameter from a main report to a database command parameter in a sub-report, and having some trouble.
    My main report has parameter fields (Vendor, Manufacturer, etc) that the user selects at runtime - the result set includes Item Code - that part is working fine.  Where I'm having trouble is with linking to the sub-report.  My sub-report has a stored command that takes a parameter (ItemCode) and counts the number of times it's shown up on an invoice.  When I created the command, it asked for a value for the parameter, and won't accept a blank entry.  Now, whenever I try to run the main report, it asks for the ItemCode parameter for the sub-report - which kind of defeats the purpose.  I've tried linking from ?Pm-OITM.ItemCode in the main report, but the Subreport Links window doesn't show the Command parameter to link to.
    How do I take a field from the main report and pass it to a sub-report to be used as a parameter in a stored database command? 
    I'm running CR 2008, and SAP B1 2007 PL 42 on MS SQL 2005, and I'm still pretty new at CR, so details help.
    Thanks.

    Go to change subreport links and add Item Code from main report and then you can see the sureport stored procedure parameter in the Subreport parameters list, select the parameter and do not select any field from subreport.
    You will be able to see the stored procedure parameter in the list only when the Item Code and the parameter are of same data type.
    Regards,
    Raghavendra

  • Add parameter in jasper report query string

    Dear Experts,
    i developed a pdf report using jasperreports . in this reports i used a query string where dont have any parameter, now i want to add a parameter between querystring. how can i do this?? (i know another solution and that is using jrDatasource) in this context i dont want to do this beacuse then i have to do it again from begining.
    here is my XML FILE
    i just want to add a parameter in querysting
    like
    <queryString><![CDATA[SELECT   CH_RECORD_ID,FH_PRODUCT_ID,
    CH_SEQUENCE_NO FROM TABLE_NAE WHERE ID='<![CDATA[$P{CH_FULL_NAME}]]>'can i do this or how can i do this
    <?xml version="1.0" encoding="UTF-8"  ?>
    <!-- Created with iReport - A designer for JasperReports -->
    <!DOCTYPE jasperReport PUBLIC "//JasperReports//DTD Report Design//EN" "http://jasperreports.sourceforge.net/dtds/jasperreport.dtd">
    <jasperReport
               name="Statement"
               columnCount="1"
               printOrder="Vertical"
               orientation="Portrait"
               pageWidth="612"
               pageHeight="864"
               columnWidth="612"
               columnSpacing="0"
               leftMargin="0"
               rightMargin="0"
               topMargin="0"
               bottomMargin="0"
               whenNoDataType="BlankPage"
               isTitleNewPage="true"
               isSummaryNewPage="false">
         <queryString><![CDATA[SELECT   CH_RECORD_ID,FH_PRODUCT_ID,
    CH_SEQUENCE_NO,
    CH_CUSTOMER_NO,
    CH_FULL_NAME,
    CH_COMPANY_NAME,
    CH_ADDR1 as ADD1,
    CH_ADDR2 as ADD2,
    CH_CITY,
    CH_STATE,
    CH_CNTRY,
    CH_POSTCODE,
    CH_STMT_DATE,
    CH_STMT_END_DATE,
    CH_PAYDUE_DATE,
    CH_COMBINE_LIMIT,
    CH_BARCODED_COMBINE_LIMIT,
    AH_RECORD_ID,
    AH_SEQUENCE_NO,
    AH_CARDHOLDER_NO,
    AH_CARD_DESC,
    AH_CARD_DESC2,
    AH_BILLING_CURR_CD,
    AH_OUTSTD_BAL,
    AH_OUTSTD_BAL_S,
    AH_MIN_PMT,
    AH_BPON_OPEN,
    AH_BPNT_EARN,
    AH_BPNT_EARN_S,
    AH_BPNT_MGM,
    AH_BPNT_MGM_S,
    AH_BPNT_REDEEM,
    AH_BPNT_REDEEM_S,
    AH_BPNT_EXPIRY_MTH,
    AH_BPNT_EXPIRY_MTH_S,
    AH_BPNT_CLOSE,
    AH_BPNT_EXPIRY,
    AH_BPNT_EXP_DATE,
    AH_REWARDS_IND,
    AH_LINE_LIMIT,
    AH_AVAIL_LIMIT,
    AH_AVAIL_LIMIT_S,
    AH_AVAIL_CASH_LIMIT,
    AH_AVAIL_CASH_LIMIT_S,
    TD_RECORD_ID,
    TD_RECORD_TAG,
    TD_CARDHOLDER_NO,
    TD_CARDHOLDER_NAME,
    TD_BILLING_CURR_CD,
    TD_BAS_SUPP_IND,
    if(TD_TRXN_DATE="00000000",'        ',TD_TRXN_DATE) as TD_TRXN_DATE,
    if(TD_POST_DATE="00000000",'        ',TD_POST_DATE) as TD_POST_DATE ,
    TD_DESCRIPTION,
    TD_AMOUNT,
    TD_AMOUNT_S,
    TD_CARD_LIMIT FROM CUSTOMER_HEADER,
    ACCOUNT_HEADER, TRANSACTION_DETAIL,FILE_HEADER
    WHERE
    CH_RECORD_ID = AH_RECORD_ID AND
    AH_RECORD_ID = TD_RECORD_ID AND
    AH_BILLING_CURR_CD = TD_BILLING_CURR_CD AND
    TD_DESCRIPTION!='SUB TOTAL'
    ORDER BY CH_RECORD_ID,
    AH_BILLING_CURR_CD,
    TD_BILLING_CURR_CD,
    TD_RECORD_TAG, TD_POST_DATE]]></queryString>
         <field name="ADD1" class="java.lang.String"/>
         <field name="ADD2" class="java.lang.String"/>
         <field name="AH_AVAIL_CASH_LIMIT" class="java.lang.String"/>
         <field name="AH_AVAIL_CASH_LIMIT_S" class="java.lang.String"/>
         <field name="AH_AVAIL_LIMIT" class="java.lang.String"/>
         <field name="AH_AVAIL_LIMIT_S" class="java.lang.String"/>
         <field name="AH_BILLING_CURR_CD" class="java.lang.String"/>
         <field name="AH_BPNT_CLOSE" class="java.lang.String"/>
         <field name="AH_BPNT_EARN" class="java.lang.String"/>
         <field name="AH_BPNT_EARN_S" class="java.lang.String"/>
         <field name="AH_BPNT_EXPIRY" class="java.lang.String"/>
         <field name="AH_BPNT_EXPIRY_MTH" class="java.lang.String"/>
         <field name="AH_BPNT_EXPIRY_MTH_S" class="java.lang.String"/>
         <field name="AH_BPNT_EXP_DATE" class="java.lang.String"/>
         <field name="AH_BPNT_MGM" class="java.lang.String"/>
         <field name="AH_BPNT_MGM_S" class="java.lang.String"/>
         <field name="AH_BPNT_REDEEM" class="java.lang.String"/>
         <field name="AH_BPNT_REDEEM_S" class="java.lang.String"/>
         <field name="AH_BPON_OPEN" class="java.lang.String"/>
         <field name="AH_CARDHOLDER_NO" class="java.lang.String"/>
         <field name="AH_CARD_DESC" class="java.lang.String"/>
         <field name="AH_CARD_DESC2" class="java.lang.String"/>
         <field name="AH_LINE_LIMIT" class="java.lang.String"/>
         <field name="AH_MIN_PMT" class="java.lang.String"/>
         <field name="AH_OUTSTD_BAL" class="java.lang.String"/>
         <field name="AH_OUTSTD_BAL_S" class="java.lang.String"/>
         <field name="AH_RECORD_ID" class="java.lang.String"/>
         <field name="AH_REWARDS_IND" class="java.lang.String"/>
         <field name="AH_SEQUENCE_NO" class="java.lang.String"/>
         <field name="CH_BARCODED_COMBINE_LIMIT" class="java.lang.String"/>
         <field name="CH_CITY" class="java.lang.String"/>
         <field name="CH_CNTRY" class="java.lang.String"/>
         <field name="CH_COMBINE_LIMIT" class="java.lang.String"/>
         <field name="CH_COMPANY_NAME" class="java.lang.String"/>
         <field name="CH_CUSTOMER_NO" class="java.lang.String"/>
         <field name="CH_FULL_NAME" class="java.lang.String"/>
         <field name="CH_PAYDUE_DATE" class="java.lang.String"/>
         <field name="CH_POSTCODE" class="java.lang.String"/>
         <field name="CH_RECORD_ID" class="java.lang.String"/>
         <field name="CH_SEQUENCE_NO" class="java.lang.String"/>
         <field name="CH_STATE" class="java.lang.String"/>
         <field name="CH_STMT_DATE" class="java.lang.String"/>
         <field name="CH_STMT_END_DATE" class="java.lang.String"/>
         <field name="FH_PRODUCT_ID" class="java.lang.String"/>
         <field name="TD_AMOUNT" class="java.lang.String"/>
         <field name="TD_AMOUNT_S" class="java.lang.String"/>
         <field name="TD_BAS_SUPP_IND" class="java.lang.String"/>
         <field name="TD_BILLING_CURR_CD" class="java.lang.String"/>
         <field name="TD_CARDHOLDER_NAME" class="java.lang.String"/>
         <field name="TD_CARDHOLDER_NO" class="java.lang.String"/>
         <field name="TD_CARD_LIMIT" class="java.lang.String"/>
         <field name="TD_DESCRIPTION" class="java.lang.String"/>
         <field name="TD_POST_DATE" class="java.lang.String"/>
         <field name="TD_RECORD_ID" class="java.lang.String"/>
         <field name="TD_RECORD_TAG" class="java.lang.String"/>
         <field name="TD_TRXN_DATE" class="java.lang.String"/>
              <group  name="Customer_header" isStartNewColumn="false" isStartNewPage="true" isResetPageNumber="true" isReprintHeaderOnEachPage="true" minHeightToStartNewPage="0" >
                   <groupExpression><![CDATA[$F{CH_RECORD_ID}]]></groupExpression>
                   <groupHeader>
                   <band height="208"  isSplitAllowed="true" >
                        <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" >                         <reportElement
                                  mode="Opaque"
                                  x="168"
                                  y="84"
                                  width="274"
                                  height="16"
                                  forecolor="#000000"
                                  backcolor="#FFFFFF"
                                  positionType="Float"
                                  isPrintRepeatedValues="true"
                                  isRemoveLineWhenBlank="false"
                                  isPrintInFirstWholeBand="false"
                                  isPrintWhenDetailOverflows="false"/>
                             <textElement textAlignment="Left" verticalAlignment="Top" lineSpacing="Single">
                                  <font fontName="Arial" pdfFontName="Helvetica" size="12" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="false" pdfEncoding ="CP1252" isStrikeThrough="false" />
                             </textElement>
                        <textFieldExpression   class="java.lang.String"><![CDATA[$F{CH_FULL_NAME}]]></textFieldExpression>
                        </textField>
                        <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" >                         <reportElement
                                  mode="Opaque"
                                  x="168"
                                  y="116"
                                  width="281"
                                  height="14"
                                  forecolor="#000000"
                                  backcolor="#FFFFFF"
                                  positionType="Float"
                                  isPrintRepeatedValues="true"
                                  isRemoveLineWhenBlank="false"
                                  isPrintInFirstWholeBand="false"
                                  isPrintWhenDetailOverflows="false"/>
                             <textElement textAlignment="Left" verticalAlignment="Top" lineSpacing="Single">
                                  <font fontName="Arial" pdfFontName="Helvetica" size="12" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="false" pdfEncoding ="CP1252" isStrikeThrough="false" />
                             </textElement>
                        <textFieldExpression   class="java.lang.String"><![CDATA[$F{ADD1}]]></textFieldExpression>
                        </textField>
                        <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" >                         <reportElement
                                  mode="Opaque"
                                  x="168"
                                  y="100"
                                  width="179"
                                  height="14"
                                  forecolor="#000000"
                                  backcolor="#FFFFFF"
                                  positionType="Float"
                                  isPrintRepeatedValues="true"
                                  isRemoveLineWhenBlank="false"
                                  isPrintInFirstWholeBand="false"
                                  isPrintWhenDetailOverflows="false"/>
                             <textElement textAlignment="Left" verticalAlignment="Top" lineSpacing="Single">
                                  <font fontName="Arial" pdfFontName="Helvetica" size="12" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="false" pdfEncoding ="CP1252" isStrikeThrough="false" />
                             </textElement>
                        <textFieldExpression   class="java.lang.String"><![CDATA[$F{CH_COMPANY_NAME}]]></textFieldExpression>
                        </textField>
                        <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" >                         <reportElement
                                  mode="Opaque"
                                  x="239"
                                  y="148"
                                  width="119"
                                  height="14"
                                  forecolor="#000000"
                                  backcolor="#FFFFFF"
                                  positionType="Float"
                                  isPrintRepeatedValues="true"
                                  isRemoveLineWhenBlank="false"
                                  isPrintInFirstWholeBand="false"
                                  isPrintWhenDetailOverflows="false"/>
                             <textElement textAlignment="Left" verticalAlignment="Top" lineSpacing="Single">
                                  <font fontName="Arial" pdfFontName="Helvetica" size="12" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="false" pdfEncoding ="CP1252" isStrikeThrough="false" />
                             </textElement>
                        <textFieldExpression   class="java.lang.String"><![CDATA[$F{CH_CITY}]]></textFieldExpression>
                        </textField>
                        <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" >                         <reportElement
                                  mode="Opaque"
                                  x="168"
                                  y="148"
                                  width="70"
                                  height="14"
                                  forecolor="#000000"
                                  backcolor="#FFFFFF"
                                  positionType="Float"
                                  isPrintRepeatedValues="true"
                                  isRemoveLineWhenBlank="false"
                                  isPrintInFirstWholeBand="false"
                                  isPrintWhenDetailOverflows="false"/>
                             <textElement textAlignment="Left" verticalAlignment="Top" lineSpacing="Single">
                                  <font fontName="Arial" pdfFontName="Helvetica" size="12" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="false" pdfEncoding ="CP1252" isStrikeThrough="false" />
                             </textElement>
                        <textFieldExpression   class="java.lang.String"><![CDATA[$F{CH_POSTCODE}]]></textFieldExpression>
                        </textField>
                        <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" >                         <reportElement
                                  mode="Opaque"
                                  x="168"
                                  y="164"
                                  width="201"
                                  height="13"
                                  forecolor="#000000"
                                  backcolor="#FFFFFF"
                                  positionType="Float"
                                  isPrintRepeatedValues="true"
                                  isRemoveLineWhenBlank="false"
                                  isPrintInFirstWholeBand="false"
                                  isPrintWhenDetailOverflows="false"/>
                             <textElement textAlignment="Left" verticalAlignment="Top" lineSpacing="Single">
                                  <font fontName="Arial" pdfFontName="Helvetica" size="12" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="false" pdfEncoding ="CP1252" isStrikeThrough="false" />
                             </textElement>
                        <textFieldExpression   class="java.lang.String"><![CDATA[$F{CH_CNTRY}]]></textFieldExpression>
                        </textField>
                        <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" >                         <reportElement
                                  mode="Opaque"
                                  x="29"
                                  y="130"
                                  width="90"
                                  height="14"
                                  forecolor="#000000"
                                  backcolor="#FFFFFF"
                                  positionType="Float"
                                  isPrintRepeatedValues="true"
                                  isRemoveLineWhenBlank="false"
                                  isPrintInFirstWholeBand="false"
                                  isPrintWhenDetailOverflows="false"/>
                             <textElement textAlignment="Center" verticalAlignment="Top" lineSpacing="Single">
                                  <font fontName="Arial" pdfFontName="Helvetica" size="12" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="false" pdfEncoding ="CP1252" isStrikeThrough="false" />
                             </textElement>
                        <textFieldExpression   class="java.lang.String"><![CDATA[$F{CH_STMT_DATE}.substring(6,8)+"."+$F{CH_STMT_DATE}.substring(4,6)+"."+$F{CH_STMT_DATE}.substring(0,4)]]></textFieldExpression>
                        </textField>
                        <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" >                         <reportElement
                                  mode="Opaque"
                                  x="470"
                                  y="130"
                                  width="81"
                                  height="13"
                                  forecolor="#000000"
                                  backcolor="#FFFFFF"
                                  positionType="Float"
                                  isPrintRepeatedValues="true"
                                  isRemoveLineWhenBlank="false"
                                  isPrintInFirstWholeBand="false"
                                  isPrintWhenDetailOverflows="false"/>
                             <textElement textAlignment="Center" verticalAlignment="Top" lineSpacing="Single">
                                  <font fontName="Arial" pdfFontName="Helvetica" size="12" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="false" pdfEncoding ="CP1252" isStrikeThrough="false" />
                             </textElement>
                        <textFieldExpression   class="java.lang.String"><![CDATA[$F{CH_PAYDUE_DATE}.substring(6,8)+"."+$F{CH_PAYDUE_DATE}.substring(4,6)+"."+$F{CH_PAYDUE_DATE}.substring(0,4)]]></textFieldExpression>
                        </textField>
                        <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" >                         <reportElement
                                  mode="Opaque"
                                  x="476"
                                  y="67"
                                  width="46"
                                  height="13"
                                  forecolor="#000000"
                                  backcolor="#FFFFFF"
                                  positionType="Float"
                                  isPrintRepeatedValues="true"
                                  isRemoveLineWhenBlank="false"
                                  isPrintInFirstWholeBand="false"
                                  isPrintWhenDetailOverflows="false"/>
                             <textElement textAlignment="Left" verticalAlignment="Top" lineSpacing="Single">
                                  <font fontName="Arial" pdfFontName="Helvetica" size="12" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="false" pdfEncoding ="CP1252" isStrikeThrough="false" />
                             </textElement>
                        <textFieldExpression   class="java.lang.String"><![CDATA[$F{FH_PRODUCT_ID}]]></textFieldExpression>
                        </textField>
                        <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" >                         <reportElement
                                  mode="Opaque"
                                  x="168"
                                  y="132"
                                  width="236"
                                  height="14"
                                  forecolor="#000000"
                                  backcolor="#FFFFFF"
                                  positionType="Float"
                                  isPrintRepeatedValues="true"
                                  isRemoveLineWhenBlank="false"
                                  isPrintInFirstWholeBand="false"
                                  isPrintWhenDetailOverflows="false"/>
                             <textElement textAlignment="Left" verticalAlignment="Top" lineSpacing="Single">
                                  <font fontName="Arial" pdfFontName="Helvetica" size="12" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="false" pdfEncoding ="CP1252" isStrikeThrough="false" />
                             </textElement>
                        <textFieldExpression   class="java.lang.String"><![CDATA[$F{ADD2}]]></textFieldExpression>
                        </textField>
                        <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" >                         <reportElement
                                  mode="Opaque"
                                  x="529"
                                  y="67"
                                  width="28"
                                  height="13"
                                  forecolor="#000000"
                                  backcolor="#FFFFFF"
                                  positionType="Float"
                                  isPrintRepeatedValues="true"
                                  isRemoveLineWhenBlank="false"
                                  isPrintInFirstWholeBand="false"
                                  isPrintWhenDetailOverflows="false"/>
                             <textElement textAlignment="Left" verticalAlignment="Top" lineSpacing="Single">
                                  <font fontName="Arial" pdfFontName="Helvetica" size="12" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="false" pdfEncoding ="CP1252" isStrikeThrough="false" />
                             </textElement>
                        <textFieldExpression   class="java.lang.String"><![CDATA[$F{CH_RECORD_ID}]]></textFieldExpression>
                        </textField>
                   </band>
                   </groupHeader>
                   <groupFooter>
                   <band height="0"  isSplitAllowed="true" >
                   </band>
                   </groupFooter>
              </group>
              <group  name="Account_Header" isStartNewColumn="false" isStartNewPage="false" isResetPageNumber="true" isReprintHeaderOnEachPage="true" minHeightToStartNewPage="0" >
                   <groupExpression><![CDATA[$F{AH_BILLING_CURR_CD}]]></groupExpression>
                   <groupHeader>
                   <band height="175"  isSplitAllowed="true" >
                        <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" >                         <reportElement
                                  mode="Opaque"
                                  x="12"
                                  y="16"
                                  width="156"
                                  height="15"
                                  forecolor="#000000"
                                  backcolor="#FFFFFF"
                                  positionType="Float"
                                  isPrintRepeatedValues="true"
                                  isRemoveLineWhenBlank="false"
                                  isPrintInFirstWholeBand="false"
                                  isPrintWhenDetailOverflows="false"/>
                             <textElement textAlignment="Center" verticalAlignment="Top" lineSpacing="Single">
                                  <font fontName="Arial" pdfFontName="Helvetica" size="12" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="false" pdfEncoding ="CP1252" isStrikeThrough="false" />
                             </textElement>
                        <textFieldExpression   class="java.lang.String"><![CDATA[$F{AH_CARDHOLDER_NO}.substring(0,4)+" "+$F{AH_CARDHOLDER_NO}.substring(4,8)+" "+$F{AH_CARDHOLDER_NO}.substring(8,12)+" "+$F{AH_CARDHOLDER_NO}.substring(12,16)]]></textFieldExpression>
                        </textField>
                        <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" >                         <reportElement
                                  mode="Opaque"
                                  x="226"
                                  y="16"
                                  width="84"
                                  height="15"
                                  forecolor="#000000"
                                  backcolor="#FFFFFF"
                                  positionType="Float"
                                  isPrintRepeatedValues="true"
                                  isRemoveLineWhenBlank="false"
                                  isPrintInFirstWholeBand="false"
                                  isPrintWhenDetailOverflows="false"/>
                             <textElement textAlignment="Right" verticalAlignment="Top" lineSpacing="Single">
                                  <font fontName="Arial" pdfFontName="Helvetica" size="12" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="false" pdfEncoding ="CP1252" isStrikeThrough="false" />
                             </textElement>
                        <textFieldExpression   class="java.lang.String"><![CDATA[$F{AH_OUTSTD_BAL}]]></textFieldExpression>
                        </textField>
                        <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" >                         <reportElement
                                  mode="Opaque"
                                  x="417"
                                  y="16"
                                  width="90"
                                  height="15"
                                  forecolor="#000000"
                                  backcolor="#FFFFFF"
                                  positionType="Float"
                                  isPrintRepeatedValues="true"
                                  isRemoveLineWhenBlank="false"
                                  isPrintInFirstWholeBand="false"
                                  isPrintWhenDetailOverflows="false"/>
                             <textElement textAlignment="Right" verticalAlignment="Top" lineSpacing="Single">
                                  <font fontName="Arial" pdfFontName="Helvetica" size="12" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="false" pdfEncoding ="CP1252" isStrikeThrough="false" />
                             </textElement>
                        <textFieldExpression   class="java.lang.String"><![CDATA[$F{AH_MIN_PMT}]]></textFieldExpression>
                        </textField>
                        <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" >                         <reportElement
                                  mode="Opaque"
                                  x="0"
                                  y="95"
                                  width="128"
                                  height="14"
                                  forecolor="#000000"
                                  backcolor="#FFFFFF"
                                  positionType="Float"
                                  isPrintRepeatedValues="true"
                                  isRemoveLineWhenBlank="false"
                                  isPrintInFirstWholeBand="false"
                                  isPrintWhenDetailOverflows="false"/>
                             <textElement textAlignment="Center" verticalAlignment="Top" lineSpacing="Single">
                                  <font fontName="Arial" pdfFontName="Helvetica" size="12" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="false" pdfEncoding ="CP1252" isStrikeThrough="false" />
                             </textElement>
                        <textFieldExpression   class="java.lang.String"><![CDATA[$F{AH_CARDHOLDER_NO}.substring(0,4)+" "+$F{AH_CARDHOLDER_NO}.substring(4,8)+" "+$F{AH_CARDHOLDER_NO}.substring(8,12)+" "+$F{AH_CARDHOLDER_NO}.substring(12,16)]]></textFieldExpression>
                        </textField>
                        <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" >                         <reportElement
                                  mode="Opaque"
                                  x="191"
                                  y="95"
                                  width="216"
                                  height="14"
                                  forecolor="#000000"
                                  backcolor="#FFFFFF"
                                  positionType="Float"
                                  isPrintRepeatedValues="true"
                                  isRemoveLineWhenBlank="false"
                                  isPrintInFirstWholeBand="false"
                                  isPrintWhenDetailOverflows="false"/>
                             <textElement textAlignment="Center" verticalAlignment="Top" lineSpacing="Single">
                                  <font fontName="Arial" pdfFontName="Helvetica" size="12" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="false" pdfEncoding ="CP1252" isStrikeThrough="false" />
                             </textElement>
                        <textFieldExpression   class="java.lang.String"><![CDATA[$F{CH_FULL_NAME}]]></textFieldExpression>
                        </textField>
                        <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" >                         <reportElement
                                  mode="Opaque"
                                  x="517"
                                  y="95"
                                  width="35"
                                  height="14"
                                  forecolor="#000000"
                                  backcolor="#FFFFFF"
                                  positionType="Float"
                                  isPrintRepeatedValues="true"
                                  isRemoveLineWhenBlank="false"
                                  isPrintInFirstWholeBand="false"
                                  isPrintWhenDetailOverflows="false"/>
                             <textElement textAlignment="Center" verticalAlignment="Top" lineSpacing="Single">
                                  <font fontName="Arial" pdfFontName="Helvetica" size="12" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="false" pdfEncoding ="CP1252" isStrikeThrough="false" />
                             </textElement>
                        <textFieldExpression   class="java.lang.Integer"><![CDATA[$V{PAGE_NUMBER}]]></textFieldExpression>
                        </textField>
                        <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" >                         <reportElement
                                  mode="Opaque"
                                  x="9"
                                  y="134"
                                  width="72"
                                  height="15"
                                  forecolor="#000000"
                                  backcolor="#FFFFFF"
                                  positionType="Float"
                                  isPrintRepeatedValues="true"
                                  isRemoveLineWhenBlank="false"
                                  isPrintInFirstWholeBand="false"
                                  isPrintWhenDetailOverflows="false"/>
                             <textElement textAlignment="Center" verticalAlignment="Top" lineSpacing="Single">
                                  <font fontName="Arial" pdfFontName="Helvetica" size="12" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="false" pdfEncoding ="CP1252" isStrikeThrough="false" />
                             </textElement>
                        <textFieldExpression   class="java.lang.String"><![CDATA[$F{CH_STMT_DATE}.substring(6,8)+"."+$F{CH_STMT_DATE}.substring(4,6)+"."+$F{CH_STMT_DATE}.substring(0,4)]]></textFieldExpression>
                        </textField>
                        <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" >                         <reportElement
                                  mode="Opaque"
                                  x="123"
                                  y="135"
                                  width="69"
                                  height="15"
                                  forecolor="#000000"
                                  backcolor="#FFFFFF"
                                  positionType="Float"
                                  isPrintRepeatedValues="true"
                                  isRemoveLineWhenBlank="false"
                                  isPrintInFirstWholeBand="false"
                                  isPrintWhenDetailOverflows="false"/>
                             <textElement textAlignment="Center" verticalAlignment="Top" lineSpacing="Single">
                                  <font fontName="Arial" pdfFontName="Helvetica" size="12" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="false" pdfEncoding ="CP1252" isStrikeThrough="false" />
                             </textElement>
                        <textFieldExpression   class="java.lang.String"><![CDATA[$F{CH_PAYDUE_DATE}.substring(6,8)+"."+$F{CH_PAYDUE_DATE}.substring(4,6)+"."+$F{CH_PAYDUE_DATE}.substring(0,4)]]></textFieldExpression>
                        </textField>
                        <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" >                         <reportElement
                                  mode="Opaque"
                                  x="201"
                                  y="135"
                                  width="82"
                                  height="15"
                                  forecolor="#000000"
                                  backcolor="#FFFFFF"
                                  positionType="Float"
                                  isPrintRepeatedValues="true"
                                  isRemoveLineWhenBlank="false"
                                  isPrintInFirstWholeBand="false"
                                  isPrintWhenDetailOverflows="false"/>
                             <textElement textAlignment="Right" verticalAlignment="Top" lineSpacing="Single">
                                  <font fontName="Arial" pdfFontName="Helvetica" size="12" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="false" pdfEncoding ="CP1252" isStrikeThrough="false" />
                             </textElement>
                        <textFieldExpression   class="java.lang.String"><![CDATA[$F{AH_LINE_LIMIT}]]></textFieldExpression>
                        </textField>
                        <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" >                         <reportElement
                                  mode="Opaque"
                                  x="332"
                                  y="135"
                                  width="88"
                                  height="15"
                                  forecolor="#000000"
                                  backcolor="#FFFFFF"
                                  positionType="Float"
                                  isPrintRepeatedValues="true"
                                  isRemoveLineWhenBlank="false"
                                  isPrintInFirstWholeBand="false"
                                  isPrintWhenDetailOverflows="false"/>
                             <textElement textAlignment="Right" verticalAlignment="Top" lineSpacing="Single">
                                  <font fontName="Arial" pdfFontName="Helvetica" size="12" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="false" pdfEncoding ="CP1252" isStrikeThrough="false" />
                             </textElement>
                        <textFieldExpression   class="java.lang.String"><![CDATA[$F{AH_AVAIL_LIMIT}]]></textFieldExpression>
                        </textField>
                        <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" >                         <reportElement
                                  mode="Opaque"
                                  x="461"
                                  y="136"
                                  width="79"
                                  height="15"
                                  forecolor="#000000"
                                  backcolor="#FFFFFF"
                                  positionType="Float"
                                  isPrintRepeatedValues="true"
                                  isRemoveLineWhenBlank="false"
                                  isPrintInFirstWholeBand="false"
                                  isPrintWhenDetailOverflows="false"/>
                             <textElement textAlignment="Right" verticalAlignment="Top" lineSpacing="Single">
                                  <font fontName="Arial" pdfFontName="Helvetica" size="12" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="false" pdfEncoding ="CP1252" isStrikeThrough="false" />
                             </textElement>
                        <textFieldExpression   class="java.lang.String"><![CDATA[$F{AH_AVAIL_CASH_LIMIT}]]></textFieldExpression>
                        </textField>
                        <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" >                         <reportElement
                                  mode="Opaque"
                                  x="284"
                                  y="135"
                                  width="44"
                                  height="15"
                                  forecolor="#000000"
                                  backcolor="#FFFFFF"
                                  positionType="Float"
                                  isPrintRepeatedValues="true"
                                  isRemoveLineWhenBlank="false"
                                  isPrintInFirstWholeBand="false"
                                  isPrintWhenDetailOverflows="false"/>
                             <textElement textAlignment="Left" verticalAlignment="Top" lineSpacing="Single">
                                  <font fontName="Arial" pdfFontName="Helvetica" size="12" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="false" pdfEncoding ="CP1252" isStrikeThrough="false" />
                             </textElement>
                        <textFieldExpression   class="java.lang.String"><![CDATA["("+$F{AH_BILLING_CURR_CD}+")"]]></textFieldExpression>
                        </textField>
                        <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" >                         <reportElement
                                  mode="Opaque"
                                  x="421"
                                  y="135"
                                  width="30"
                                  height="15"
                                  forecolor="#000000"
                                  backcolor="#FFFFFF"
                                  positionType="Float"
                                  isPrintRepeatedValues="true"
                                  isRemoveLineWhenBlank="false"
                                  isPrintInFirstWholeBand="false"
                                  isPrintWhenDetailOverflows="false"/>
                             <textElement textAlignment="Left" verticalAlignment="Top" lineSpacing="Single">
                                  <font fontName="Arial" pdfFontName="Helvetica" size="12" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="false" pdfEncoding ="CP1252" isStrikeThrough="false" />
                             </textElement>
                        <textFieldExpression   class="java.lang.String"><![CDATA[$F{AH_AVAIL_LIMIT_S}.equals("-")?"CR":""]]></textFieldExpression>
                        </textField>
                        <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" >                         <reportElement
                                  mode="Opaque"
                                  x="541"
                                  y="136"
                                  width="22"
                                  height="15"
                                  forecolor="#000000"
                                  backcolor="#FFFFFF"
                                  positionType="Float"
                                  isPrintRepeatedValues="true"
                                  isRemoveLineWhenBlank="false"
                                  isPrintInFirstWholeBand="false"
                                  isPrintWhenDetailOverflows="false"/>
                             <textElement textAlignment="Left" verticalAlignment="Top" lineSpacing="Single">
                                  <font fontName="Arial" pdfFontName="Helvetica" size="12" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="false" pdfEncoding ="CP1252" isStrikeThrough="false" />
                             </textElement>
                        <textFieldExpression   class="java.lang.String"><![CDATA[$F{AH_AVAIL_CASH_LIMIT_S}.equals("-")?"CR":""]]></textFieldExpression>
                        </textField>
                        <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" >                         <reportElement
                                  mode="Opaque"
                                  x="337"
                                  y="16"
                                  width="19"
                                  height="15"
                                  forecolor="#000000"
                                  backcolor="#FFFFFF"
                                  positionType="Float"
                                  isPrintRepeatedValues="true"
                                  isRemoveLineWhenBlank="false"
                                  isPrintInFirstWholeBand="false"
                                  isPrintWhenDetailOverflows="false"/>
                             <textElement textAlignment="Left" verticalAlignment="Top" lineSpacing="Single">
                                  <font fontName="Arial" pdfFontName="Helvetica" size="12" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="false" pdfEncoding ="CP1252" isStrikeThrough="false" />
                             </textElement>
                        <textFieldExpression   class="java.lang.String"><![CDATA[$F{AH_OUTSTD_BAL_S}.equals("-")?"CR":""]]></textFieldExpression>
                        </textField>
                   </band>
                   </groupHeader>
                   <groupFooter>
                   <band height="0"  isSplitAllowed="true" >
                   </band>
                   </groupFooter>
              </group>
              <background>
                   <band height="0"  isSplitAllowed="true" >
                   </band>
              </background>
              <                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    HI.
    Try using Ireport for pass the parameters and edit the query easier.

  • How to use dynamic parameter when a report is created using Stored Procedures

    Hi all,
    any one have the idea of how to use dynamic parameter in crystal report XI R2
    when report is created using Stored Procedure.
    Regards
    shashi kant chauhan

    Hi
    You can create an SQL command in Database Expert > Expand your datasource > Add command
    Then enter the SQL query that will create the list of values to supply to the user
    eg select field1,field2 from table
    Then edit the parameter of the report.  These will be the SP parameters adn can be seen in field explorer.
    Change the parameter type to Dynamic
    Under the word Value click on Click here to add item
    Scroll down to your Command and select one of the values that you want to appear in the list
    e.g field1
    Then click on the Parameters field - this is essential to create the param
    You can edit other options as required
    That should do it for you.
    I must say that i use CR 2008 connected to Oracle 10g SP, but i reckon this will work for SQL DB and CR XI as well
    Best of luck

  • Paasing dynamic parameter to Run reports type of form function

    Hi,
    I want to create form function "XXFORMFUNCTION"which can be invoked as a concurrent program in SRS window. So that the click of button, I will call form function "XXFORMFUNCTION", and it will invoke a concurrent program.
    To do this, I have created form fucntion of "Run reports" type and passed parameters as
    CONCURRENT_PROGRAM_NAME = 'FNDACTIVEUSER' PROGRAM_SHORT_NAME = 'FND'.
    But my requirement is to pass this CONCURRENT_PROGRAM_NAME as a parameter. In above case I have hard coded it.
    I want something like this
    CONCURRENT_PROGRAM_NAME = &prg PROGRAM_SHORT_NAME =&appl
    I will pass &prg and &appl as a parameter to form function from OAF form..
    How to achieve this?
    Regards,
    Parag

    I was able to get a Page item set to the value I want to use in my tabular form.
    I created a Page Item 'P1358_HOLD_ATTENDANCE_CODE' and I can see it getting set to the correct value.
    I tried to create another TRUE condition in my Dynamic Action to set the tab form select list item (f03), but it's not working.
    here is what I tried:
    var row = $x_UpTill(this.triggeringElement, 'TR');
    var otherElement = $('input[name="f03"]', row)[0];
    otherElement.value = $x('P1358_HOLD_ATTENDANCE_CODE').value;

Maybe you are looking for