SQL 2000 Reporting Services - Parameters

Mar 23, 2004

I am trying to figure how to programmatically pass parameters to the report in SQL Reporting Services using web service API and then send this report to the printer. I found code in C# on how to print and it does work very well. I am hoping to add report parameters to this module. Any ideas, samples or help would really be appreciated.








here is the code for printing





using System;


using System.Drawing;


using System.Drawing.Imaging;


using System.Drawing.Printing;


using System.IO;


using System.Web.Services.Protocols;


using PrintReport.reportserver;


using System.Runtime.InteropServices; // For Marshal.Copy





namespace PrintReport


{


/// <summary>


/// A simple console application that demonstrates one way to


/// print Reporting Services reports to a printer.


/// </summary>


class app


{


/// <summary>


/// The main entry point for the application.


/// </summary>


[STAThread]


static void Main(string[] args)


{


PrintExample pe = new PrintExample();


// The name of the printer should be added here;


// this could be a local or network printer.


pe.PrintReport(@"\jacc-fs120S2500 PCL IT");


}


}





class PrintExample


{


ReportingService rs;


private byte[][] m_renderedReport;


private Graphics.EnumerateMetafileProc m_delegate = null;


private MemoryStream m_currentPageStream;


private Metafile m_metafile = null;


int m_numberOfPages;


private int m_currentPrintingPage;


private int m_lastPrintingPage;





public PrintExample()


{


// Create proxy object and authenticate


Console.WriteLine("Authenticating to the Web service...");


rs = new ReportingService();


rs.Credentials = System.Net.CredentialCache.DefaultCredentials;


}





public byte[][] RenderReport(string reportPath)


{


// Private variables for rendering


string deviceInfo = null;


string format = "IMAGE";


Byte[] firstPage = null;


string encoding;


string mimeType;


Warning[] warnings = null;


ParameterValue[] reportHistoryParameters = null;


string[] streamIDs = null;


Byte[][] pages = null;





// Build device info based on the start page


deviceInfo =


String.Format(@"<DeviceInfo><OutputFormat>{0}</OutputFormat></DeviceInfo>", "emf");





//Exectute the report and get page count.


try


{


// Renders the first page of the report and returns streamIDs for


// subsequent pages


firstPage = rs.Render(


reportPath,


format,


null,


deviceInfo,


null,


null,


null,


out encoding,


out mimeType,


out reportHistoryParameters,


out warnings,


out streamIDs);





// The total number of pages of the report is 1 + the streamIDs


m_numberOfPages = streamIDs.Length + 1;


pages = new Byte[m_numberOfPages][];





// The first page was already rendered


pages[0] = firstPage;





for (int pageIndex = 1; pageIndex < m_numberOfPages; pageIndex++)


{


// Build device info based on start page


deviceInfo =


String.Format(@"<DeviceInfo><OutputFormat>{0}</OutputFormat><StartPage>{1}</StartPage></DeviceInfo>",


"emf", pageIndex+1);


pages[pageIndex] = rs.Render(


reportPath,


format,


null,


deviceInfo,


null,


null,


null,


out encoding,


out mimeType,


out reportHistoryParameters,


out warnings,


out streamIDs);


}


}





catch (SoapException ex)


{


Console.WriteLine(ex.Detail.InnerXml);


}





catch (Exception ex)


{


Console.WriteLine(ex.Message);


}





finally


{


Console.WriteLine("Number of pages: {0}", pages.Length);


}





return pages;


}








public bool PrintReport(string printerName)


{


this.RenderedReport = this.RenderReport("/SampleReports/Company Sales");


try


{


// Wait for the report to completely render.


if(m_numberOfPages < 1)


return false;


PrinterSettings printerSettings = new PrinterSettings();


printerSettings.MaximumPage = m_numberOfPages;


printerSettings.MinimumPage = 1;


printerSettings.PrintRange = PrintRange.SomePages;


printerSettings.FromPage = 1;


printerSettings.ToPage = m_numberOfPages;


printerSettings.PrinterName = printerName;


PrintDocument pd = new PrintDocument();


m_currentPrintingPage = 1;


m_lastPrintingPage = m_numberOfPages;


pd.PrinterSettings = printerSettings;





// Print report


Console.WriteLine("Printing report...");


pd.PrintPage += new PrintPageEventHandler(this.pd_PrintPage);


pd.Print();


}





catch(Exception ex)


{


Console.WriteLine(ex.Message);


}


finally


{


// Clean up goes here.


}





return true;


}





private void pd_PrintPage(object sender, PrintPageEventArgs ev)


{


ev.HasMorePages = false;


if (m_currentPrintingPage <= m_lastPrintingPage && MoveToPage(m_currentPrintingPage))


{


// Draw the page


ReportDrawPage(ev.Graphics);


// If the next page is less than or equal to the last page,


// print another page.


if (++m_currentPrintingPage <= m_lastPrintingPage)


ev.HasMorePages = true;


}


}





// Method to draw the current emf memory stream


private void ReportDrawPage(Graphics g)


{


if(null == m_currentPageStream || 0 == m_currentPageStream.Length || null ==m_metafile)


return;


lock(this)


{


// Set the metafile delegate.


int width = m_metafile.Width;


int height= m_metafile.Height;


m_delegate = new Graphics.EnumerateMetafileProc(MetafileCallback);


// Draw in the rectangle


Point destPoint = new Point(0, 0);


g.EnumerateMetafile(m_metafile,destPoint , m_delegate);


// Clean up


m_delegate = null;


}


}





private bool MoveToPage(Int32 page)


{


// Check to make sure that the current page exists in


// the array list


if(null == this.RenderedReport[m_currentPrintingPage-1])


return false;


// Set current page stream equal to the rendered page


m_currentPageStream = new MemoryStream(this.RenderedReport[m_currentPrintingPage-1]);


// Set its postion to start.


m_currentPageStream.Position = 0;


// Initialize the metafile


if(null != m_metafile)


{


m_metafile.Dispose();


m_metafile = null;


}


// Load the metafile image for this page


m_metafile = new Metafile((Stream)m_currentPageStream);


return true;


}





private bool MetafileCallback(


EmfPlusRecordType recordType,


int flags,


int dataSize,


IntPtr data,


PlayRecordCallback callbackData)


{


byte[] dataArray = null;


// Dance around unmanaged code.


if (data != IntPtr.Zero)


{


// Copy the unmanaged record to a managed byte buffer


// that can be used by PlayRecord.


dataArray = new byte[dataSize];


Marshal.Copy(data, dataArray, 0, dataSize);


}


// play the record.


m_metafile.PlayRecord(recordType, flags, dataSize, dataArray);





return true;


}





public byte[][] RenderedReport


{


get


{


return m_renderedReport;


}


set


{


m_renderedReport = value;


}


}


}


}








Thanks


Tom

View 7 Replies


ADVERTISEMENT

Analysis Services 2000 + Reporting Services 2005 + Parameters

Sep 16, 2007



Hi All,

I'm trying to create reports in RS2005 using AS2000 as my data source. I understand that if I use RS2005 on AS2000, I wont be able to enjoy the OLAP based parameters as in using AS2005. Does anyone know an easy way to easily use Parameters in RS2005 while still using AS2000?

Regards,
Joseph

View 1 Replies View Related

Reporting Services 2000 / 2005 Parameters

May 29, 2007

Hi all,



Is there any way to pass a dataset parameter in RS 2000? Basicly, I have some data in my web page and want to print it. But I don't want to create another page to pass parameters to RS. I want to print the page as it is with the data already in the page, so if there is a way I can send the data through a dataset to the report directly, would be great. Is there?



Thank you very much,



Marco

View 6 Replies View Related

Multiple Value Parameters In SQL Server 2000 Reporting Services.

Jul 5, 2007

Hi all,

I need to know how, and if, possible to create a multiple value parameter in SQL Server 2000 Reporting Services. I need this for a client of mine. Any help/tips/etc will be greatly appreciated.

Thank you,

View 2 Replies View Related

Hidden Parameters In SQL Server 2000 Reporting Services.

Jun 27, 2007

Hi all,

I am having a problem. I know of hidden parameters in SQL 2005 RS, but I need to have this functionality as well for SQL 2000 RS. I read on the Net that MS SQL 2000 RS Service Pack 1 adds this functionality. I have installed SP4 for SQL 2000, then I installed RS SP1 on my laptop, but I don't see that functionality in VS 2003 Enterprise Architect. I even installed RS SP2 on my other machine, but still no joy. Am I missing something here or is Microsoft lying about this functionality? My client will be upgrading to SQL 2005 sometime in the near future (if they don't change their minds again), but I need to implement this kind of functionality now. I can't wait for them to upgrade to SQL 2005. This parameter I need to hide in the reports is necessary to ensure the reports show data by specific department. I'll implement it in such a way that when they call the report from the web application, I'll pass the departmentID to the report via the query string.

P.S. It is not possible for me to achieve this using JOINs in the queries. The parameter lists themselves depend on this value.

Thanks a lot in advance for this

Ciao,

View 3 Replies View Related

Sybase 9.0.2 + MS Reporting Services 2000 - RS Missing Parameters

Aug 15, 2007

People, help me with this? Already broke my brain.

I have some data on Sybase 9.0.2.3198,
i'm tryin to render report with MSSQL ReportingServices 2000 Eval SP2.


the report designer is fyiReportDesigner 3.0 - and I can do preview with it.

after deployment I'm tryin to render it, RS gives me an error:

An error has occurred during report processing. (rsProcessingAborted) Get Online Help
Query execution failed for data set 'Data'. (rsErrorExecutingCommand) Get Online Help
Column '@start_date' not found


I tried connect through ODBC and OLEDB both - same result.


ps I'm gonna kill somebody real soon.


the sql:

WHERE PERIOD.BEGINDATE between CAST(@start_date as timestamp) and CAST(@end_date as timestamp)

these are the RDL-file pieces:

<QueryParameters>
<QueryParameter Name="@start_date">
<Value>=Parameters!start.Value</Value>
</QueryParameter>
<QueryParameter Name="@end_date">
<Value>=Parameters!end.Value</Value>
</QueryParameter>
</QueryParameters>


<ReportParameters>
<ReportParameter Name="start">
<DataType>String</DataType>
<DefaultValue>
<Values>
<Value>2007-08-15</Value>
</Values>
</DefaultValue>
<Nullable>false</Nullable>
<AllowBlank>false</AllowBlank>
<MultiValue>false</MultiValue>
<Prompt>Start</Prompt>
</ReportParameter>
<ReportParameter Name="end">
<DataType>String</DataType>
<DefaultValue>
<Values>
<Value>2007-08-15</Value>
</Values>
</DefaultValue>
<Nullable>false</Nullable>
<AllowBlank>false</AllowBlank>
<MultiValue>false</MultiValue>
<Prompt>End</Prompt>
</ReportParameter>
</ReportParameters>

View 5 Replies View Related

Migrate From 32bit 2000 Reporting Services To 2005 64bit Reporting Services

Mar 22, 2008



Hello,

I am trying to migrate my reports from SQL server 2000 reporting services 32bit to 2005 64bit. I am following the migration steps that MS specified.
Restored my Reportserver and ReportserverTempDB databases
Then I was using the configure Report services to upgrade these databases but I always end up getting the follwoing exception when I run the upgrade on the "Database Setup" configuration for 'ReportServerTempDB' database
System.Data.SqlClient.SqlException: Could not locate entry in sysdatabases for database 'ReportServerTempDBTempDB'. No entry found with that name. Make sure that the name is entered correctly.
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async)
at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)
at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
at Microsoft.ReportingServices.Common.DBUtils.ApplyScript(String connectionString, String script)
at ReportServicesConfigUI.SqlClientTools.SqlTools.ApplyScript(String connectionString, String script)

It's driving me crazy, why is it looking for 'ReportServerTempDBTempDB' in the catalog instead of 'ReportServerTempDB'?
Is it possible to migrate from 32bit to 64bit?

Any help is appreciated

View 1 Replies View Related

Parameters In Reporting Services And Data Source Is Analytical Services

Dec 10, 2007



My requirement for the parameter is multivalue parameter with a text box. for example when user enters aa15 it need to include product aa15. when the user enters aa15, aa16, zz15 than it needs to include all the three products. the last case is when the user enters AA** than i need to inclued all the products start with AA. when i use default multivalue parameter with data source analytical services than i am getting a drop down box. I dont want that. I need a text box where user can enter the value.
1. In sql we have a like key word to query . for example select * from product where product like "AA%".
what is equavalent mdx query to get such results ?
2.How to impliment the multivalue parameters without using dropdown box?

View 1 Replies View Related

Compatibility Of SQL Express Reporting Services With SQL 2000 Reporting Services

Dec 6, 2006

I'm attempting to obtain a cost effective solution for my existing customers to develop reports on their SQL 2000 Server installations using their Reporting Services 2000. With products like Visual Basic.NET 2003 becoming almost impossible to obtain, I have at least one customer who is running into a dead end.

One option possibly is the SQL Express with Advanced Services download, which has Reporting Services. My questions are as follows:

Can the report designer component of SQL Express Reporting Services be configured to connect to an external database (which would happen to be a SQL 2000 database) to establish its datasets?
Does the resultant designed report end up in an RDL file? If the customer published this report via the Reporting Services 2000 Report Manager, would the report be able to run?

Sorry for asking a question like this that I could probably answer on my own, but my customer needed this answer yesterday. I have scoured the web and microsoft sites - and posted a question on the official SQL Reporting Services cateogy ... in an attempt to answer the basic question of how to design reports for Reporting Services 2000 in the absence of Visual Basic.NET 2003 (or other .NET 2003 tools) with no success.

Thanks to anyone who can help.

-- Mark

View 1 Replies View Related

About Reporting Services Parameters On 2nd

Mar 2, 2008



Any body plese tell me How to set the Parameters at the time or report design and how to use that parameter to call report from web application.Suppose i want to display report depend on Prodid(field in table).
And Suppose i want to display report between dates.

Regards.

View 5 Replies View Related

About Parameters In Reporting Services

Mar 4, 2008

I have ony query in my dataset at design time with parameters.
I am getting the correct data when i pass parameters.
Supose,i dont pass any parameters,I need Total data.
Now how can i write other query in my Data set.
Regards

View 4 Replies View Related

SQL Reporting Services Parameters

Dec 13, 2007

Hi Friends,

We are implementing one SQL Server 2005 Reporting services for my client. I want to know, is there any possibilty to keep track the parameters at SQL Reporting sever side, which i am sending it from my UI.

Please help me in this regard.

Thanks,
Rao.

View 3 Replies View Related

Report Parameters In Reporting Services

Nov 21, 2004

Hi guys & gals

I'm just setting up Reporting Services for our company and it's a great product, no doubt about it. However, I've come across a problem I can't solve and I wonder if any of you can help.

I've produced a sales report and I want my users to be able to enter a list of sales periods to include on the report. For example, the user might want to view the report for periods 10,11,13,14 and 17 and exclude periods 12,15 and 16. Obviously, the underlying query will probably involve an IN() clause but I'm struggling to think of a way that the user might be able to enter these parameters.

The most obvious way might be by typing in a comma separated string, but I don't know how to then put those values into the query.

Anyone got any ideas?

View 1 Replies View Related

MS Reporting Services Date Parameters

Mar 26, 2008

Hi,

Not sure if I will be able to get the answer I need on this forum but hopefully I will!

We have a previous report that uses the code:

AND T1."Decision_Date" BETWEEN '2005-07-01 00:00:00.000' AND '2006-06-30 00:00:00.000' AND T1."Decision_Type_Description"

With this the report was run with the "static" dates, the new report (in MS reporting services) requires that the user be able to enter in the start date range and the end date range.

I have come up with something like:
(T1."Decision_Date" = @Start_Year) AND (T1."Decision_Date" = @End_Year)

But not working. Can anyone assist?

Thanks,

jonathanr

View 1 Replies View Related

SQL Reporting Services Passing Parameters

Aug 25, 2005

I am creating a drill through that will go out and find the correctreport out of 27 that equal my 2 parameters NAME_ID and DETAIL_ID.Does anyone out there have any ideas for me? I can make it conect to 1report. I do not know how to make it search for the correct report

View 1 Replies View Related

Passing Parameters In Reporting Services

Mar 10, 2007

Hi all.
I can pass parameters from my front end(C#.net) to my reports(in Business Intelligence Project).
I want the reverse of it. I want to pass parameter from my report to my windows application project.

Any help would be appreciated.
thanks
-Ron-

View 5 Replies View Related

Its Not Report Parameters (ITS REPORTING SERVICES I THINK)

Jan 5, 2007

i am trying to generate a report based on 3 parameters
age, location, ethnciity

every thing works fine in data and layout tab,
when i run the preview tab, it give me the option to input paramaters and then when i hit veiw report, it shows processing report.... (indefinite) time.

i tried executing the query in data tab, it takes less than a sec.

any ideas??

am i doing somethign wrong in parameters??

View 7 Replies View Related

Reporting Services - Variables/Parameters - Is This A Bug?

Jun 3, 2006

When creating a Reporting Services report and declaring local variables as part of your query in a dataset there is sometimes a problem. When you hit run in the Data section and the €œDefine Query Parameters€? box pops up, all the variables are not there. Sometimes when you go to properties (€¦) of that dataset the parameters are gone. Is this a bug? This is happening both in RS2000 and 2005.
Thanks

View 7 Replies View Related

Parameters From Cube To Reporting Services

Mar 10, 2008



I'm trying to create report with datasource as a cube. I'm able to connect to datasource to pull data with a single parameter. But, I'm unable to succeed in the following scenario:
I have a dimension "Period" as Paremeter.
The Period dimension has a hierarchy as year- quarter- month.
So, I would like to create a drilldown parameter for period as year - quarter - month.

Please let me know, how to acheive this.

thanks,
Naveen.

View 1 Replies View Related

Passing Parameters From ASP.NET To Reporting Services

Aug 30, 2007

I have an asp.net app that is calling a reporting service url. on that url I pass two parameters as query strings. In the Report I defined the query string parameters in the Report Parameters. I then want these two parameters to be passed to the stored procedure in the report. How can I make this happen? The parameters seem to get to the Report but I can't seem to get them mapped to the stored proc. In the data set I defined the stored procs parameters and mapped them to the corresponding Report Parameters but still no go.

I'm assuming there's something fundamental I'm missing here about passing parameters to reporting services.

Thanks

View 1 Replies View Related

Reporting Services :: Same Report Different Parameters

Sep 8, 2015

1 report but different departments run this report with different parameters. Atm I have copied this report for the 4 departments and adjusted the default parameters accordingly (highly inefficient). Isn't there a way to just have one report and that I can adjust the default parameters in code based on user or group ?

View 6 Replies View Related

Reporting Services Parameters - Alignment. Here's The Problem :

Jan 31, 2007

Can we have more than 2 parameters displayed in a single row on report (when browsed using web browser). The parameters BY DEFAULT - seems to be lined up in an array of 2 columns, and N rows - which gets frustrating because so much of space is left blank (gray space just left of <View Report> button and to the right of parameters line-up).

How can we have more than 2 parameters displayed in one single row ? As this will help the actual report content to take up more space on the screen than the parametes taking up almost 1/2 of the screen.

Thanks a bunch for ideas.

RJ

View 1 Replies View Related

Reporting Services :: Date Range Parameters Are Off By One Day?

Apr 21, 2015

I have a Start Date and End Date parameter in my SSRS report.  The results are off by 1 day.  For example if I enter 4/2/2015 and 4/20/2015 it will return a few results from 4/1/2015 to 4/19/2015.

View 4 Replies View Related

Customized Parameters Area For Reporting Services

Oct 23, 2006

Has anyone customized the parameters area to pretty it up and make it more configurable like control number of columns etc?

Or can anyone direct me to a third party component?

Thanks.

View 2 Replies View Related

Reporting Services :: Passing Parameters To MDX Dataset

Oct 1, 2015

I have an MDX data-set query as follows: -

Member [Measures].[Measure3] As [Measures].[Value Rent Period Receipts]
Member [Measures].[Measure4] As (([Measures].[Value Rent Period Receipts]*-1)/[Measures].[Value Rent Period Debit])

Select {[Measures].[Measure1]
,[Measures].[Measure2]
,[Measures].[Measure3]

[Code] ....

There are two parameters; the value of lag passed to the LastPeriods function, and tenancy types passed in the where clause

I have a third parameter I would like to use called FirstDate and this I would like to pass to the LastPeriods function as the second argument

FirstDate is a value from my Time dimension, something like [Time].[Fiscal Time].[Sep. 15]

When editing the query to: -

Member [Measures].[Measure3] As [Measures].[Value Rent Period Receipts]
Member [Measures].[Measure4] As (([Measures].[Value Rent Period Receipts]*-1)/[Measures].[Value Rent Period Debit])
Select {[Measures].[Measure1]
,[Measures].[Measure2]

[Code] ....

The code errors. I have tried all sorts of formats such as  LastPeriods(@LagMonths,[@FirstDate]) and LastPeriods(@LagMonths,[Time].[Fiscal Time].[@FirstDate]), but nothing works

View 2 Replies View Related

Reporting Services :: SSRS Cascading Parameters

Jun 26, 2015

I am using SSRS 2008 with a SQL Server 2008 R2. It's been many years since i have used SSRS but i have used this and some other reporting tools in the past.I have created a cascading parameters where upon selecting 'ALL' or one of the other values in parameter A , the other values gets displayed in paramter B which is working in the Report builder. i am handling this in the dataset  query where i handle that through a case statement ( something like WHERE 1 = (CASE WHEN @Prm_A = 'ALL' THEN 1 END) OR  column_X= ( CASE WHEN  @Prm_A <>'ALL' THEN   @Prm_A END ).Also tried WHERE @Prm_A = 'ALL' OR column_X=  @Prm_A

This seems to work in the report builder on my machine or when i run it by editing the report on the web, but when i publish it on the report server, i don't see that behavior, meaning it does not cascade. I also tried to simplify it by making the query simple(WHERE column_X=  @Prm_A ),  but it still would not cascade on the web. 

View 2 Replies View Related

Reporting Services :: Using Parameters To Filter A Report?

Jul 7, 2015

I have a report I'm working on that provides a census of members. These members have certain properties;

Load date,Report Type,Clinic,Care Manager,PCP Name.

The census is from an outside group and what I do is massage it for our internal databases and reports to our care managers.

The report starts out by returning only those entries that were received in the last report from the outside vendor and I filter each of the parameters by using a WITH statement and an INNER JOIN, as follows;

WITH Date_of_Most_Recent_Census AS
(
SELECT
MAX(Load_Date) AS [CurDate]
FROM
Census_Rpt_Final
)

[Code] ...

The default is for all parameters to start out with all possible values for the current load date. But, I need to be able to filter the available - and default  - values for each parameter based upon the selection of the other parameters.

So, the Load Date is built in by use of the CTE that is a part of all the parameters. But, I need the report to allow the end user to select from each of the others, but limiting what is avaliable for selection based upon the settings of the other parameters.

For example, the second parameter is the Report Type. It can be either "Hospital," or "SNF." But, not all Clinics, Care Managers or PCPs may have an entry in both types. So, if the user selects, say, "Hospital," all the parameters would alter their available and default values such that they only include options where the census shows they are a "Hospital" entry.But, not all Clinics in the most recent census may have both report types. So, if the end user selects a particular clinic, it would also recalculate the available and default values for Report Type, as well as those beneath it on the list. And, likewise for the remainder of the parameters.

My initial thought was to add WHERE statements to the datasets controlling each parameter, but SSRS keeps asking me to define the parameters when I click out of the dataset's properties. Now, I know that SSRS is a single pass process - and, I'll cross the bridge on adjusting parameters defined earlier in the list when I come to it - but I thought that parameters lower in the list would update, since they'd have their values defined.For instance, the Clinic parameter is after Report Type, so the code I used to set up Clinic was;

WITH Date_of_Most_Recent_Census AS
(
SELECT
MAX(Load_Date) AS [CurDate]
FROM
Census_Rpt_Final
)
SELECT DISTINCT

[code]....

But, this asks me to define @ReportType, even though it precedes Clinic on the parameter list.

View 2 Replies View Related

How Do I Pass Parameters In Reporting Services Over The Internet ?

Sep 15, 2007

I have developed some Reports using Reporting Services and I want to deploy them for access over the Internet.

These Reports allow the Users to specify parameters, such as Start and End Dates.

I am told that a User Interface has to be developed manually to provide this facility for some kind of security reason.

This seems very bizarre and the reason doesn€™t make much sense.

Is this really true ?

Thanks very much

Barry

View 19 Replies View Related

Reporting Services Parameters Not In Correct Order

Jan 17, 2007

Hi,

SQL Server Reporting Services 2005.

I have 13 parameters, ordered correctly within the Report Parameter screen.

When displayed in the Preview tab they are all ordered correctly, but when viewed in the application the first 4 are at the top but ordered incorrectly. The remainder are ordered correctly.

I have tried reordering, saving, deploying, viewing and then doing the same but in the correct order without any success.

Please can someone suggest how I can get the parameters to appear in the correct order within the application?

Thanking you,

dwemh

View 6 Replies View Related

Custom Arrangement Of Parameters In SQL Reporting Services

Oct 9, 2006

Hi,

I have problem with SQL Reporting Services, actually i want display the 3 parameters in a single line in a report i.e. in the while preview of the report and after deploying the report (by default it is showing 2 parameter per line). for example if have 6 parameters i wanted it display it in 2 rows and 3 columns format.

Please can any one help me in this regard.

Thanks

View 5 Replies View Related

Reporting Services :: SSRS JavaScript Pop Up - No Parameters

Nov 10, 2015

I am trying to open a pop up window in SSRS without any parameters (just need it to go to this report) and when I click on the link from the main report nothing happens. I have done countless numbers of these with passing parameters, just never without. Am I missing something painfully obvious? 

="javascript:void window.open(" &"'"& Globals!ReportServerUrl &"/Pages/ReportViewer.aspx?"&"/Billing Reports/links/ICDQuick)"

View 6 Replies View Related

Reporting Services :: Linking Parameters With Filters

Oct 16, 2015

I am creating a dashboard. It has two charts. One will utilize 'calendar year' data and other utilizes 'Fiscal Year' data.

I have 'CY start date', 'CY end date','FY start date', 'FY end date', 'Reference Date' columns in my data set.

I have a report parameter of date type that the user selects. When the user selects the date, I have to display the corresponding 'Fiscal Year' data for the entire year.

My question is, how can i filter the data set based on 'FY start date', 'FY end date' field values when i have only one Date parameter.

How can i get these data set field values based on parameter.

View 6 Replies View Related

Webservice Calls With Parameters From Reporting Services

May 21, 2007

I am trying to query a list in sharepoint using its lists.asmx webservice and in turn its GetListItems call. I currently have the call working using the following code in the Querystring for the report



<Query>
<Method Namespace="http://schemas.microsoft.com/sharepoint/soap/" Name="GetListItems"/>
<SoapAction>http://schemas.microsoft.com/sharepoint/soap/GetListItems</SoapAction>
</Query>



This seems to work fine except that the list has some empty fields in the first record and for some unbelivable reason they (the empty fields) do not get returned as part of the dataset unless i put a value into them. I then came across a parameter for GetListItems called viewFields which is supposed to . Tehn sample Soap request is shown as follows



<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlnsoap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<GetListItems xmlns="http://schemas.microsoft.com/sharepoint/soap/">
<listName>string</listName>
<viewName>string</viewName>
<query>
<xsdchema>schema</xsdchema>xml</query>
<viewFields>
<xsdchema>schema</xsdchema>xml</viewFields>
<rowLimit>string</rowLimit>
<queryOptions>
<xsdchema>schema</xsdchema>xml</queryOptions>
</GetListItems>
</soap:Body>
</soap:Envelope>





As i have a parameter for viewfields setup.... What value do i pass to it ??? My XML is in its infancy but i though something along the lines of the following would do as an input.



<FieldRef Name='Title'/><FieldRef Name='Address1'/>



Also, maybe i am going the wrong way about this.Is there an easier way of defining the Parameters as part of the Querystring or do Parameters always have to be setup in the parameters tab (My Parameter values are static and will never change).

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved