Query parameter with selectOneChoice in panelFormLayout

hello all :)
i got problem, how to make query parameter with selectOneChoice in panelFormLayout, anyone help me... :(
helep gan.....helep
thx
agungdmt

Hi Frank... :), thx for your response
i have try your solution, but still not work. in this case i'm still confuse with using parameter (bind variable with view criteria) in join table
in this below, query in my project (generate at create view object)
--- [Query] ------
SELECT WhLokasi.LOKASI_ID,
WhLokasi.BARIS_KE,
WhLokasi.DESKRIPSI,
WhLokasi.KOLOM_KE,
WhLokasi.SUBKOLOM_KE,
WhRak.RAK_ID,
WhRak.NAMA,
WhWarehouse.WAREHOUSE_ID,
WhWarehouse.NAMA AS NAMA1
FROM WH_LOKASI WhLokasi, WH_RAK WhRak, WH_WAREHOUSE WhWarehouse
WHERE (WhLokasi.RAK_ID = WhRak.RAK_ID) AND (WhRak.WAREHOUSE_ID = WhWarehouse.WAREHOUSE_ID)
------ [Bind variable] --------
baris : String
kolom : String
subkolom : String
namarak : String
namagudangv : String
------ [View Creiteria] -------
( (WhLokasi.BARIS_KE = :baris ) AND (WhLokasi.KOLOM_KE = :kolom ) AND (WhLokasi.SUBKOLOM_KE = :subkolom ) AND (UPPER(WhRak.NAMA) LIKE UPPER( :namarak || '%') ) AND (UPPER(WhWarehouse.NAMA) LIKE UPPER( :namagudang || '%') ) )
need help gan... :)
thx
agungdmt
Edited by: agungdmt on Dec 16, 2010 6:42 PM

Similar Messages

  • I have SSRS parametarized report in that one data set have repeated values with query parameter . but while am mapping that query parameter to report parameter i need to pass distinct values. How can i resolve this

    I have SSRS parametarized report in that one data set have repeated values with query parameter . but while am mapping that query
    parameter to report parameter i need to pass distinct values. How can i resolve this

    Hi nancharaiah,
    If I understand correctly, you want to pass distinct values to report parameter. In Reporting Service, there are only three methods for parameter's Available Values:
    None
    Specify values
    Get values from a query
    If we utilize the third option that get values from a dataset query, then the all available values are from the returns of the dataset. So if we want to pass distinct values from a dataset, we need to make the dataset returns distinct values. The following
    sample is for your reference:
    Select distinct field_name  from table_name
    If you have any other questions, please feel free to ask.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Expdp error with query parameter

    i am trying to use datapump and using query parameter in there as below...
    but when i use the below, its exporting some system "repcat$" tables and
    nothing realted to scott.audit table or anything realted to my query where
    clause...what am i doing wrong ??
    expdp system
    DUMPFILE=test.dmp
    LOGFILE=test.log
    DIRECTORY=DATA_PUMP_DIR
    TABLES=SCOTT.AUDIT
    QUERY=SCOTT.AUDIT:'"WHERE TRUNC (audit.audit_timestamp)
    BETWEEN TO_DATE ('01012008','DDMMYYYY') AND TO_DATE ('13012008','DDMMYYYY')"'
    also when i use scott instead of system user i get below error
    Export: Release 10.2.0.3.0 - 64bit Production on Wednesday, 22 July, 2009 12:53:45
    Copyright (c) 2003, 2005, Oracle. All rights reserved.
    Password:
    Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production
    With the Partitioning, OLAP and Data Mining options
    ORA-39002: invalid operation
    ORA-39070: Unable to open the log file.
    ORA-39145: directory object parameter must be specified and non-null

    i treid again, but creating a new datapump dir as follows...create or replace dir dpdump as '/backup/dpdump/orcl';
    then gave grant read,write on directory dpdump to system
    and now why is oracle looking at a differnt location ?? even when i changed the
    direcotry ???
    $ expdp SYSTEM
    DUMPFILE=test.dmp
    LOGFILE=test.log
    DIRECTORY=DPDUMP
    QUERY=SCOTT.AUDIT:'"WHERE TRUNC (audit.audit_timestamp)
    BETWEEN TO_DATE ('01012008','DDMMYYYY') AND TO_DATE ('13012008','DDMMYYYY')"'
    Export: Release 10.2.0.3.0 - 64bit Production on Wednesday, 22 July, 2009 13:27:18
    Copyright (c) 2003, 2005, Oracle. All rights reserved.
    Password:
    Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production
    With the Partitioning, OLAP and Data Mining options
    ORA-39001: invalid argument value
    ORA-39000: bad dump file specification
    ORA-31641: unable to create dump file "/oracle/app/oracle/product/10.2.0/admin/orcl/dpdump/expdat.dmp"
    ORA-27038: created file already exists
    Additional information: 1
    $>
    Seems little weird but can you:--
    1. Drop the dpdump directory.
    SQL> drop directory dpdump;
    2. recreate it and then grant the permissions.
    SQL> create directory dpdump as '/backup/dpdump/orcl';
    The folders must exists in the location.
    SQL> grant read,write on directory dpdump to system;
    3. SELECT directory_name, grantee, privilege
    FROM user_tab_privs t, all_directories d
    WHERE t.table_name(+)=d.directory_name
    ORDER BY 1,2,3;
    Anand

  • How to create parameter with multiple selection in a query (SQ02) ?

    Hi Exports
    Do you know how to create parameter with multiple selection in a query (transaction SQ02)?
    thanks.

    Hi
    i know how to create user parameter at SQ02,
    the question is how to create multiple selection parameter?

  • Query String parameter with # in its value

    Hi,
    When I send a parameter in a query string with value that has the hash symbol (i.e #) that parameter when fetched returns null. Why so?
    Eg :
    Page 1 :
    String strTest = "1#2";
    <a href="test.jsp?test=<%=strTest%>">Page 2: test.jsp
    String strTest=request.getParameter("test");
    System.out.println("strTest : "+strTest); // Prints null
    Thanks</a>

    Hi,
    When I send a parameter in a query string with value
    that has the hash symbol (i.e #) that parameter when
    fetched returns null. Why so?
    Its a special character and the url has to be 'rewritten properly.
    >
    Page 1 :
    String strTest = "1#2";
    <a href="test.jsp?test=<%=strTest%>">>
    </a>
    try this
    <%
      String strTest = java.net.URLEncoder.encode("1#2");
    %>
      <a href = "test.jsp?test=<%=strTest%>">test</a>and check the output in your next jsp :)
    ram.

  • Oracle 10g exp error with query parameter

    Hi all,
    I am trying to perform an export but getting this error when using the query parameter. I think it's a syntax problem but not sure where.
    I'm in a dos prompt
    E:\>exp file=xxxxx.dmp log=xxxx.log tables=xxxxx query='where responseid not in (select responseid from aaaa_bbbbb)';
    LRM-00112: multiple values not allowed for parameter 'query'
    EXP-00019: failed to process parameters, type 'EXP HELP=Y' for help
    EXP-00000: Export terminated unsuccessfully
    Thx

    This is why I love this forum so much.
    I've probably done thousands of exports and never used the query parameter.
    Here's something that will help you. Please read and note the requirement to escape, or protect, special characters and such.
    http://download.oracle.com/docs/cd/B10501_01/server.920/a96652/ch01.htm
      exp scott/tiger TABLES=emp QUERY=\"WHERE job=\'SALESMAN\' and sal \<1600\"ji li

  • Error while trying to choose query parameter Inconsistent input paramete

    I got error on PRD while trying to choose parameter before executing BEX query:
    101 Inconsistent input parameter (parameter: <unknown>, value <unknown>)
    100 Program error in class SAPMSYY1 method: UNCAUGHT_EXCEPTION
    Notes:
    the same functionality works fine in DEV environment.
    the other parameters on query in PRD work fine
    the parameter  with error based on custom hierarchy
    P.S. I heart BEx :]

    Hello,
    This problem has been solved before with notes 1236774, 1151320 & 1264213.
    Please check.
    Thanks,
    Michael

  • SOAP web service: query parameter?

    Hi guys,
    I'm a newbie when it comes to web services and I've hit a problem that I didn't expect. I've exposed several SOAP services using the JAX-WS and WebLogic which are working fine. I've tried implementing an access key security mechanism such as Amazon does by adding a filter in front of the service's handling servlet to check for an access key sent as an HTTP query parameter. So basically, the service that was exposed at the following URL:
    http://localhost/company/service
    must now be accessed using the following URL:
    http://localhost/company/service?accessKey=123
    The filter checks the accessKey parameter and short-circuits the request if the wrong access key is sent.
    While this approach works well with JAX-RS web services, it doesn't seem to be working as well with JAX-WS web services: adding the parameter makes WebLogic return a 404 error instead of processing the request. I'm convinced I've seen web services being called with query parameters and that this can be done, but I don't see how. Any ideas anyone?
    Cheers!

    It seems that the servlet generated by Workshop doesn't handle extra parameters too well. I've managed to get it working by tweaking the filter so that it lets WSDL retrieval requests pass through but still filters the other requests. Everything is working fine.

  • Multiple select parameter with each selected value covering multiple sub values

    Hello, everyone,
    In my SSRS report, I need to set a multiple select parameter called Group, with values: group1 group2, etc....
    When group1 is selected, it needs to apply to data of certain sub groups: sub-group1, sub-group2;
    When group2 is selected, it needs to apply to data of different sub groups: sub-group3, sub-group4 and sub-group5;
    when both group1 and group2 are selected, then, it needs to apply to data of sub-group1 to sub-group5.
    I know how to do it when only one group is selected: simply use a case statement in the query to select the right sub groups based on the group selected.
    But I don't know a good way to do it when multiple groups are selected.
    Any help, pointers are much appreciated. Thanks in advance!
    Regards

    Hi QQFA,
    If I understand correctly, there are two parameters (Group and Sub_group) in the report. When we select group1 in Group parameter, it will auto select sub-group1, sub-group2 in the Sub_group parameter; when we select group2 in Group parameter, it will auto
    select sub-group3, sub-group4 and sub_group5 in the Sub_group parameter; when we select both all, it will auto select all sub_group values. If I have misunderstood, please don't hesitate to let me know.
    In this scenario, we can create a temporary table with Group and Sub_group columns, then select Sub_group column values based on the Group field. For more details, please see:
    Create a dataset with the query below:
    CREATE TABLE #temp([group] nvarchar(50),sub_group nvarchar(50))
    INSERT INTO #temp VALUES     ('group1','sub-group1'),('group1','sub-group2'),('group2','sub-group3'),('group2','sub-group4'),('group2','sub-group5')
    SELECT * FROM  #temp
    where [group]  in (@Group)
    Set available values and default values of Sub_group parameter with get values from the sub_group field in the new dataset.
    Note that the two parameters are all multiple parameters.
    If there are any misunderstanding, please elaborate the issue for further investigation.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • SSRS countrow Aggregate error(Aggregate and lookup functions cannot be used in query parameter expressions.)

    Below expression works fine with text box but gives error in dataset expression.
    ="SET FMTONLY OFF select  "+ join(Parameters!Column.Value,",") +" FROM pamcustom.dbo.vw_HFL_HFD_HotfileData INNER JOIN pamcustom.dbo.HFL_HFB_HotFileBatch  on BatchID = HFB_intBatchID where BatchID ="+Parameters!BatchId.Value+"
    and "+Parameters!cmbTranType.Value+" "+ iif(CountRows("DS_Aml_Mnr_Iss_Desc")=Parameters!Mnr_Iss_Desc.count," "," and aml_mnr_iss_desc in "+"('" & join(Parameters!Mnr_Iss_Desc.Value,"','")
    & "')")+iif(CountRows("ds_ReportingCategory")=Parameters!ReportingCategory.count," "," and ReportingCategory in "+"('" & join(Parameters!ReportingCategory.Value,"','") & "')")+iif(CountRows("ds_NAICSubGroup")=Parameters!NAICSubGroup.count,"
    "," and naicsubgroup in "+"('" & join(Parameters!NAICSubGroup.Value,"','") & "')")+iif(CountRows("ds_PortTrading")=Parameters!PortTrading.count," "," and porttrading in "+"('"
    & join(Parameters!PortTrading.Value,"','") & "')")+iif(CountRows("ds_GL_LE")=Parameters!GL_LE.count," "," and gl_le in "+"('" & join(Parameters!GL_LE.Value,"','") &
    "')")+iif(CountRows("ds_coagroup")=Parameters!cmbCoaGrp.count," "," and coagroup in "+"('" & join(Parameters!cmbCoaGrp.Value,"','") & "')")+iif(CountRows("Portfolio")=Parameters!cmbPort.count,"
    "," and portfolio in "+"('" & join(Parameters!cmbPort.Value,"','") & "')")+IIf(IsNothing(Parameters!txtSecID.Value)," "," and secid in ('"+Replace(Parameters!txtSecID.Value,",","','")+"')")+iif(IsNothing(Parameters!minPortFilter.Value)
    and IsNothing(Parameters!MinPort.Value)," "," and portfolio "+Parameters!minPortFilter.Value+Parameters!MinPort.Value)+iif(IsNothing(Parameters!maxPortFilter.Value) and IsNothing(Parameters!MaxPort.Value)," ","
    and portfolio "+Parameters!maxPortFilter.Value+Parameters!MaxPort.Value)+iif(IsNothing(Parameters!minCoaFilter.Value) and IsNothing(Parameters!txtMinCoa.Value)," "," and portfolio "+Parameters!minCoaFilter.Value+Parameters!txtMinCoa.Value)+iif(IsNothing(Parameters!maxCoaFilter.Value)
    and IsNothing(Parameters!txtMaxCoa.Value)," "," and portfolio "+Parameters!maxCoaFilter.Value+Parameters!txtMaxCoa.Value)
    I guess the error " Aggregate and lookup functions cannot be used in query parameter expressions." is because I am using CountRow to ensure that if all values of multi select all selected i will not use that filter in where clause.
    Pls. guide...

    Hi, Include your parameter total count in the dataset for parameter and instead of using countrows() function use the count from dataset in the expression.
    Hope this helps.........
    Ione

  • Passing query parameter through xcelsius 2011 at run time

    I am using reporting service as a web connectivity and I am trying to pass the query parameter at run time from the dashboard. While executing the xcelsius at first time it is working well with the default value but after passing the parameter from combo box, the data is not loading. It is not returning anything except the field name.
    I am new to this xcelsius. Your help will be really appreciated.
    Thanks.

    Hi,
    if you do the following thing,i think it may be helpfull,
    First select Data in menubar>Connection->select required connection>select the useage option in connection definition window>give  trigger cell value as combo box destination cell.
    Thanks,
    Ramana

  • Multi Value Parameter with ODBC Connection

    Hi Everyone . . .
    I am stuck, and have been since Monday :/ . . .
    Backgroud:
    I am using Report Builder 3.0 with an ODBC connection to build reports off of our Vertica DB.  This part is going swimmingly, thanks to the help I recieved from this forum.
    Now, some of the queries that I am using (or reports I guess) require parameters.  I was attempting the @Parameter and quickly realized this was not possible with the ODBC connection.  I have solved this issue by using the ? as the parameter. 
    Works nicely, not as clean, but serves the purpose.
    Most, all of my parameters to this point have been single value parameters.  Now, however, we are dabbling in allowing our report users to select multiple Users as a parameter.  This is where I am stuck...
    I have flipped the parameter checkbox to "Allow multiple values", I then recieved an error saying this: 
    Cannot add multi value query parameter 'UserName' for dataset 'RankingQuery' because it is not supported by the data extension.
    Here is what I have done:  I have gone to the Dataset properties for the appropriate query that the parameter is being fed into > then to the Parameters tab.  In the Parameters tab instead of selecting the @UserName parameter from the drop down
    I clicked the Fx buttone and inserted the UserName Parameter from there it looks like this: =Parameters!UserName.Value(0)
    Now because of this last step my report runs without error, however, when I select multiple user names from the parameter drop down I only recieve data for the first person selected in that drop down.
    Am I missing something?  Does anyone know how to fix this?  Please help!
    Thanks everyone.
    Travis

    Hi There
    Thanks for your posting. Can you please try this way? Go to your dataset properties and then go to filter tab and add filter like this
    Please choose your dataset filed name from the dataset in which you would like to apply the filter for your parameter
    UserName
    Put operator=in 
    And please put value like= Parameters!UserName.Value
    Please do not put Parameters!UserName.Value(0)
    I hope this will resolve your problem
    Many thanks
    Syed

  • [Forum FAQ]How do I add a search feature in the parameter with long drop down list?

    Introduction
    There is a scenario that thousands of values in the drop-down of a parameter. Scrolling through the large drop down list is slow and cumbersome. Is there a way that we add a search feature in the report, so that it can filter down the values in the drop
    down list to a smaller list of values?
    Solution
    To achieve this requirement, we can add a parameter with multiple keywords ahead, then all of available values which are begin with the keyword will display in the parameter list. In this scenario, we can create cascading parameters. One is a keyword parameter,
    and the other parameter is based on the keyword to display the available values.
    In order to enable the user to type multiple keywords, we can use the query below to create a split function which takes the list and the de-limiter as input parameters and splits all the values in the database:
    CREATE FUNCTION [dbo].[SplitParameterValues] (@InputString NVARCHAR(max), @SplitChar VARCHAR(5))
     RETURNS @ValuesList TABLE
     param NVARCHAR(255)
     AS
     BEGIN
     DECLARE @ListValue NVARCHAR(max)
     SET @InputString = @InputString + @SplitChar
     WHILE @InputString!= @SplitChar
     BEGIN
     SELECT @ListValue = SUBSTRING(@InputString , 1, (CHARINDEX(@SplitChar, @InputString)-1))
     IF (CHARINDEX(@SplitChar, @InputString) + len(@SplitChar))>(LEN(@InputString))
     BEGIN
     SET @InputString=@SplitChar
     END
     ELSE
     BEGIN
     SELECT @InputString = SUBSTRING(@InputString, (CHARINDEX(@SplitChar, @InputString) + len(@SplitChar)) , LEN(@InputString)-(CHARINDEX(@SplitChar, @InputString)+ len(@SplitChar)-1) )
     END
    INSERT INTO @ValuesList VALUES( @ListValue)
     END
     RETURN
     END
    Use the query below create a stored procedure to return all available values for Account parameter:
    create PROCEDURE sp (@keyword nvarchar(50))
    AS
    SELECT     AccountDescription
    FROM         DimAccount d
    inner join (SELECT [param] FROM SplitParameterValues (@keyword,',')) s on d.AccountDescription like (s.[param]+'%')
    In Report Designer, select Stored Procedure as the Query type for DataSet1, then select or type sp in the drop-down list as below:
    By default, there is a parameter named keyword in the Parameters pane.
    Add a multi-value parameter named Account in the report, then select “Get values from a query” option for Available Values as below:
    Report Design and Report Preview surface
    Report Design:
    Report Preview:
    References:
    Create User-defined Functions (Database Engine)
    Adding Cascading Parameters (SSRS)
    Applies to
    Reporting Services 2005
    Reporting Services 2008
    Reporting Services 2008 R2
    Reporting Services 2012
    Please click to vote if the post helps you. This can be beneficial to other community members reading the thread.

    Hmmm. This didn't work. I even re-booted, and Firefox still doesn't show the search engine.
    It was actually an update to an earlier engine, and I foolishly removed the old version rather than just updating it.
    Is there anything elsewhere (eg. the registry) that might be preventing this?

  • How do I clear query parameter in Oracle 10g ADF

    HI ,
    My question is
    1. when i am navigating to page B from Page A its querying data and showing . And I have same Pgae B which is attached to Menu also
    so . How do i trace whether I am comming from menu or comming from Page A ..??
    2. if i moved to page A and searched with some criteria , after then I moved to Page B from Menu , again come back to Page A from Menu
    its retaining the old search criteria in the page . not clearing my search criteria . ( as a result what is happening its not showing the data whatever
    in the Table ) . In order to show my existing data , i need to clear and then again clicking page B in Menu then only its showing the data .
    so how to clear query parameter

    [email protected] wrote:
    HI ,
    My question is
    1. when i am navigating to page B from Page A its querying data and showing . And I have same Pgae B which is attached to Menu also
    so . How do i trace whether I am comming from menu or comming from Page A ..??Add a setActionListner and set a sessionscope variable according to the action?
    >
    2. if i moved to page A and searched with some criteria , after then I moved to Page B from Menu , again come back to Page A from Menu
    its retaining the old search criteria in the page . not clearing my search criteria . ( as a result what is happening its not showing the data whatever
    in the Table ) . In order to show my existing data , i need to clear and then again clicking page B in Menu then only its showing the data .
    so how to clear query parameter

  • Query parameter question

    Hi
    What are the diffrence of the query parameter in following format:
    select * from table_a where row_id=?id
    select * from table_a where row_id=:id
    select * from table_a where row_id=&idThe 1st and 2nd works if I use them as named query from Java (Toplink)
    The 2nd and the 3rd works when I use them from SQL developer. SQL developer will pop up parameter window. but the window looks diffrent with each parameter format.
    What are the diffrences?
    Thanks

    >
    select * from table_a where row_id=?idMust be a Java thing, not SQL or PL/SQL
    select * from table_a where row_id=:idThis is a bindvariable
    select * from table_a where row_id=&idThis is a substitution variable
    Edited by: Alex Nuijten on Jun 17, 2009 5:33 PM
    Edited by: Alex Nuijten on Jun 17, 2009 5:34 PM

Maybe you are looking for

  • Java expression - hot express ArrayIndexOutOfBounds in If Statement

    Hi ! I would like to know how I can express the following correctly: Testcode - just to show what i mean: int[][] testArray = whatever assignments here if (testArray[line][row] != ArrayIndexOutOfBoundsException) .... do stuff here... }As obvious I ba

  • Black rectangle blocking iPad screen

    Recently when my iPad died and I went to charge it, it had a black rectangle (with a few colourful lines through it) appearing on the screen. The rectangle blocks all of the content behind it. I can still use the iPad but this huge rectangle takes up

  • Need information about some address fields in DQXI

    I need to know the 'Content type' and 'Data field name' of the following address fields in DQXi 1. Alley 2.Building 3. HouseNumber 4. HouseSuffix 5. Lane 6. Pob Line 7. PobNumber 8. Section 9. PrefectureCode 10.DistrictName 11.Mail Stop 12. Postal Co

  • No login command was found for 'WebLogic Server 10.3.5.0 - in managed serve

    i am getting following warning when i run my web logic managed server No login command was found for 'WebLogic Server 10.3.5.0 Fri Apr 1 20:20:06 PDT 2011 1398638 Oracle WebLogic Server Module Dependencies 10.3 Thu Mar 3 14:37:52 PST 2011 Oracle WebL

  • Diff between Full qty & target qty

    What's the diff between following B & C in Itm Ctgy: Completion Rule: B- Itm is completed aftr full qty has been referenced C- Itm is completed aftr target qty is fully referenced? Similarly in Billing relevance in Itm Ctrgy: B- Relevant for order- r