How can i select multiple values form select list
Hi ,
I have created few items in a page and all items are Lov items and based on these items stacked charts will display. My requirement is I need to select multiple values form LOV's
Eg: In Interactive report goto filter and select an item and expression as IN and select multiple items and i need to select multiple values like this.
Please anybody help me how to get multiple values.
I have one more doubt Can we have a Print preview option in APEX.
I have to see print preview for stacked charts. is it possible?
Regards
Narender B
HI ,
Thank you for valuable information and looks good.but Here our client need to select multiple values.... for eg: Open IR report and click on Actions button --->select filter
select any column , operator as IN and from expression select multiple items.
I need to select multiple values in that way so, could you please guide me how can i achieve this.
Regards
Narender B
Similar Messages
-
How can I return multiple values with PL/SQL Web Services
Hi,
I'm new to developping Web Services. I'm doing some tests with JDeveloper and OC4J on my local machine with a Web Services based on a PL/SQL function within a package. Right now that function only returns one value. So the xml response only has one output.
I'd like to know how can I return multiple values with my PL/SQL Web Service. For example, if I want to return an employee's name and id? And that the xml contains two output : <employee>, <empid>?
Reginald
ps : I have searched the forum and I couldn't find an answer to this question, if that has been discussed AND answered before, can you please post the link? ThanksAlright, I actually found my answer. Since this was asked I think as a followup somewhere else I'll give my answer.
It is very simple, all you have to do is create an Object Type and then Return that object type. After that, JDeveloper will take care of everything and you will have an xml response with multiple values. Here
{color:#ff0000}
create or replace TYPE person AS OBJECT
( id_interv number,
first_name VARCHAR2(50),
last_name VARCHAR2(50),
date_birth date
);{color}
Then your function used in your Web Service should look something like this :
{color:#ff0000}
function info_emp (p_empno IN VARCHAR2) RETURN person AS
l_emp person := person(-1,'','','');
BEGIN
SELECT first_name
,last_name
,emp_no
INTO l_emp.first_name
,l_emp.last_name
,l_emp.emp_no
FROM emp
WHERE upper(emp_no) = upper (emp_no);
{color}
{color:#ff0000}
RETURN l_emp;
EXCEPTION WHEN NO_DATA_FOUND THEN
l_emp := person (-1,'n/a','n/a','n/a');
RETURN l_emp ;
END info_emp;{color}
{color:#ff0000}{color:#000000}After that, this is what the xml response looks like :{color}{color}
<first_name xsi:type="xsd:string">John</first_name>
<last_name xsi:type="xsd:string">Doe</last_name>
<emp_no xsi:type="xsd:string">0250193</emp_no> -
How can I attach multiple filled-form PDFs to the same outgoing email on iPhone/iPad?
How can I attach multiple filled-form PDFs to the same outgoing email on iPhone/ iPad?
This isn't supported in the current version of Adobe Reader on iPhone/iPad.
Shradha -
How can IWD_VALUE_HELP return multiple values, instead of one
Hello expert,
I have requirement to use F4 help to return multiple values to the using WD component. Basically in my main WD component, I have a View where I have a list box, this list box has a F4 assigned to it, clicking on the F4 brings up hte F4 help, in the F4 help, user can select multiple values which should be returned to my main component / view to be displayed in the list box.
I'd implement IWD_VALUE_HELP to create my own F4 help component. However I have difficulty to return multiple values. As I understand there is only way to return data from F4 help to the calling Main WD component / view:
Item_LISTENER->F4_CONTEXT_ELEMENT->set_attribute( name = 'MYATTRName' value = myvalue).
Do you guys know how to archive what is required here?
Thanks
JaysonHello Jayson,
the element reference that is passed into the IWD_VALUE_HELP implementing component is the element of the calling application's context.
Therefore you can use methods like
IF_WD_CONTEXT_ELEMENT->GET_NODE
(to get the parent node of the element) and
IF_WD_CONTEXT_ELEMENT->GET_CHILD_NODE
to get access to other parts of the context.
say for example your value help should populate a pop-in table with multiple entries.
your application allows you to choose a type of ice-cream cone and then to choose the flavour of ice-cream (multi selection)has a structure like:
Context_root
--> List_of_ice_creams (0..n)
>Ice_cream_flavours(1..n)
In the element of list_of_ice_creams you have an attribute "flavour" which links to your value help.
Choosing this value-help should allow you to select multiple flavours, return these and populate them into the sub-node Ice_cream_flavours.
Within your custom value help you can get a reference to the node Ice_cream_flavours by calling the method
lo_flavour_node = IItem_LISTENER->F4_CONTEXT_ELEMENT->GET_CHILD_NODE("ICE_CREAM_FLAVOURS"). You could then populate this in you value help component.
As I mentioned - this isn't great as it means the value help cannot really be used elsewhere as it has a dependency on the structure of the calling context. But that may not be an issue for you.
Hope that helps,
Chris -
How can i pass multiple values by a single variable to EXECUTE IMMEDIATE
Hi All,
I want to pass multiple values for where condition for execute immediate. Something Like this:-
bold
Declare
v_cond varchar(1000);
Begin
v_cond := '''INR','USD'''; --(OPTION 1)
v_cond := 'INR,USD'; --(OPTION 2)
EXECUTE IMMEDIATE 'Delete from table where colm in (:v_cond)' using v_cond;
END;
bold
I am using this into a procedure
Now option 1 gives an error ie a syntax error (; expected or something like that)(I am sorry, i can't tell the exact error here as i am not in the office right now)
and option 2 makes the procedure execute but obviously doesn't delete the records, as it takes the whole as one.
Please Help
Regards
Neeraj BansalSee the links containing examples under
*7. List of values in an IN clause?*
SQL and PL/SQL FAQ
from the SQL and PL/SQL FAQ. -
How can I add new value in a list box in a screen
Hi All ,
In transaction CRMD_BUS2000120 (CRM Server), I need to add one value to the list box. Already 4 values are coming. How can I add 1 more value.
any suggestion is very appreciated.
Thanks & Regards,
Shekar.Hi,
Check you have any exits to do that, if there are no exits then you can Copy the program and change the code.
to add the extra value in list box, you just have to append the new line to the internal table which you are passing to VRM_SET_VALUES FM.
some thing like this..
wa_list-key = sy-tabix.
wa_list-text = itab1-vbeln.
Append wa_list to It_list.
v_name = 'P_VBELN'.
call function 'VRM_SET_VALUES'
exporting
id = v_name
values = It_list
EXCEPTIONS
ID_ILLEGAL_NAME = 1
OTHERS = 2
if sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
Regads
vijay -
How can I get multiple values from form as a list ?
we designed a form , and there are some attributes designed as checkbox , the data in the form is like following :
<xml ......>
<party>11</party>
<party>22</party>
<party>33</party>
</xml>
Is there any easy way to get the parties' data from the xml into a list predefined as a process varible ?
Any help is appreciated !You woudl use a setValue service and use xPath expressions to extract the individual party nodes from the inbound XML and then populate the list with these values.
Paul -
How can i use multiple values in RANK
HI All,
we hav eto display RANK by mutilpe values .
i mean we have sales amount , qty, name we have to dispaly top 20 rank with amount if amount is equal after 6 th rank then second pirority goes to qunatity for remaiing ranks if after 15th rank if quantity also equal then it should rank based on name for remaing ranks is it possible in Obiee 11g?
If we are able to top 20 ranks by amount only then we are no need to worry about remaing values.
like RANK ( Amount , Qty , Name ) ....
Thanks in advance for your time.If yours is OBIEE 11g play with Selection Steps you will get that fixed easily the following blog will give you an idea
Rittman Mead Consulting &raquo; Blog Archive &raquo; Oracle BI EE 11g &#8211; Filters &amp; Selection…
Thanks
NK -
How can I return multiple values using Oracle 9i Web Services ?
Hi, Is it possible to return multiple parameters using WebServices in general ? And if yes, how do we do it using Oracle 9i WebServices ?
At my client usually I call
return_value = SoapClient.MehtodName(param1, param2, param3)
If i need more than one return_value...how do we handle that ?
Thanks,
-KrishnaAnyone has any ideas about this ?
And also if i want a collection in one of the input parameters...how to do that ?
Does Oracle WS have any such support ? Or we have devise our own way like sending it by separators or something like that ?
Thanks,
Krishna -
Select multiple value in a where clause
hello,
im using developer 2000.
suppose I have several values in a data grid. I want to use all of them in a where clause using IN operator or something. anybody knows how to do that. what I do is always insert all values in the grid into a temporary table and use that table in the where clause. is there any other easy, effective way of doing that?
select *
from table1
where category in (-- I want to select multiple values form a data grid here--)
thanks in advance.
bonny.Hello Bonny,
You might consider the use of PL/SQL Collection Types
The first step in the process is to create a type and a table of that type.
CREATE OR REPLACE TYPE DateType IS OBJECT ( Arg1 DATE );
CREATE OR REPLACE TYPE TableList IS TABLE OF DateType;
DECLARE
list1 tablelist;
BEGIN
SELECT datetype (arg1)
BULK COLLECT INTO list1
FROM table1;
FOR c1 IN (SELECT arg1
FROM TABLE (CAST (list1 AS tablelist)))
LOOP
---- Your code -----;
END LOOP;
END;
For further insight please refer: http://download.oracle.com/docs/cd/B10501_01/appdev.920/a96624/05_colls.htm
Regards. -
Can i get multiple records if selection screen is 900 using PROVIDE
Hi All,
Iam using following statement for fetching MULTIPLE records from infotype 0008. In Attributes if i declare LDB as pnp and selection screen as 900, then iam not getting any records.
Instead of th selection screen 900 is empty. then records will getting properly.
How can i get multiple records if selection screen is 900?
PROVIDE * FROM p0008
between pn-begda and pn-endda.Hi Ranjith
You can use
PYBEGDA and PYENDDA instead of PN-BEGDA AND PN-ENDDA.
Regards
Muneer.VK -
How to select multiple values from the parameters in BI Publisher report
How to select multiple values from the parameter drop down in BI Publisher, and how to handle this mulitple values from the report sql...
Hi kishore,
I have used all the steps as you mentioned in your previous reply....including checking Mulitple Selection Check Box..
Iam able to get the results when I am selecting one value..
and also I am able to handle multiple values the in the query by using IN :Parameter, but seems when we select more than one value from the parameter drop down i think the Bi Publisher is sending the values in concatenated form something ilke
ex: "'ACCOUNT','HR','SALES'" ,and when trying to display the parameters values in the output, its throwing the error as 'missing right paranthesis' ....on the whole do you have any solution which would handle
1.Single selection.
2.Multiple selection.
3.'ALL' Values.
4.Separating the concatenated string into individual strings and dispaly them on the output of the report..etc..in case of Mulitple selection.
Ex:
Concatenated String from BI Publisher:"'ACCOUNT','HR','SALES'"
Expected Output on the report:ACCOUNT,HR,SALES
reply to this would be much appreciated....
thanks,
manoj -
How can i get all values from jtable with out selecting?
i have one input table and two output tables (name it as output1, output2). Selected rows from input table are displayed in output1 table. The data in output1 table is temporary(means the dat wont store in database just for display purpose).
Actually what i want is how can i get all values from output1 table to output2 table with out selecting the data in output1 table?
thanks in advance.
rajaYou could set the table's data model to be the same:
output2.setModel( output1.getModel() ); -
How to select multiple values from a listbox
Hi,
I have a list box on my UI which is not allowing me to select multiple values
I want to use multi select list box .. When i go to source of UI component and change that to select many listbox my page is not rendering it is giving error
When i drag & drop the component i am unable to drop it as a multi select list box that option is not coming.
I am working on Jdev 11.1.1.3 and I am using ADF/BC components
How to select multiple values from a listbox ?
Thanks,Hi,
I want to use multi select list box .. When i go to source of UI component and change that to select many listbox my page is not rendering it is giving errorank
And what is the error ?
Frank -
How to select multiple values from the Parameters in the concurrent program
How to select multiple values from the Parameters defined in the concurrent program...and i believe multiple selection is not a direct feature of EBS, but is there any workaround solution to acheive mulitple selection?
I think there's no way to do that using standard feature.
Some workaround I use :
1. If the number of selections are fixed, you could use multiple parameters for the same valueset. For example :
Selection1 : <choose first selection>
Selection2: <choose 2nd selection>
..etc.
If you don't use it then leave it empty.
2. Use text varchar valueset and enter it manually and separate by comma (or other value) , eg : selection1,selection2,selection3....etc.
Maybe you are looking for
-
What do i do when my ipod is recognized by windows but wont be recognized by itunes
my ipod is recognized in windows but not itunes
-
how do we reverse the order of pictures in slideshow?
-
ITunes/iPod is set to automatically convert MP3s to QT
My iTunes/iPod is set to automatically convert MP3s to QuickTime, and I don't want it to do that. All I want to do is transfer TRUE MP3 files without the conversion, but I'm not sure where the settings are, and on which device, that's doing the conve
-
Pasting Multi Instrument Names
Copy All Names/Pasting All Names in Multi Instruments pastes to the wrong bank from time to time although the correct bank has been selected. Anyone else experienced this problem?
-
Presentation server date modification
hi friends.. i want to change the presentation server date for test case.. can you guide me how to change ? where can i change ? for eg if sy-datum is 1.07.2008 i want this date 30.05.2008 for testing