SSRS 2012 multi select parameter not working in Report Manager.
Hello,
I have one report with Multi select parameter. its working fine in bids, report server but I am facing some issue on report manager 2012.
Issue is, In Multi select parameter I have Suppose 6 value a,b,c,d,e,f after the deployment on report manager for the first time report is working fine with selecting all the value. but for the second time if my selection include either
a or f report gives no result and check box get unselect.
I also try on different report manager but same result.
what can be a issue here causing problem only for two value but working fine for other value?
Thanks,
Hi Javed,
The Issue is with when you click on View Report button of Report Manager for Parameters which contain CHAR(10) and CHAR(13).
Where ever that Column is used in Report Data Set ,
Use replace(replace(Param,char(10),''),char(13),'') function.
----------------Please Mark This as Answer if it helps to solve your problem----------------------------
Similar Messages
-
SSRS 2008 R2 Calendar Control not working and report not refreshing on pressing enter in Chrome.
SSRS reports are always best viewed in IE and the report result what you see in IE always will not be same and consistent in thirdy party browswers.
So consider using IE as workaround.
Also please refer:
https://social.msdn.microsoft.com/Forums/vstudio/en-US/2188de10-cff9-4e24-b14f-da5121f1c4a4/ssrs-calender-control-not-visible-in-chorme-on-server?forum=sqlreportingservices
Workaround here:
http://www.rajbandi.net/Fixing-SSRS-Report-Viewer-control-date-picker-in-Google-chrome/
-Vaibhav Chaudhari -
Ssrs 2008 r2 date parameter not working all the time
In an SSRS 2008 r2 report, I am not getting some records selected when I run the report in the ssrs 2008 r2 report.
However when I run the sql in ssis manager, the records are selected. Thus I am trying to determine why some of the records are not selected whe running the ssrs report.
In the table called 'transactionfile', the fields that I am trying to determine where there is a problem is the following:
SchoolNumber (varchar(50),null), and
TransactionPaymentDate (varchar(50),null).
Examples of data are SchoolNumber = '121' and TransactionPaymentDate = '04162014'
In the SSRS report, the parameter value for @SchoolNumber is text and the parameter value for @EndDate and @StartDate is date/time.
The following is the query I am having a problem with:
SELECT s.SchoolNumber,
CONVERT(smalldatetime,substring(TransactionPaymentDate,5,4) + '-' + substring (TransactionPaymentDate,1,2)+ '-' +
substring(TransactionPaymentDate,3,2)) as TransactionPaymentDate
from [eF].[dbo].[transactionfile] f
INNER JOIN
[eF].[dbo].schools] s
on rtrim(ltrim(s.SchoolNumber)) =rtrim(ltrim(f.SchoolNumber))
where rtrim(ltrim(s.SchoolNumber)) = rtrim(ltrim(@SchoolNumber))
AND
Cast(Right(TransactionPaymentDate,4)+Left(TransactionPaymentDate,4) as Date)
>= @StartDate
AND
Cast(Right(TransactionPaymentDate,4)+Left(TransactionPaymentDate,4) as Date) <= @EndDate
Thus could you suggerst what could be wrong when selecting some records by date?First check whether transaction payment date has 8 digit or not. In yes then try the below query,
SELECT s.SchoolNumber,
CONVERT(smalldatetime,substring(TransactionPaymentDate,5,4) + '-' + substring(TransactionPaymentDate,1,2)+ '-' +
substring(TransactionPaymentDate,3,2)) as TransactionPaymentDate
from [eF].[dbo].[transactionfile] f
INNER JOIN [eF].[dbo].schools] s
on rtrim(ltrim(s.SchoolNumber)) =rtrim(ltrim(f.SchoolNumber))
where rtrim(ltrim(s.SchoolNumber)) = rtrim(ltrim(@SchoolNumber))
AND
cast(substring(TransactionPaymentDate,5,4) + '/' +
substring(TransactionPaymentDate,1,2)+ '/' +
substring(TransactionPaymentDate,3,2) as date) between @StartDate AND @EndDate
Regards, RSingh -
Select List not working in report - see demo
Ok..
I have created a demo on APEX 4.1.1.. & 4.2 and it fails when 10 chars or more are in list, with 103 rows or more
http://apex.oracle.com/pls/apex/f?p=13679:1
workspace:nzp
username:demo
password:demo
DeanYou're using the <tt>apex_item.select_list_from_query</tt> method, which returns a VARCHAR2 value which has a maximum size of 4000 bytes when retrieved in a SQL query.
Switch to the <tt>apex_item.select_list_from_query_xl</tt> method to return a CLOB value up to 32K in size, as discussed in the report error: ORA-06502: PL/SQL: numeric or value error: character string b. (The problem there was that you didn't clearly indicate exactly how the list was generated.) -
Show selected value from multi-selected parameter in crystal report
Dear Experts!
i would like to ask how to catch selected value from multi-selected parameter to show in report header section.
Thanks in advance.Hi Dara,
If this is a string prompt then you could simply create a formula with this code and place it on the report header:
Join({?Prompt name},", ")
-Abhilash -
I have a multi-select parameter that can have a list of thousands of entries. In general, the user will pick a few entries from the list or "Select All". If they check "Select All", I would much prefer that I get a NULL or an empty string
instead of a list of all values. Is there any way to do that?
In experimenting with a work-around, I tried putting an "All" label with a null value in the list, but it is ignored (does not display in the drop-down). If I use an empty string for the value, my "All" entry does get displayed, but so
does "Select All", which is confusing. Is there a way to suppress "Select All"?
- MarkI adapted the following from a workaround posted by JNeo on 4/16/2010 at 11:14 AM at
http://connect.microsoft.com/SQLServer/feedback/details/249227/multi-value-select-all-parameter-in-reporting-services
To get a null value instead of the full list of all values when "Select All" is chosen:
1) Add a multi-value parameter "MyParam" that lists the values to choose.
2) Add a DataSet "ParamCount" identical to the one used by "MyParam", except that it returns a single column named [Count] that is a COUNT(*) of the same data
3) Add a parameter "MyParamCount", set it to hidden and internal, then set the default value to 'Get values from a query', choosing "ParamCount" for the Dataset and the one [Count] column for the Value field.
4) Change the parameter for the main report DataSet so that instead of using [@MyParam], it uses this expression:
=IIF(Parameters!MyParam.Count =
Parameters!ParamCount.Value, Nothing, Join(Parameters!MyParam.Value, ",")) -
XMLP 5.6.2 - Parameters - Both Multi-Select and All-Select Do Not Work
Both Multi-Select and All-Select Do Not Work.
What's up with this behavior?
And when might it be fixed?
BG...The Multi-Select is now working, not sure what I did wrong earlier. However the "Can select all" option when building the parameter does not work as advertised, though I was able to get around that as well.
Create a Data Model
select LAST_NAME, FIRST_NAME from SOME_TABLE where SOME_COLUMN =:SOME_VALUE
OR
select LAST_NAME, FIRST_NAME from SOME_TABLE where SOME_COLUMN in (:SOME_VALUE)
Create a LOV
Name = LOV_SOME_COLUMN
Type = SQL Query
select distinct SOME_TABLE.SOME_COLUMN as SOME_COLUMN from SCHEMA.TABLE
Create a Parameter
Identifier = PARM_SOME_COLUMN
Data Type = String
Default Value = NULL
Parameter Type = Menu
Display Label = LOV_SOME_COLUMN
List Of Value = LOV_SOME_COLUMN
Option
Multiple Selection - Checked
Can select all - Checked
Refresh other parameters on change - Checked
Then test your report. Select "All" from the LOV and click view. Result - No Rows Returned.
Selecting a "Single" or "Multiple Values" values from the LOV does work.
The way I am getting around the problem is to uncheck the "Can select all" and then manually select all the values in the LOV in order to get the "All".
BG... -
SSRS using multiple select parameter in expression
Hi,
I am using parameters to create my query at runtime using data set expression.
I have a multi select string parameter that gets populated using a query. I want to add this multi select parameter values to where clause in expression of mail data set. I am able to join the string and make it comma(,) separated but not sure how can I
add single quotes(') to it.
= join(Parameters!Column.Value,",")===>>a,b,c,d
requirement===>'a','b' ,'c'
Pls. guidemake it like this
= "'" & join(Parameters!Column.Value,"','") & "'"
Please Mark This As Answer if it solved your issue
Please Vote This As Helpful if it helps to solve your issue
Visakh
My Wiki User Page
My MSDN Page
My Personal Blog
My Facebook Page -
Multi-Select Box Not Displaying Values Passed From Grid?
Coldfusion 8
I inherited an application and am trying to maintain and improve it... hit a snag today.
I have a multi-select box that is not displaying what I expect. The values come from a ColdFusion grid which is based off a database query.
Here is the code for the select - does not work - nothing is selected:
<cfselect name="USER_IDS" multiple="true" queryposition="below" selected="USER_IDS" query="ActiveUsersPlus" disabled="#disabled#" value="G_USER_WORK_UNIT_SK" display="G_USER_ID" >
</cfselect>
Now if I change the multiselect to a single select like below - it takes the first item in the field list (from the grid) and selects it in the drop down.
<cfselect name="USER_IDS" multiple="false" queryposition="below" selected="USER_IDS" query="ActiveUsersPlus" disabled="#disabled#" value="G_USER_WORK_UNIT_SK" display="G_USER_ID" >
</cfselect>
Or if I assign a variable like this and use the multi-select code it seems to work as well.
testlist = "22,26";
<cfselect name="USER_IDS" multiple="true" queryposition="below" selected="#testlist#" query="ActiveUsersPlus" disabled="#disabled#" value="G_USER_WORK_UNIT_SK" display="G_USER_ID" >
</cfselect>
I have displayed the value of "User_IDs" in the grid and in the data entry part of the screen to see values of: 22,26
to make sure that wasn't my issue.
Do grids and multiselects require something additional? Any advice on how to resolve?Problem was related to some javascript for the select box. There was a function for a single select box but not a multiple select box - this fixed it:
if(theForm.elements[i].type == "select-multiple"){
var selectBox = theForm.elements[i];
var sbname = selectBox.name;
cpvalue = String(eval('record.data.' + sbname));
var NotifyArray = cpvalue.split(',');
for (var j=0; j < selectBox.length; j++) {
selectBox[j].selected = false;
for (var j=0; j < selectBox.length; j++) {
sbvalue = selectBox[j].value;
for (var k=0; k < NotifyArray.length; k++){
if (sbvalue == NotifyArray[k]){
selectBox[j].selected = true; -
SCCM 2012 Software Metering is not working
SCCM 2012 Software Metering is not working in our environment. Other than software metering, reports work just fine.
I have created a few simple software metering rules with “Acrobat.exe” and “Outlook.exe”. Rules are enabled. Rules were on at least 6 months.
When I go to software metering reports, Month parameter value is empty and I can’t choose any value.
I ran runmetersumm.exe on our server, it did not work as intended. :
Summarizing data up to 0 hours old.
File Usage Summary added -1 rows in 0 seconds.
Monthly Usage Summary added -1 rows in 0 seconds.
I am stumped. Why would it add minus rows?
Any ideas how I can make software metering work on our environment?
Thank youFinally figured it out.
mtrmgr.log did not find any rules when I ran executables. So I knew it wasn't working on the server side.
After searching for a while, I found the solution from the link below:
http://social.technet.microsoft.com/Forums/en-US/8f048512-c357-437e-89ec-cee5356a10b1/software-metering-reports-empty?forum=configmanagergeneral
1. Deleted RULECHG.RTA under policypv.box folder
2. Removed and recreated metering rules again.
Everything is working again now.
Thank you.
I do wonder how to avoid those problems going forward though. -
Multi scanner software not working after E71 FW U...
Multi scanner software not working after E71 FW Update to 3.1
Nice bit of trouble-shooting. Thanks for sharing the final solution.
-
Data Services- The job server you selected is not working
Long Text:
After logging in to the Data Services designer,when try to run a job it shows error -The job server you selected is not working
Latest Software version -BODS 4.0 SP2
Reproduce Steps:
1. Double click on the Project from repository, it will display the project in Project area.
2. After that it will display all the jobs under the project.
3.Right click on the job and try to execute, then it will display the "Execution Properties" windows.
Here the we can the default Job Server has been selected.
4. Try to click ok to execute the job and then we get the error-"The job server you selected is not working"Hi
Please contact your Data services administrator to check on the server why the job server is not working.
There might be several issues like connectivity with the repository, access details , mapping in the management console etc.
And let us know the exact issue.
Regards
Puneet -
Cascading Select Lists - Not Working for me
I am trying to implement Denes Kubicek's Ajax Cascading Select List solution.
http://apex.oracle.com/pls/otn/f?p=31517:119
But it is not working for me.
I'm a newbie to APEX and checked the forum for advice on cascading select lists. I saw the thread for
"Cascading Select Lists - Not Working" posted by sue and the replies by Varad Acharya, but I'm still
having issues of not seeing the alerts, not able to run the pl/sql process in SQL Workshop, and not
getting the expected results.
I have a list of countries (US - USA, CA - CANADA, etc.) and a list of states for each country. When a
user selects a country I would like to show the list of states within that country.
This is what I've done so far:
Defined an application process:
Process Point: On Demand: Run ... by a page process.
Name: CASCADING_SELECT_LIST1
Process Text:
BEGIN
OWA_UTIL.mime_header ('text/xml', FALSE);
HTP.p ('Cache-Control: no-cache');
HTP.p ('Pragma: no-cache');
OWA_UTIL.http_header_close;
HTP.prn ('<select>');
HTP.prn ('<option value="' || 99 || '">' || '- All States -'
|| '</option>'
FOR c IN (SELECT state_code || ' - ' || state_desc d, state_code r
FROM tbk_state
WHERE country_code = :cascading_selectlist_item_1)
LOOP
HTP.prn ('<option value="' || c.r || '">' || c.d || '</option>');
END LOOP;
HTP.prn ('</select>');
END;
defined and application item:
Name: CASCADING_SELECTLIST_ITEM_1
Build Option: - No Build Option -
Created a 'Form on a table with report' as follows:
Page 5: Report on TBK_HARDWARE_LOCATION
Page 6: Form on TBK_HARDWARE_LOCATION
in HTML Header of the page attributes for 'Form on TBK_HARDWARE_LOCATION' I have:
<script language="JavaScript" type="text/javascript">
<!--
htmldb_delete_message='"DELETE_CONFIRM_MSG"';
//-->
</script>
<script>
function get_select_list_xml1(pThis,pSelect){
var l_Return = null;
var l_Select = html_GetElement(pSelect);
alert ('Dept no=' + pThis.value);
var get = new htmldb_Get(null,html_GetElement('pFlowId').value,
'APPLICATION_PROCESS=CASCADING_SELECT_LIST1',0);
get.add('CASCADING_SELECTLIST_ITEM_1',pThis.value);
gReturn = get.get('XML');
// gReturn = get.get();
alert('Enames=' + gReturn);
if(gReturn && l_Select){
var l_Count = gReturn.getElementsByTagName("option").length;
l_Select.length = 0;
for(var i=0;i<l_Count;i++){
var l_Opt_Xml = gReturn.getElementsByTagName("option");
appendToSelect(l_Select, l_Opt_Xml.getAttribute('value'),
l_Opt_Xml.firstChild.nodeValue)
get = null;
function appendToSelect(pSelect, pValue, pContent) {
var l_Opt = document.createElement("option");
l_Opt.value = pValue;
if(document.all){
pSelect.options.add(l_Opt);
l_Opt.innerText = pContent;
}else{
l_Opt.appendChild(document.createTextNode(pContent));
pSelect.appendChild(l_Opt);
</script>
On Page 6: 'Form on TBK_HARDWARE_LOCATION' I have the following items (plus some others):
Name: P6_COUNTRY_CODE
Display as: Select List
HTML Form Element Attributes: onchange="get_select_list_xml1(this,'P6_STATE_CODE');"
Source Used: Only when current value in session state is null
Source Type: Database Column
maintain session state: Per session
Source value or expression: COUNTRY_CODE
Named LOV: LIST OF COUNTRIES
Name: P6_STATE_CODE
Display as: Select List
Source Used: Only when current value in session state is null
Source Type: Database Column
maintain session state: Per session
Source value or expression: STATE_CODE
Named LOV: - Select named LOV -
List of Values definition:
select state_code || ' - ' || state_desc d, state_code r
from tbk_state
where country_code = :P6_COUNTRY_CODE
order by 1
LIST OF COUNTRIES is defined as:
select country_code || ' - ' || country_desc d, country_code r
from tbk_country
order by 1
Now to the problem:
I run page 5 (the report) to see the list of locations and then I try to edit a record (page 6). When I
try to select a different country I get the following error (on IE):
"Problems with this web page might prevent it from being displayed properly or functioning properly.
In the future, you can display this message by double-clicking the warning icon displayed in the status
bar.
Line: 17
Char: 5
Error: Object expected
Code: 0
URL: http//cmrac4.cm.timeinc.com:7777/pls/htmldb/f?
p=114:6:1413254636072443110::::P6_HARDWARE_LOCATION_ID:2
I don't see any of the alert messages.
I also tried to run the application process code in the SQL - Command Processor (I replaced
:cascading_selectlist_item_1 with 'CA' or 'US') and got the following:
The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh
button, or try again later.
Only one top level element is allowed in an XML document. Error processing resource
'http://cmrac4.cm.timeinc.com:7777/pls/...
<select><option value="99">- All States -</option><option value="X1">X1 - X1</option><optio...
Can someone help me please?Varad,
First, thank you for taking the time to try to help me with this problem.
When I view the page's source code (here are the first few lines):
<html lang="en-us">
<head>
<script src="/i/javascript/core.js" type="text/javascript"></script>
<link rel="stylesheet" href="/i/css/core.css" type="text/css" />
<script language="JavaScript" type="text/javascript">
<!--
htmldb_delete_message='Would you like to perform this delete action?';
//-->
</script>
<script>
function get_select_list_xml1(pThis,pSelect){
var l_Return = null;
var l_Select = html_GetElement(pSelect);
//alert ('Dept no=' + pThis.value);
var get = new htmldb_Get(null,html_GetElement('pFlowId').value,
'APPLICATION_PROCESS=CASCADING_SELECT_LIST1',0);
get.add('CASCADING_SELECTLIST_ITEM_1',pThis.value);
gReturn = get.get('XML');
// gReturn = get.get();
//alert('Enames=' + gReturn);
if(gReturn && l_Select){
var l_Count = gReturn.getElementsByTagName("option").length;
l_Select.length = 0;
for(var i=0;i<l_Count;i++){
var l_Opt_Xml = gReturn.getElementsByTagName("option");
appendToSelect(l_Select, l_Opt_Xml.getAttribute('value'),
l_Opt_Xml.firstChild.nodeValue);
get = null;
function appendToSelect(pSelect, pValue, pContent) {
var l_Opt = document.createElement("option");
l_Opt.value = pValue;
if(document.all){
pSelect.options.add(l_Opt);
l_Opt.innerText = pContent;
}else{
l_Opt.appendChild(document.createTextNode(pContent));
pSelect.appendChild(l_Opt);
</script>
It looks like line 17 is:
var l_Select = html_GetElement(pSelect);
I'm still not sure why I'm getting this error and why it's not working?
Thanks,
Eti -
hi to all,
I am trying to write use inner joining . here is code
DATA:tabname LIKE dd02L-tabname,
table_disc LIKE dd02t-ddtext.
SELECT dd02ltabname dd02tddtext INTO (tabname,table_disc)
FROM dd02l INNER JOIN dd02t on dd02ltabname = dd02ttabname
WHERE dd02tddlanguage = 'E' AND dd02ltabclass = 'TRANSP'
AND dd02L~tabname = 'ZANKI*'.
endselect.
write : tabname.
I also checked in tables dd02t and dd02l for the table zanki* and data available in both table . but here select statement not working .do u have any idea about this. thank youHi,
I executed the ur inner join conditin by commenting 'z*' it's working fine.
I think where condition is not getting satisfied so u r not getting any data.
Please conform in where condition you need * 'AND'* or OR
I change decalration as below.
DATA:tabname type TABNAME,
table_disc type AS4TEXT.
SELECT dd02l~tabname
dd02t~ddtext INTO (tabname, table_disc)
FROM dd02l INNER JOIN dd02t on dd02l~tabname = dd02t~tabname
WHERE dd02t~ddlanguage = 'E' AND
dd02l~tabclass = 'TRANSP'AND
dd02L~tabname = 'ZANKI*'.
endselect.
write : tabname.
Regards,
Pravin -
The multi-tabs is not working. I have the correct options set for multi-tabs. But when I open Firefox and try to add a site from Bookmarks it uses the same tab that is opened.
Right click a tab and you will get the option to bookmark all tabs. Or use keyboard '''Alt + B''' which opens the old style menu. You can make changes to Firefox, as explained in this post: [/questions/799856#answer-155765]
Maybe you are looking for
-
The latest version of Firefox tends to not agree with my windows 7 starter netbook. I get a lot of hangups and crashes. I would like to download Firefox 4 again but can't seem to find it on your site in order to download it. Do you have any other sug
-
How to save multiple waveforms to excell spreadsheet
Hi Everyone, So I just got a new project in lab which is to use our new DAQ board(NI USB 6341) to read a voltage from 5 PMTs. I'm new to labview, and am struggling quite a bit but here's what I've done and would like to accomplish: My example today
-
How to generate a random number within a specified tolerance and control that tolerance.
I am trying to simulate data without using a DAQ device by using a random number generator and I want to be able to control the "range" of the random number generated though. On the front pannel, the user would be able to input a nominal number, and
-
Different between adding a subview or visible/invisible it
Dear all, I would like to create a screen to overlay on the top of an existing UIView. I tested with 3 methods below and it all works. I would like to know how do i determine which method is the best and what are the different among them in terms of
-
Bridge CS5 not working properly
Hi, I have been using Bridge for years, I have Bridge CS5 and all of a sudden I can't use the export to web/ pdf function. I also can't use the Tool>Photoshop>Image Processor. (It doesn't appear to exist anymore??!). What's going on? As far as I reme