How to Identify the count , If multiple parameters are passed using Pipe Delimited string
Hi,
We are passing Pipe delimited string to the parameter and I want to know how many values we are passing to the parameter.
Here is the example
Parameter.Grant: 24|34|54|67
I am using below expression, but it is not giving the right values. Please let me know if I am missing anything or is it possible.
=iif(parameters!Grant.Count>1,"Multiple value selected",parameters!Grant.Value)
Hi NaveenCR,
According to your description, you used pipe delimited multi-value parameter in the report, you want to know how many values passed to the parameter. If that is the case, please refer to the following steps:
In Design view, click Text Box in the Toolbox.
On the design surface, click and then drag a box to the desired size of the text box.
Right-click inside of the text box, then click Expression.
In Expression text box, type the expression like below:
=iif(split(Parameters! Grant.Value,"|").Length>1," Multiple value selected",Parameters!Grant.Value)
The following screenshots are for your reference:
If you have any more questions, please feel free to ask.
Thanks,
Wendy Fu
If you have any feedback on our support, please click
here.
Wendy Fu
TechNet Community Support
Similar Messages
-
How to identify the textbox name if they are generated dynamically
hi
i want to know how to identify the textbox name when they are generated dynamically. the text boxes name may vary.
if u know tell me.
thanxTry the following Code :
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE> New Document </TITLE>
<META NAME="Generator" CONTENT="EditPlus">
<META NAME="Author" CONTENT="">
<META NAME="Keywords" CONTENT="">
<META NAME="Description" CONTENT="">
</HEAD>
<SCRIPT language="Javascript">
function fnShowTextBoxNames() {
var count = document.formHeader.elements.length;
for(i=0;i<count;i++) {
var objType = document.formHeader.elements.type;
if(objType=="text") {
alert("Name Of TEXTBOX NO "+(i+1)+" --> "+document.formHeader.elements[i].name);
</SCRIPT>
<BODY>
<FORM name="formHeader">
<CENTER>
<INPUT TYPE="TEXT" name="box1" value="" >
<br>
<INPUT TYPE="TEXT" name="box2" value="" >
<br>
<INPUT TYPE="TEXT" name="box3" value="" >
<br>
<INPUT TYPE="TEXT" name="box4" value="" >
<br>
<INPUT TYPE="TEXT" name="box5" value="" >
<br><br>
<input type="button" name="btn" value="Show TextBox Names" onClick="javascript:fnShowTextBoxNames();">
</CENTER>
<input type="hidden" name="boxCount" value="5"/>
</FORM>
</BODY>
</HTML>
Hope this suffice ur requirement ! -
How to know the list of reports that are in usage
Hello,
How to know the list of reports that are in use from the last 3 months by the users on Bw server.How basis team will help me in this regard?
Regards,
Anand.Hi,
Pl look at following tables if you need any further detailed information
Table Name Use of the table
RSZELTDIR
Directory of the reporting component elements
RSZELTTXT Texts of reporting component elements
RSZELTXREF Directory of query element references .
To get a list of query elements built on that cube.filter by: OBJVERS = 'A', INFOCUBE= [stage:cubename]
RSRREPDIR
Directory of all reports (Query GENUNIID) .
To get all queries of a cube.filter by: OBJVERS = 'A', INFOCUBE= [stage:cubename]
RSZCOMPDIR Directory of reporting components.
To get query change status (version, last changed by, owner) of a cube.
RSZRANGE Selection specification for an element
RSZSELECT
Selection properties of an element
RSZCOMPIC
Assignment reuseable component <-> InfoCube
RSZELTPRIO Priorities with element collisions
RSZELTPROP Element properties (settings)
RSZELTATTR Attribute selection per dimension element
RSZCALC Definition of a formula element
RSZCEL Query Designer: Directory of Cells
RSZGLOBV
Global Variables in Reporting
RSZCHANGES Change history of reporting components
Thanks and regards -
How to identify a user across multiple pages
Hi,
I'm doing a homebanking and I would like to know how to identify a user across multiple pages.
I have already take a look at HTTPSESSION, but I didn't understand.
Can someone help me.
I'm send the servlet Logon.
import java.io.*;
import java.sql.*;
import java.util.Date;
import java.util.*;
import javax.servlet.*;
import javax.servlet.http.*;
public class Cons_logon extends HttpServlet
private Connection conexao = null;
Login1 login1;
public void init (ServletConfig cfg) throws ServletException
super.init(cfg);
try
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
conexao = DriverManager.getConnection("jdbc:odbc:bank");
catch (Exception e)
System.out.println(e.getMessage());
public void doPost (HttpServletRequest req,
HttpServletResponse res)
throws ServletException, IOException
String Suser, Spassword;
PrintWriter out;
res.setContentType("text/html");
out = res.getWriter();
String opcao = req.getParameter("log");
ThanksI would recommend using the authentication mechanism that's guaranteed by the servlet spec. If you do that, you can just call
request.getRemoteUser()
to get the user name across multiple pages.
If you want to use your own login scheme, you can create a new session object and map it to a user name somewhere in your app. Or you can just put the name of the user on the session. But the preferred way is to use the default authentication scheme defined by the spec. -
How to get the data from multiple nodes to one table
Hi All,
How to get the data from multiple nodes to one table.examples nodes are like A B C D E relation also maintained
Regards,
IndraHI Indra,
From Node A, get the values of the attributes as
lo_NodeA->GET_STATIC_ATTRIBUTES( IMPORTING STATIC_ATTRIBUTES = ls_attributesA ).
Similarily get all the node values from B, C, D and E.
Finally append all your ls records to the table.
Hope you are clear.
BR,
RAM. -
How to make the counter count or start at different time
Hi,
How to let the counter count the time, that doesn't start at the same time ?
This timing system is a sport timing system for canoe competition, it need to track 6 competitor that start at different time .
I have a problem , I have 6 counter in a VI that use to track 6 competitor, but it start count at the same time, how to make it count separately for each competitor ?
Do you guys know how to solve this problem ?
Solved!
Go to Solution.
Attachments:
multi competitor.zip 50 KBHI,
ya, i run it. I mean i know how to make it to 6 competitor already , and yes, it works but the time, it still count or start at the same time. I need to run each competitor at different time , like this competitor A 20-2-2012.VI . This is the one i do but it cant put a stop button. once i put a stop button, the clock stop counting but the whole VI is running.
Regadrs,
Sam
Attachments:
competitor A 20-2-2012.vi 139 KB
3switch 3-2-2012.vi 14 KB -
How to identify the user who created the variant
Hi All,
Can anyone tell me how to identify the user who created the variant ?Hi Dear,
For the same go to SE11 and view the table "VARID". This table give the details of the program,user,variant etc.
From this table u can know which user created the variant. Hope this solve your purpose.
Regards -
How to display the count of a list item in Sharepoint Designer?
How to display the count of a list item in Sharepoint Designer? please reply with the proper code line to add for this.
Hello,
What version of sharepoint you are using? Try below approach:
http://sharepointlogics.com/2010/03/total-count-of-items-in-list-in.html
Hope it could help
Hemendra: "Yesterday is just a memory,Tomorrow we may never see"
Whenever you see a reply and if you think is helpful, click "Vote As Helpful"! And whenever
you see a reply being an answer to the question of the thread, click "Mark As Answer
Please feel free to unmark answer if does not resolves your problem. -
How can identify the default currency for a customer?
How can identify the default currency for a customer?
I know that this is being determined when you create a sales order for a particular customer, for example, so I could break this process open and find out what it uses. But I thought it worth asking in this forum first.
BlueHi Gary,
As per my understanding of your question I am replying , If you are looking some thing else then I request you to please elaborate your query.
If you see the BP sales area data in transaction BP, In billing tab you maintain the currency for a customer which is default currency when you create a sales order.
<b>Reward points if it helps!!</b>
Best regards,
Vikash -
How to know the count of record in CR XI?
Post Author: Liu ming
CA Forum: Deployment
Hi All,
I create a report by CR XI release 2. The report is viewed in ASP.Net. So, I would like show a message when the report have no record. My question is how to know the count of record?
Thanks.I was able to do this by using
ora:countNodes('Receive_1_Read_InputVariable','BILL','/ns2:BILL/ns2:CMS1500') -
How to get the count of each minutes
Oracle 10 DB
Hi All
I using this query to get the count of records fetched by the concurrent program per min,
select count (distinct b.attribute2)
from oe_order_headers_all a,oe_order_lines_all b
where a.header_id=b.header_id
and b.flow_status_code ='AWAIT_QUINTIQ_BOOK'
and to_Char(b.last_update_date,'DD-MON-YYYY HH24:MI:SS') between '19-JAN-2011 02:00:01' AND
'19-JAN-2011 02:00:02'
This is used to get the count of records fetched at one mins
How to find the count of last 10 mins ie 1 mins count 2.00 to 2.10
Thanks & Regards
Srikkanth.MTry this:
SELECT TRUNC(b.last_update_date, 'mi') time_mins, COUNT(DISTINCT b.attribute2)
FROM oe_order_headers_all a,
oe_order_lines_all b
WHERE a.header_id = b.header_id
AND b.flow_status_code = 'AWAIT_QUINTIQ_BOOK'
AND b.last_update_date >= to_date('19/01/2011 02:00:00', 'dd/mm/yyyy hh24:mi:ss')
AND b.last_update_date < to_date('19/01/2011 02:10:00', 'dd/mm/yyyy hh24:mi:ss')
GROUP BY TRUNC(b.last_update_date, 'mi');I'm not sure why you're bothering with the join to the oe_order_headers_all table, since you're not referencing that in the where clause or the selected columns list. I think you could probably do away with it.
I've changed your code to take the last_update_date and truncate it to the minute level, and added that as a column, so you can see which count goes with which minute. Obviously, this has to be in the group by.
I've also changed your date comparisons so that you're actually comparing dates to dates, rather than strings to strings - why would you deliberately take information away from the optimizer? Oracle does not treat strings the same as dates, and forcing it to use strings rather than dates could lead you to have a vastly differing execution path, which will most likely be less performant.
Not to mention, coding like that leads you to assume that you can compare dates in strings without any problems, and that is just not the case. '19-FEB-2011' is counted as being earlier than '19-JAN-2008', as strings sort alphabetically. -
How to identify the type of pocketpc barcode scanner?
How to identify the type of pocketpc barcode scanner whteher it is intermec or symbol?
GSHi,
well, this is the brand of the PDA - the Scanner itself is build into the device. So if you have an intermec device - you have an intermec scanner and vice versa. It is not recommended to use a HP device for example with an external scanner. This scenario is not really supported by the MI setup guides.
Hope that helps!
Regards,
Oliver -
How to Identify the Type of Font Names in Illustrator
How to identify the type of font names like "True Type font" (or) "open Type font" for illustrator file using Scripts or any language. Could you please advice me.
Thanks,
PrabudassIf there is an Illustrator SDKor Illustrator Scripting forum, try
that. ATM won't really help - it is obsolete and should not be
installed (breaks things).
Aandi Inston -
How to identify the type of Fonts
How to identify the type of font names like "True Type font" (or) "open Type font" for illustrator file using Scripts. Could you please advice me.
Thanks,
PrabudassThe code below will prompt the user with the type face of a single text-frame.
shastafir
// 5/4/2009
// Open a new document and create a single text box
// with some type in it.
// Get access to the active layer
var aiDocument = app.activeDocument;
var aiLayer = aiDocument.activeLayer;
// Get access to the type-frame's font
var textBox = aiLayer.textFrames[0];
var theFont =
textBox.textRange.characterAttributes.textFont;
// Alert user with the name of the font
alert(theFont.name); -
How to identify the text color in a word doc.?
how to identify the text color in a word doc.?
I need to read a word document using java code. which contains many strings with different colors.
i need to identify the color and giving the marks accordingly like
test in blue color so
test marks=2
how can i do this using java. i only want to know how can i identify the text color using java code.?morgalr wrote:
I guarantee it is not pretty.Indeed.
I created a Word doc that simply has the word "Blue" in blue, then a space, then the word "Red" in red, all in the default font that Word started with (Times New Roman). The resulting document is 24,064 bytes. It starts off with 80 bytes of various hex values, mostly 0x00.Then 432 bytes of just 0xFF. Then 2048 bytes of various hex values, mostly 0x00. Then the text "Blue Red" (which appears twice more in the file). And so on...
Edited by: jverd on May 10, 2010 8:45 AM
Maybe you are looking for
-
Using OidRepSchemaName and OracleHome Parameters in SQLFetchlet
Does anyone know how/if these parameters are supposed to work? The extension guide states that these parameters eliminate the need to specify connection and credential information for SQL fetchlets, which is exactly what I need, but I am unable to ge
-
Time to reformat hard drive on iMac?
Hi, I have the following iMac: Model Name: iMac Model Identifier: iMac7,1 Processor Name: Intel Core 2 Duo Processor Speed: 2.8 GHz Number Of Processors: 1 Total Number Of Cores: 2 L2
-
7.0 Killed My Powerbook G4
Since "receiving" the automatic download for iTunes 7.0 the experience on my Mac has gone from being a joy, to a living ****. Since installing 7.0 I can no longer. - Play audio on the web, except for .mov files - The only files that play on my comput
-
How to submit an input dynamically to an sql script in a shell script
Dear all, I have a shell script myscript.sh, in that I am running an sql script , say mysql.sql, the sql script prompts for a value, and I have to type that prompted value to run the script. How can I give this value in my shell script itself. Sample
-
Hello, I want to know how can I put a Button on a Query. I want to put a Print Button. I know that in the left button there is a option to print. I want to know if I can put that option as a Button directly in the web page of the query. Thank you in