Pass parameter value to another parameter.... User query in user parameter

Hello everyone, any help would be greatly appreciated.
Problem:
My report currently has 5 user parameters (3 Number, 2 Characters). I have an after parameter trigger that evaluates all the parameters to see which one has any value and then creates the “where clause”. Below is an example of two of the 5 parameters.
The function works fine, I just cut out all the other stuff for this issue.
function AfterPForm return boolean is
IF :P_JOB_ID is not null then
     :P_WHERE_CLAUSE := 'where Job_num = :P_JOB_ID';
ELSIF :P_QUES_DESC is not null then
:P_WHERE_CLAUSE := 'where DESCRIPTION like :P_QUES_DESC’;
ELSE :P_WHERE_CLAUSE := ‘where JOB_NUM = 0';
The “P_WHERE_CLAUSE” is used as follows in a query.
Select job_num
from PROMOTION
&P_W_CLAUSE
Issue:
The query result can be anywhere from 1 to 50 job_num’s. I need to show the end user running this report the values (job_num) in a drop down list. They in turn will select one job_num which will be used to run the report. I tried putting the Select job_num from PROMOTION &P_W_CLAUSE in a User Parameter but that does not work. I get an error. I feel that I am approaching this the wrong way. Because in the end I would end up with two queries, one for the Select statement containing the P_W_CLAUSE and another with the final report. This issue is sort of like cascading prompt where the values from one (or more) parameters are used in the select of another user parameter which in turn the value selected will be used in the final report. Also this report will be used somewhere between 50 - 75 times per day so storing the values in a temp table might not work.

Sorry,
as I know depending parameters like you want are not possible in Reports. You can use one reports as parameter-report-only to use a second as your original report, but this is not perfect. Or use a tool like Application Express (which is able to have depending fields) in front of reports to build your parameter forms.
Regards
Rainer

Similar Messages

  • Passing multiple values to another page via a sql report

    Having trouble passing multiple values to another page via a popup SQL report
    I have two fields one called "descr" and another called "Met"
    when I use the code below all works fine and the value of "descr" is passed
    Select '<a href="javascript:popUp2('''
    || 'f?p=&APP_ID.:950:&SESSION.::&DEBUG.::'
    || 'P950_TYPE:'
    || descr
    || ''', 790, 460);"style="color:darkred; font-weight: bold;font-size: 90%">'
    || descr
    || '</a>' "Note"
    But when I want to pass another value, all goes bonkers and instead of the value of the field being passed the literal text is passed.
    can someone look at my code below and see what may be wrong
    Select '<a href="javascript:popUp2('''
    || 'f?p=&APP_ID.:950:&SESSION.::&DEBUG.::'
    || 'P950_TYPE,P950_CODE:'
    || descr, Met
    || ''', 790, 460);"style="color:darkred; font-weight: bold;font-size: 90%">'
    || descr
    || '</a>' "Note"
    I appeciate your help looking into this
    FYI (Here is the entire SQL for reference)
    With t
    as
    (SELECT
    CASE WHEN KEY = 2 then
    CASE WHEN WCS_CPT > :P940_METRIC_1_WCS_CPT1 then
    '<span style="color:Red; ">'||TO_CHAR(WCS_CPT,'FML999G999G999G999G990D00')||'</span>' else
    '<span style="color:#399304; ">'||TO_CHAR(WCS_CPT,'FML999G999G999G999G990D00')||'</span>' end
    else '<span style="color:#180c8b;">'||TO_CHAR(WCS_CPT,'FML999G999G999G999G990D00')||'</span>' end "WCSCPT",
    CASE WHEN KEY = 2 then
    CASE WHEN WCS_TOI_PER_FTE < :P940_METRIC_2_WCS_TOI_PER_FTE then
    '<span style="color:Red; ">'||TO_CHAR(WCS_TOI_PER_FTE,'999G999G999G999G990')||'</span>' else
    '<span style="color:#399304; ">'||TO_CHAR(WCS_TOI_PER_FTE,'999G999G999G999G990')||'</span>' end
    else '<span style="color:#180c8b;">'||TO_CHAR(WCS_TOI_PER_FTE,'999G999G999G999G990')||'</span>' end "WCSTOIPERFTE",
    CASE WHEN KEY = 2 then
    CASE WHEN WCS_SIO_PER_FTE < :P940_METRIC_3_WCS_SIO_PER_FTE then
    '<span style="color:Red; ">'||TO_CHAR(WCS_SIO_PER_FTE,'999G999G999G999G990')||'</span>' else
    '<span style="color:#399304; ">'||TO_CHAR(WCS_SIO_PER_FTE,'999G999G999G999G990')||'</span>' end
    else '<span style="color:#180c8b;">'||TO_CHAR(WCS_SIO_PER_FTE,'999G999G999G999G990')||'</span>' end "WCSSIOPERFTE",
    CASE WHEN KEY = 2 then
    CASE WHEN WCS_TC_PER_FTE < :P940_METRIC_4_WCS_TC_PER_FTE then
    '<span style="color:Red; ">'||TO_CHAR(WCS_TC_PER_FTE,'999G999G999G999G990')||'</span>' else
    '<span style="color:#399304; ">'||TO_CHAR(WCS_TC_PER_FTE,'999G999G999G999G990')||'</span>' end
    else '<span style="color:#180c8b;">'||TO_CHAR(WCS_TC_PER_FTE,'999G999G999G999G990')||'</span>' end "WCSTCPERFTE",
    CASE WHEN KEY = 2 then
    CASE WHEN WCS_ADSL_PER_FTE < :P940_METRIC_5_WCS_DSL_PER_FTE then
    '<span style="color:Red; ">'||TO_CHAR(WCS_ADSL_PER_FTE,'999G999G999G999G990')||'</span>' else
    '<span style="color:#399304; ">'||TO_CHAR(WCS_ADSL_PER_FTE,'999G999G999G999G990')||'</span>' end
    else '<span style="color:#180c8b;">'||TO_CHAR(WCS_ADSL_PER_FTE,'999G999G999G999G990')||'</span>' end "WCSADSLPERFTE",
    CASE WHEN KEY = 2 THEN
    TO_CHAR(MONTH,'MON-YY')
    else
    'METRICS'
    end "MONTH"
    FROM (
    SELECT DISTINCT
    ROW_NUMBER() OVER (ORDER BY KEY DESC) AS ROW_NUM, KEY, WCS_CPT, WCS_TOI_PER_FTE, WCS_SIO_PER_FTE, WCS_TC_PER_FTE, WCS_ADSL_PER_FTE, MONTH
    from TW_M_KEYMETRICS
    WHERE TO_DATE(UPPER(MONTH),'DD/MON/YY') >= TO_DATE(UPPER(:P940_START_OF_THIS_FIN_YEAR),'DD/MON/YY')
    ORDER BY KEY ASC, ROW_NUM, MONTH)
    WHERE ROW_NUM <= :P940_MONTHS_SINCE_FIN_START)
    Select '<a href="javascript:popUp2('''
    || 'f?p=&APP_ID.:950:&SESSION.::&DEBUG.::'
    || 'P950_METRIC_TYPE,P950_METRIC_VALUE:descr,MET'
    || ''
    || ''', 790, 460);"style="color:darkred; font-weight: bold;font-size: 90%">'
    || descr
    || '</a>' "Note"
    , max(Met) METRICS, max(Jul) Jul08, max(Aug) Aug08, max(Sep) Sep08, max(Oct) Oct08, max(Nov) Nov08, max(Dec)Dec08, max(Jan) Jan08, max(Feb) Feb08, max(Mar) Mar08, max(Apr) Apr08, max(May) May08, max(Jun) Jun08
    from (
    Select 'Cost Per Transaction' descr,
    decode (MONTH, 'METRICS', WCSCPT) MET,
    decode (MONTH, 'JUL-08', WCSCPT) Jul,
    decode (MONTH, 'AUG-08', WCSCPT) Aug,
    decode (MONTH, 'SEP-08', WCSCPT) Sep,
    decode (MONTH, 'OCT-08', WCSCPT) Oct,
    decode (MONTH, 'NOV-08', WCSCPT) Nov,
    decode (MONTH, 'DEC-08', WCSCPT) Dec,
    decode (MONTH, 'JAN-08', WCSCPT) Jan,
    decode (MONTH, 'FEB-08', WCSCPT) Feb,
    decode (MONTH, 'MAR-08', WCSCPT) Mar,
    decode (MONTH, 'APR-08', WCSCPT) Apr,
    decode (MONTH, 'MAY-08', WCSCPT) May,
    decode (MONTH, 'JUN-08', WCSCPT) Jun
    from t
    union all
    Select 'Total Orders Issued Per FTE' descr,
    decode (MONTH, 'METRICS', WCSTOIPERFTE) MET,
    decode (MONTH, 'JUL-08', WCSTOIPERFTE) Jul,
    decode (MONTH, 'AUG-08', WCSTOIPERFTE) Aug,
    decode (MONTH, 'SEP-08', WCSTOIPERFTE) Sep,
    decode (MONTH, 'OCT-08', WCSTOIPERFTE) Oct,
    decode (MONTH, 'NOV-08', WCSTOIPERFTE) Nov,
    decode (MONTH, 'DEC-08', WCSTOIPERFTE) Dec,
    decode (MONTH, 'JAN-08', WCSTOIPERFTE) Jan,
    decode (MONTH, 'FEB-08', WCSTOIPERFTE) Feb,
    decode (MONTH, 'MAR-08', WCSTOIPERFTE) Mar,
    decode (MONTH, 'APR-08', WCSTOIPERFTE) Apr,
    decode (MONTH, 'MAY-08', WCSTOIPERFTE) May,
    decode (MONTH, 'JUN-08', WCSTOIPERFTE) Jun
    from t
    union all
    Select 'SIOs Per Billing FTE' descr,
    decode (MONTH, 'METRICS', WCSSIOPERFTE) MET,
    decode (MONTH, 'JUL-08', WCSSIOPERFTE) Jul,
    decode (MONTH, 'AUG-08', WCSSIOPERFTE) Aug,
    decode (MONTH, 'SEP-08', WCSSIOPERFTE) Sep,
    decode (MONTH, 'OCT-08', WCSSIOPERFTE) Oct,
    decode (MONTH, 'NOV-08', WCSSIOPERFTE) Nov,
    decode (MONTH, 'DEC-08', WCSSIOPERFTE) Dec,
    decode (MONTH, 'JAN-08', WCSSIOPERFTE) Jan,
    decode (MONTH, 'FEB-08', WCSSIOPERFTE) Feb,
    decode (MONTH, 'MAR-08', WCSSIOPERFTE) Mar,
    decode (MONTH, 'APR-08', WCSSIOPERFTE) Apr,
    decode (MONTH, 'MAY-08', WCSSIOPERFTE) May,
    decode (MONTH, 'JUN-08', WCSSIOPERFTE) Jun
    from t
    union all
    Select 'Total Calls Answered per FTE' descr,
    decode (MONTH, 'METRICS', WCSTCPERFTE) MET,
    decode (MONTH, 'JUL-08', WCSTCPERFTE) Jul,
    decode (MONTH, 'AUG-08', WCSTCPERFTE) Aug,
    decode (MONTH, 'SEP-08', WCSTCPERFTE) Sep,
    decode (MONTH, 'OCT-08', WCSTCPERFTE) Oct,
    decode (MONTH, 'NOV-08', WCSTCPERFTE) Nov,
    decode (MONTH, 'DEC-08', WCSTCPERFTE) Dec,
    decode (MONTH, 'JAN-08', WCSTCPERFTE) Jan,
    decode (MONTH, 'FEB-08', WCSTCPERFTE) Feb,
    decode (MONTH, 'MAR-08', WCSTCPERFTE) Mar,
    decode (MONTH, 'APR-08', WCSTCPERFTE) Apr,
    decode (MONTH, 'MAY-08', WCSTCPERFTE) May,
    decode (MONTH, 'JUN-08', WCSTCPERFTE) Jun
    from t
    union all
    Select 'ADSL Orders per FTE' descr,
    decode (MONTH, 'METRICS', WCSADSLPERFTE) MET,
    decode (MONTH, 'JUL-08', WCSADSLPERFTE) Jul,
    decode (MONTH, 'AUG-08', WCSADSLPERFTE) Aug,
    decode (MONTH, 'SEP-08', WCSADSLPERFTE) Sep,
    decode (MONTH, 'OCT-08', WCSADSLPERFTE) Oct,
    decode (MONTH, 'NOV-08', WCSADSLPERFTE) Nov,
    decode (MONTH, 'DEC-08', WCSADSLPERFTE) Dec,
    decode (MONTH, 'JAN-08', WCSADSLPERFTE) Jan,
    decode (MONTH, 'FEB-08', WCSADSLPERFTE) Feb,
    decode (MONTH, 'MAR-08', WCSADSLPERFTE) Mar,
    decode (MONTH, 'APR-08', WCSADSLPERFTE) Apr,
    decode (MONTH, 'MAY-08', WCSADSLPERFTE) May,
    decode (MONTH, 'JUN-08', WCSADSLPERFTE) Jun
    from t
    GROUP by descr
    Frank

    Borg Species 5618 wrote:
    Having trouble passing multiple values to another page via a popup SQL report
    But when I want to pass another value, all goes bonkers and instead of the value of the field being passed the literal text is passed.
    can someone look at my code below and see what may be wrong
    Select '<a href="javascript:popUp2('''
    || 'f?p=&APP_ID.:950:&SESSION.::&DEBUG.::'
    || 'P950_TYPE,P950_CODE:'
    || descr, Met
    || ''', 790, 460);"style="color:darkred; font-weight: bold;font-size: 90%">'
    || descr
    || '</a>' "Note"
    Hi Frank,
    You should close this parameters with single quotation. Try this -
    Select '<a href="javascript:popUp2('''
    || 'f?p=&APP_ID.:950:&SESSION.::&DEBUG.::'
    || 'P950_TYPE,P950_CODE:'
    *|| 'descr, Met'*
    || ''', 790, 460);"style="color:darkred; font-weight: bold;font-size: 90%">'
    || descr
    || '</a>' "Note"
    Hope this helps.
    Regards,
    M Tajuddin
    http://tajuddin.whitepagesbd.com

  • Passing multiple values to another page

    I am somewhat new to Coldfusion 9 in a IIS platform through Dreamweaver CS4 and could use some direction.  I am working on a form where someone has submited a request for approval.  The user has requested a bulk approval button for all users that fall under certain filter conditions to do a mass approve ( setting the value to 1).  I have not been able to either pass the values to the current approval method or approve them on the existing page.  Below is the coding for the page as I have it.
    After the filter has applied I need to get the values of the #qRecords.VR_Machine_Participant_Activity_Login_ID# and have them all approve as apposed to doing them individually which they are doing now.  I have looked at several methods, but they are not meeting my needs.  Some information cut for space but left the form action.
    <form name="form1" method="post">
        <table width="996" border="1">
         <tr class="ReportColumnHeadingSmall">
          <td width="150">Approval Needed</td>
          <td width="100">Approved</td>
                            <td width="180">Business Unit</td>                    
         </tr>
         <tr class="data0Small">
          <td>
           <select name="cboApprovalRequired" class="smallFont">
            <!---<option value="All">All</option>--->
                     <option value="1"
             <cfif isDefined("vApprovalRequired")>
              <cfif vApprovalRequired eq 1>
                selected
              </cfif>
             </cfif>
            >True</option>
                     <option value="0"
             <cfif isDefined("vApprovalRequired")>
              <cfif vApprovalRequired eq 0>
                selected
              </cfif>
             </cfif>
            >False</option>
           </select>
          </td>
          <td>
           <select name="cboApproved" class="smallFont">
            <!---<option value="All">All</option>--->
                     <option value="1"
             <cfif isDefined("vApproved")>
              <cfif vApproved eq 1>
                selected
              </cfif>
             </cfif>
            >True</option>
                     <option value="0"
             <cfif isDefined("vApproved")>
              <cfif vApproved eq 0>
                selected
              </cfif>
             </cfif>
            >False</option>
           </select>
          </td>
                              <!--- Drop down showing the current available units to choose from --->
                             <td>
                       <select name="cbo_BusUnit" id="cbo_BusUnit">
                            <cfoutput query="qBusUnit">
                             <option value="#qBusUnit.BusinessUnit#"
                            <cfif (isDefined("vBusUnit") AND vBusUnit is qBusUnit.BusinessUnit)>selected                               </cfif>>#qBusUnit.BusinessUnit#</option>
                              </cfoutput>
                            </select>
                          </td>
    <!--- This is where I'd like to mark the items for approval. --->
                            <td><input type="submit" name="Submit" value="Apply Filter">
                            </td>                       
          <td width="450" align="right">
            This will approve all records displayed on the current page.
                              <input name="bVr_id" type="button" value="Approve">
      <cfoutput query="qRecords"><a href=   "vr_participantactivityapproval.cfm?participant=#qRecords.VR_Machine_Participant_Activity _Login_ID#">
        <img src="../Images/switch_user.gif" alt="Approve" width="16" height="16" border="0"></a>
        </cfoutput>
    </td>
         </tr>
         <tr class="ReportColumnHeadingSmall">
                         <td colspan="3" height="20"></td>
                        </tr>
        </table>
    <table width="996" border="1">
    <tr class="ReportColumnHeadingSmall">
        <td></td>
        <td>Machine or<br>Activity Type</td>
        <td>Activity</td>
        <td>Comments</td>
        <td>Oper.<br>ID</td>
        <td>Name</td>
        <td>Approved</td>
        <td>Login Status</td>
        <td>Login Date Time</td>
        <td>Minutes</td>
    </tr>
    <cfoutput query="qRecords">
    <tr class="data#Int(qRecords.CurrentRow MOD 2)#Small">
    <td>
                        <!--- Current method of approving them individually. --->    
    <a href="vr_participantactivityapproval.cfm?participant=#qRecords.VR_Machine_Participant_Act ivity_Login_ID#"><img src="../Images/switch_user.gif" alt="Approve" width="16" height="16" border="0"></a>
      </td>
      <td class="SmallFont">#qRecords.ActivityType#</td>
    <td class="SmallFont">#qRecords.Activity#</td>
        <td class="SmallFont">#qRecords.Value_Nvarchar#</td>
    <td class="SmallFont">#qRecords.VR_Department_Number#</td>
    <td class="SmallFont">#qRecords.FullName#</td>
    <td class="SmallFont"><cfif #qRecords.Approved# IS 0>False<cfelse>True</cfif></td>
        <td class="SmallFont">#qRecords.Login_Status#</td>
        <td class="SmallFont">#DateFormat(qRecords.Login_Date, 'ddd mm/dd/yyyy')# #TimeFormat(qRecords.Login_Date, 'H:mm')#</td>
        <td class="SmallFont">#qRecords.TotalTime#</td>
    </tr>
    </cfoutput>
    </table>
        </form>

    I suggest displaying all the potential approvees as checked checkboxes.  The user can then uncheck as many as he wants.

  • Passing the values to another page.

    Hi all,
    In the first column of the report is radio buttons
    After selecting the radio button of a row and pressing the button view, has to go the next page where i can view the full details of the row.
    How i should pass the values of the selected row in the view button.
    In other words
    How to refer the report items when pressing a button.
    For eg:
    If i say in URL Target like.....
    javascript:redirect('f?p=&APP_ID.:3:&SESSION.:DISPLAY:NO::P3_ACC_NO:' +#id#+)
    if i put #id# the value is not appearing..
    Could any one please guide me ?
    Thanks in advance
    bye
    Srikavi

    Hello,
    >> only if it is the primary key as you mentioned it is appearing.but, if i put an non-pk column it is not appearing.
    I’m not sure what you mean by that. The onclick event will always set your hidden item according the any database column. In my example it’s ‘empno’, but I don’t see any reason to use any other column in the row. Anyway, the reason to use PK as the passes parameter is that with the PK you can retrieve the entire record on your next page, and use any column you need from the record.
    If I misunderstood you’ please be more descriptive about the problem.
    Regards,
    Arie.

  • Passing column values to another tab if check box selected in that row

    Hi
    I have the following requirement.
    I have a table that gets populated by a web service. Have added one more field to it which is a check box. Th requirement is that I need to pass the values of column (say id) from each row which has it's check box selected, as input parameters to a web service in another tab.
    example: table has fileds id, name, address,checkbox. If there are 5 rows and the user select 1 and 2 then I need the ids of 1 and 2 to be passed to another tab.
    Is this possible  ........
    Thanks

    Hi
    I just don't want to make multiple selection but pass the values of a column from the selected rows to another tab to be used as input parameters to a web service.
    I want to know how to pass the values(of one filed) of the selected rows across tabs/switches.
    Thanks

  • Pass report values to another dashboard?

    HI all,
    I have two reports say, Report1, Report2 in a Dashboard. Report1 is in one page and Report2 in another page of that dashboard.
    Say Report2 has these columns.
    gl company |||||||| gl account |||||||||||product||||||||||||||| balance
    User has to click on any product value in this report and then, it should take the user to another report Report3 in another dashboard(or same dashboard). BUT, Report3 is from a different fact than Report1, Report2.
    When the user clicks on Product values of Report2, the corresponding gl company, gl account, product values must be passed on to REPORT 3 (they act as criteria for Report 3) How can we pass on these values to REPORT3 which is based on another fact?
    I can use "navigation" But, that passes the values to report3 ONLY if that is based off the same fact as of the other two reports.correct?
    Btw I am using OBIEE 10.1.3.4.1

    I was using this link for the Go URL .
    I have used this code for "Product" field of REPORT 2.
    '<--a href=http://localhost:9704/analytics/saw.dll?GO&
    path=/shared/Development/Report3
    &Action=Navigate
    &P0=1
    &P1=eq
    &P2="Fact - Table1"."product"
    &P3='||" Fact - Table2"."product"||'
    style="text-decoration:none;">'
    ||
    '<--/a>'
    I have used text -decoration : none attribute too. But I am unable to see any values in PRODUCT column in REPORT2. It is BLANK
    One more thing is that, I tried replacing the spaces in table name by %20 in the above code. But it was throwing an error. hence I had to keep it as it is.
    Any idea why it wouldn't show me the product values?
    Any help appreciated. Thanks,

  • Passing checkBox value to another servlet

    hey! there,
    I am pretty new for java servlet. I am having trouble for passing the name of the checkbox in another servlet.
    The situation goes like this.
    I have a page where dynamically checkboxes are created based on the number of accounts associated with the user in the database. I have pulled out the information from the database to display in the table where one column is for check box. Now I have to pass the name of the checkbox to the another servlet where I have to ckeck whether the check box value is false or true.
    If the number of check box is static, I could have given the specific name which can be passed to the next servlet easily but the I don't know how many checkbox it comes up in the table.
    Since I am new to Java, I could not figure out how to name that ckeckbox in the page and pass it to the another servlet page.
    Note that the pages are entirely Servlet.
    Any help would be heartly, appriciated

    hi beg,
    One way to this is
    Servlet code
    for i = 1 to noOFUSers
    String x = "<INPUT TYPE=CHECKBOX NAME='user' "+i "
    "put x in screen
    The HTML generated should post to 2nd servlet
    IInd servlet code
    Enumeration paramNames =
    request.getParameterNames();
    while(paramNames.hasMoreElements()) {
    String paramName =
    (String)paramNames.nextElement();
    if(!paramName.startsWith("user"))// same string as
    checkbox name
    continue;
    }else{
    String paramValue =
    request.getParameterValue(paramName);
    / do u r processing on paramValue
    }Another way is to use the same name attribute for all of them
    <INPUT TYPE=CHECKBOX NAME='user' >Then, at the second servlet, call
    String[] users = request.getParameterValues("name");and iterate over the string array.

  • Passing character value to another in WAD 7.0

    Hello
    I have a WAD 7.0 template with two queries.
    The first query has characteristics Sales district, Sales org, sales person and signee.
    The second query has sales person, signee, commission, sales district,.
    Signee can also be a Sales person.
    I want to pass the value of Signee in the first query to Sales person in the second query.
    Eg -
    When the first query runs, I may get Sales person "Bob" and signee "Paul"
    I want to be able to drilldown to the second query by looking for the value "Paul" in field Sales person in the second query and display those results.
    Is this possible in WAD, or would I have to do it on the queries itself?
    Thanks
    K.

    Hi,
    Create the characterstic variable with replacement. Here replace the singnee with    
    required objcet in query 2.
    In RRI use transaction code RSBBS abd give the sender and receiver queries.
    I hope this helps you.
    Prasad

  • How can I pass the value to another frame?

    Hi all,
    The following is part of my coding of a frame. Once i click on the jButton2, the selected value will be stored into a variable named NAME and the value will be displayed by a label in same frame. At the same time, a new frame named TESTING3 will be set to visible.
    private void jButton2ActionPerformed(java.awt.event.ActionEvent evt)
    // TODO add your handling code here:
        String name = (String)jList1.getSelectedValue();
        jLabel1.setText(name);       //display the value in a label in same frame
        new testing3().setVisible(true);     //a new frame set to visible
    }      Question: How can I pass the value to TESTING3 frame and display it on that frame?
    Thanks,
    ning.

    just make an archive that save that variable and them get them from de clase were you save it
    public class sav {
    String n;
    public sav {
    n="";
    public void addn(String x){
    n=x;
    public String shown(){
    return n;
    and them save it from the frame
    sav sun = new sav();
    sav.addn(f);
    them call it from the other frame
    sav sin = new sav();
    String s = sin.shown();
    label.setText(s);
    and i think thats you want to do if its not please explain me better
    bye

  • Passing function value into another procedure

    Hi
    From this package the value returned by the function " FIRST " needs to pass into another procedure as parameter in the same package, how could i do that in a better way.Oracle Version 8.1.7.4.0.
    CREATE OR REPLACE package body PKG_CUST_CHECK is
    FUNCTION FIRST(P_PARMS in varchar2) return varchar2 is
    l_parms varchar2(62) := P_PARMS;
    BEGIN
    SECOND(l_parms);     
         return(l_parms);     
    END;
    PROCEDURE SECOND(P_PARMS in out varchar2) is
    L_CUST Varchar2(30);
    BEGIN
    SELECT P_CUST INTO L_CUST FROM TABLE_A WHERE ROWNUM=1 ;
    THIRD(P_CUST in VARCHAR2,
    P_PARMS_VALID out VARCHAR2,
    P_OK_FOR_CUST out VARCHAR2,
    --Here the output of the above procedure will be concatinate and Return ;     
    END CUST_CHECK;
    end PKG_CUST_CHECK ;
    Thanks

    sorry for the confusion, not sure whether it will be clear enough.
    the requirement is function "FOURTH" should get the value returned
    by the function "FIRST" as in parameter value.
    [ code ] CREATE OR REPLACE package body PKG_CUST_CHECK is
    FUNCTION FIRST(P_PARMS in varchar2) return varchar2 is
    l_parms varchar2(62) := P_PARMS;
    BEGIN
    SECOND(l_parms);     
    return(l_parms); --here the value which is returning is updated one by the THIRD procedure       
    END;
    PROCEDURE SECOND(P_PARMS in out varchar2) is
    l_parms varchar2(62) := P_PARMS;
    BEGIN
    --the procedure THIRD will get the parameter values after
    --extracting the values from l_PARMS by another function EXTRACT
    THIRD(P_CUST in VARCHAR2,
    P_PARMS_VALID out VARCHAR2,
    P_OK_FOR_CUST out VARCHAR2,
    return;                    
    --Here the output of the above procedure will be concatinate and Return ;     
    END CUST_CHECK;
    FUNCTION FOURTH(P_PARMS in varchar2) return varchar2 is
    l_parms varchar2(62) := P_PARMS;
    BEGIN
    --the procedure FIFTH will get the parameter values after
    --extracting the values from l_PARMS by another function EXTRACT
    FIFTH(P_CUST in VARCHAR2,
    P_PARMS_VALID out VARCHAR2,
    P_OK_FOR_CUST out VARCHAR2,
    return;                    
    --Here the output of the above procedure will be concatinate and Return ;     
    END CUST_CHECK;
    end PKG_CUST_CHECK; [ /code ]

  • AIX 5.2 : how to pass password value while creating a user on AIX server

    Hi ,
    Test connection is successful with AIX server , I can successfully create a user on AIX server, with defualt password.
    I am not passing the any password value still some default value is being populated for the user...
    In AIX while creating the user , use get force to set the password...
    But while configuring the schema for AIX adapter ...if password attribute is given then it will give the error
    as invalid attribute...while creating a user if password value pass...
    how to set the password for the user..what attribute need to set for the password .
    thanks ..

    The default password might be the IdM account password of the user you are trying to provision. You don;t need to keep password in the resource schema. Just set password.password and password.confirmPassword and select AIX resource for password reset. Check the workflow-form-views document for more information on password view.

  • Hide indicator will not pass a value to another vi

    I have a vi that I do not want the people to see or manipulate. On the front pannel I select hide indicator. When I run the application, it loads the local variables up and pass it to another vi. When the indicator is hidden, no data is passed. When I unhide the indicator, the value is passed. When I try to trace the hidden variable, it will sometimes be set properly.
    Is there a limitation when you set indicators to hide?

    What is your LabVIEW version?
    LabVIEW Champion . Do more with less code and in less time .

  • Pass datagrid values to Another DataGrid

    Is it possible to pass values from one datagrid( lets call it A) to another Datagrid (B) without using datagrid's A dataprovider? if so how?
    The reason for this is because datagrid A data provider,  an array collection, starts out 'empty' but fills once i execute a function to add items into the array collection
    More info:
    DataGrid A is actually a shopping cart that fills with book data once i click 'add to cart' button. the book information is transferred into an arrayCollection, with is the dataProvider for the shopping cart

    You want to know if you can access the DataGrid values in other ways then by accessing its data provider collection?

  • Passing the values to another pgm

    Hi,
      I need to transfer the values from one pgm to another using that have to do further processing.How to do it?Plz help

    Hi,
    To transfer values to Selection screen of another program use
    SUBMIT programname_2
    with S_selection field1_prm2  EQ valuefrom_prg_1
    with S_selection field2_prm2  EQ valuefrom_prg_1
    To use the a value from one  program to another program use
    EXPORT and IMPORT
    EXPORT itab_data TO MEMORY ID 'mtab'.
    IMPORT itab_data FROM MEMORY ID 'mtab'.
    give the same declaration for the table itab_data in program2.
    No need to declare mtab
    This will work
    Thanks
    Edited by: jeevitha krishnaraj on Apr 7, 2009 2:34 PM
    Edited by: jeevitha krishnaraj on Apr 7, 2009 2:37 PM

  • BEx WAD - How to pass filter values to another Web template

    Hi,
    I have a scenario here...
    Web Template 1:
    - Filter options, Filter on Characteristics
    - Button, this button calls Template 2 sending the parameters selected vía URL to filter the report.
    Web Template 2:
    - Tables and graphs
    Values selected in the Filter of Template 1 and using javascript it should generates a URL, which filters the second template i.e. Web Template 2.
    Can anyone please share javascript to achieve this...
    -Anil

    Hi Anil,
    I tried this and could not get it to work.  so if you find away through Java script then I would be very interested.
    There is an option called TRANSFER_STATE which supposedly lets you pass variable names in  this scenario but I could not get it to work.
    In the end I created one template with all graphs etc.  When you click the button to show the other template all tables and graphs in template 2 are shown and everything from web template 1 is hidden.  This worked fine.
    Cheers,
    Nick.

  • Default value from another table - sql query

    I'm trying to make the default value of a text item as the result from an sql or pl/sql statement. I keep getting errors when I try to use a pl/sql statement to do this. Has anyone else done this?

    OK, here is what I tried to put in. I have a form and I wanted to add a text field that is derived from another table, such as:
    select question from qa_main where seq=:quest_num
    So, what I want is to have a form where questions on tests are answered, and I want the text of the question to be brought over from the question table. I'm not sure if I'm using the correct syntax, but the ":quest_num" would be a reference to a question number in the answer table that is linked to the sequence number (primary key) in the questions table.
    Of course if there are better ideas, please let me know. :)

Maybe you are looking for

  • Issue with Apex and IE , losing data for items on submit

    Hi All, I am facing one problem in APEX when i run my page on IE 8. When i submit the page i lose the data for all my items while the same does not happen on Firefox mozila and Google chorme. Actually i have one select list which has one dynamic acti

  • How can i see topics of many tabs in list like firefox 3.6 ?

    i want to see only topic of tabs but i always open more than 50 tabs. so i couldn't see detail of each tab when open new tools that show full windows. and one more question when firefox 4 is running it use amount of ram more than firefox 3.6 or not ?

  • How do i troubleshoot my infrared receiver on my macbook pro?

    I have a working apple remote that I used on my previous macbook pro (early '08 model) that i'm trying to use on my new macbook (late 2011 model) and it doesnt seem to pair. I have ensured the remote is in working order by testing the battery, detect

  • ABAP OO Doubt - validate call method.

    Hi experts I'm beginer in ABAP OO and i created this code : output-cep = ch_adrc_struc-post_code1.              TRY.                  CREATE OBJECT lr_cep.                CATCH cx_ai_system_fault .              ENDTRY.              TRY.              

  • How to pass import parameter it_header_guid to FM CRM_ORDER_READ

    Hi, I have an internal table with only one field GUID of type CRMT_OBJECT_GUID. Now I need to pass this into the import parameter of the FM CRM_ORDER_READ. I tried in many ways but getting a type conflict error. <removed_by_moderator> Thanks, Madhuri