Sending Out Same Report But Different Parameters To Different People

Jan 25, 2008

i have a report that is specifc to a user (has a user parameter)

is there a way to send out a dynamic subscription where the report is sent to the user "BOB" using "BOB" as a parameter, and a report that is sent to the user "Sue", uses the parameter "sue"

is this possible - i hope im making some sort of sense

thank you in advance

Jonny

View 5 Replies


ADVERTISEMENT

Can 2 People View The Same Report Using Different Parameters At The Same Time?

Mar 7, 2006

Hi, I am using sql server 2005 entreprise edition. I am just wondering
when I have a report with parameters and the report uses stored
procedure to retrieve the result set for use in the report, if two
people from different places are trying to view the report at the same
time, and each of them use different set of parameters.

Will they be able to view their report correctly??

View 6 Replies View Related

Sending Parameters From Reporting Svcs To Web Methods

Jan 18, 2007

I have this:

[WebMethod]

public DataSet EeoReport(DateTime start, DateTime end)

{}



i want to know how to send the date time parameters to this from RS using XML data source.

basically i need the <Query></Query> XML used to make this happen. So far i'v eonly been able to statically create parameters, but that does me no good, i want the users to be able to pick a date range from RS dynamically to get the report.

THANKS!

View 5 Replies View Related

Problem Sending Date Parameters To Stored Procedure

Jun 30, 2006

Can anyone help,

I have a problem with calling my stored procedure in vb and passing in its parameters. the system is supposed to then use the store the procedures recordset and use this to pass into a crystal report.

I am getting the following message:
Procedure 'TestReport' expects parameters '@StartDate', which was not supplied.
This happens on the objCom.Execute line.

This is my code:
Dim CRXApplication As New CRAXDRT.Application
Dim CRXReport As CRAXDRT.Report
Dim CRXDatabase As CRAXDRT.Database

Set CRXReport = CRXApplication.OpenReport(APPConst.DatabasePath & stReport & ".rpt")

Dim objCom As adodb.Command
Set objCom = New adodb.Command
Dim prm_one As adodb.Parameter
Dim prm_two As adodb.Parameter
Dim prm_three As adodb.Parameter
Dim fdate, tdate As Date

Call CRXReport.Database.Tables(1).SetLogOnInfo("dell330", "Rota", "RotaAdmin", "dadcahadfu")
Set CRXDatabase = CRXReport.Database

fdate = cboFrom.Value
tdate = cboTo.Value
With objCom
.CommandText = "TestReport"
.CommandType = adCmdStoredProc
.ActiveConnection = cn.ConnectionString
Set prm_one = .CreateParameter("@StartDate", adDBTimeStamp, adParamInput, 8, fdate)
.Parameters.Append prm_one
Set prm_two = .CreateParameter("@EndDate", adDBTimeStamp, adParamInput, 8, tdate)
.Parameters.Append prm_two
Set prm_three = .CreateParameter("@Team", adInteger, adParamInput, 4, 2)
.Parameters.Append prm_three

.Parameters.Refresh
End With

Set SQLRecs = objCom.Execute
CRXReport.DiscardSavedData
CRXDatabase.SetDataSource SQLRecs, 3, 1

This is my Stored Procedure:
CREATE PROCEDURE [dbo].[TestReport] @StartDate datetime, @EndDate datetime, @Team int AS



SELECT dbo._Staff.UniqueName, 2 * DATEDIFF(day, @StartDate, dbo._StaffUnavailable.[Date]) + dbo._StaffUnavailable.TimeCode AS Expr1,
COUNT(dbo._StaffUnavailable.ID) AS CountOfID, dbo._StaffUnavailable.[Date], dbo._Team.Description AS Team, dbo._Staff.Team_ID
FROM dbo._Staff INNER JOIN
dbo._StaffUnavailable ON dbo._Staff.Staff_ID = dbo._StaffUnavailable.Staff_ID INNER JOIN
dbo._Team ON dbo._Staff.Team_ID = dbo._Team.ID
GROUP BY dbo._Staff.Staff_ID, dbo._Staff.UniqueName, 2 * DATEDIFF(day, @StartDate, dbo._StaffUnavailable.[Date]) + dbo._StaffUnavailable.TimeCode,
dbo._StaffUnavailable.[Date], dbo._Team.Description, dbo._Staff.Team_ID
Having Team_ID = @Team AND ([Date] >= @StartDate AND [Date] <= @EndDate)
GO

Thanks in advance

Ian.

View 4 Replies View Related

Sending Parts Of The Report

Feb 22, 2008



Hi,

I prepared a report including sale information of a company. There are different offices of the company in different locations. And in each offices there are more than 1 saleman. I have to send the report (but just the associated part of the report to the saleman, not the whole one) to each saleman and his/her manager. I prepared a subscriber data (name and mail addy) for each office. How can i send the associated part of the report to the salemen and his/her manager by using just the original report (I dont wanna seperate the report depending on the saleman and send each report one by one, cuz there are many offices and salemen)


Thank you

View 7 Replies View Related

Run Report By Different Parameters Without Having To Enter Information For All Parameters At Same Time

Oct 29, 2013

I have a SSRS report with four parameters,and I want to be able to enter information for two of the parameters and run the report opposed to all four of them. However, when I select allow blanks and only select the parameters that I want to run the report by, the report come back blank..Essentially, I want to be able to the run report by different parameters without having to enter information for all parameters at the same time.

View 2 Replies View Related

Sending An Alert When A Report Fails

Mar 8, 2007

I want to send an alert (email) to the subscriber of a report when the report fails to execute properly. I€™ve been looking through the documentation for RS 2005 and can not find how to set this functionality up.

View 1 Replies View Related

Report Auto Formatting And Sending

Oct 30, 2007

Hi,

Using SQL 2005 Reporting Services, with the click of one button in my custom report viewer, is there a way I can generate my report, format it into PDF and send it to an email address that is shown on the report itself. (Report run may generate 1 copy specific to each client...ie, I want one copy to email to each client, and not have to have the clients subscribe to the report).

Any idea?

Cheers
Jason

View 3 Replies View Related

Report Viewer Not Sending Credentials

Mar 6, 2008



I have implemented a ReportServerCredentials class in my code and the NetworkCredentials property is set up to pass a domain account. Usually this works fine but occasionaly the ReportViewer stops sending credentials to the report server resulting in the following error:

The request failed with HTTP status 401: Unauthorized.

The IIS logs on the ReportServer don't show any credentials being passed in on these requests.


When this happens in debug mode in Visual Studio, I usually have to create a new project and migrate my code into it to get it to start working again. When it happens on the web server, it seems to correct itself after a while.

It seems like this must be a bug in the ReportViewer or perhaps in IIS. Does anyone know of a work around or a patch?

Thanks.

View 1 Replies View Related

How Do I Jump To Another Report Based On A Value In My Current Report? Report Has No Parameters.

May 3, 2007

How do I jump to another report based on a value in my current report. The report that I am jumping from has no parameters, just values.

View 7 Replies View Related

Stop Subsciptions From Sending If The Report Has No Values

Dec 5, 2007

What would be the best way of setting up a subscription to not send, if the report is empty?


Do i need to write a new stored procedure that does a count or something? what would i do on the reporting serivices side?

View 1 Replies View Related

SQL Server 2014 :: Trigger A Report By Sending Email

Oct 18, 2015

I have a report that gets a Customer_Number parameter and sends a mail with that customer's data.I want my users to be able to get this report's results by sending an email to a certain email address with a customer number in the topic.

View 1 Replies View Related

Cannot Get Subscription Email When Including Report, But Can Get It When Just Sending Link

Jul 12, 2007

When I set up an email subscription for a report, I can get the email notification if I only include a link to the report, but get the generic "Failure sending mail: The report server has encountered a configuration error. See the report server log files for more information." error message when I attempt to include the actual report in the email; either as "Web Archive," or PDF." When I consult the ReportServer log file, I do not see any sort of exception that would indicate the true source of the error.



I have set the file security on the RSTempFiles folder to allow the IIS_WPG group to modify the folder, but when I looked into the RS config files, it looked as though SSRS wasn't configured to use temporary storage.



Any suggestions?



-Matthew

View 3 Replies View Related

Sending A Report Via Email Triggered From A Trigger On A Sql Table

Oct 24, 2006


My question is it possible to send a report developed in reporting services via email as either a attachment or imbedded in the email, from an insert trigger placed on a table in sql.
If so could you please help with the string that would be need to achieve this.
The report will need to have one or two parameters passed to it from the table.
The report is built and working through reporting services already. I was impressed with the subscription services that reporting services has in place and would like to utilise the reports further by auto emailing out when a new record is placed in the table. To be sent out either as an attachment or imbedded in the email it self.
Thanks for any assistance in advance
David

View 2 Replies View Related

Failure Sending Mail: An Error Has Occurred During Report Processing.

Dec 7, 2007



Hello.

Thanks for any help anyone can offer me.

I have SQL Server Reporting services on Windows 2000.

The reports seem to be working well, but I cannot get a subscription to work. The error I get is the one in the subject line.

I look into my log files and see these lines.

ReportingServicesService!emailextension!ab0!12/07/2007-15:02:07:: Error sending email. Microsoft.ReportingServices.Diagnostics.Utilities.RSException: An error has occurred during report processing. ---> Microsoft.ReportingServices.ReportProcessing.ProcessingAbortedException: An error has occurred during report processing. ---> System.Runtime.InteropServices.COMException (0x80090005): Bad Data.


Can anyone help me out with this one?

Thanks.

deep

View 6 Replies View Related

How To Pass Parameters In Url For A Report Published In Reportserver (report Built On Stocked Procedure) ?

Apr 30, 2007

Hi,



I have created a report with the report server project template.

the report is created from stoked procedure having defaut input parameters.

With visual studio, i publish my report on reportserver. whenever i access to my report on this url :

http://localhost/ReportServer/Pages/ReportViewer.aspx?%2fReport+Project4%2fReport4&rs:Command=Render. the created report is with the default parameters.



I would like to know if i can transmet parameters for the stocked procedure to build the report with the request i want.


I tried to put parameter directly in the url in this way

http://localhost/ReportServer/Pages/ReportViewer.aspx?%2fReport+Project4%2fReport4&rs:Command=Render&@region='toto'

but without success.

my error message is that one

An attempt was made to set a report parameter '@region' that is not defined in this report. (rsUnknownReportParameter)





My stocked procedure is :

set ANSI_NULLS ON
set QUOTED_IDENTIFIER ON
go
ALTER procedure [dbo].[akli] @region varchar ='m'
as
select * from dbo.Report2 where region=@region

The request used to buid the report ?
DECLARE @region varchar
EXECUTE dbo.akli @region


What is wrong in that ?

Thanks for your help.

Arioule

View 1 Replies View Related

Passing Report Parameters To An SSRS 2005 Report Hosted In Sharepoint 2007

Nov 18, 2007

Here is a situation in my company:

We have an Office SharePoint 2007 site, we developed a couple of web parts and added them to our site. We used SQL Server Reporting services 2005 as our reporting solution. The reports are hosted on the report center and when we need a report, we open it by sending a URL requesting the report, passing the report parameters in the URL query string. So the report is filtered based on the parameters passed from the web parts.

But since best practices say that you should host reports directly under SharePoint, by configuring the reporting services to run in the SharePoint integrated mode. We followed the steps and installed SharePointRS and we finally succeeded to publish the reports to a SharePoint folder, but we had a limitation: we are unable to pass the report parameters internally to the report hosted in SharePoint. If we passed them in the query string as the report center case, SharePoint neglects them totally.
So the question is: how can I pass parameters internally between a SharePoint web part and a SQL server 2005 reporting services report hosted in SharePoint?

View 1 Replies View Related

Reporting Services :: Passing Cascaded Parameters From Main Report To Drill Through Report In SSRS?

Sep 16, 2015

I am trying to develop a report from cube,and it has one drill through report.when i click on sales amount field on main report,then it open the drill through report with details.Here i passed the **(category,subcat,product)parameters(Cascaded)** to drill through report in action part of main report.In my main report i have two columns .

columns are **Level**  and              **Salesamount**.  

Values are like  

**[-]category**              **100**
    **[-]subcat**             **50**
         **product**          **30**

when i click on 100, parameters are passed & it open the detail report correctly, but when i click on 50,the values for subcat parameter is not getting values in detail report and same as the product also.

Here i used the expressions in parameter values

**pCategory**----iif(inscope(category),!fields.category.value,split(join(Parameters!category.value,","),","))

**psubcat**----iif(inscope(subcat),!fields.subcat.value,split(join(Parameters!subcat.value,","),","))

**pproduct**----iif(inscope(product),!fields.product.value,split(join(Parameters!product.value,","),","))

View 3 Replies View Related

Reporting Services :: Way To Subscribe SSRS Report Using Dynamic Parameters For Email And Trigger Report

Feb 8, 2015

Is there a way to subscribe SSRS report using dynamic parameters for email and trigger the report from autosys job so that report should generate the exact time the job is triggered.Let me describe, my SSRS report should be triggered on success of one autosys job. i need to send email parameter and time of report schedule from this autosys job.

View 3 Replies View Related

How To Pass Parameters From Report Viewer To Report Server

Mar 28, 2008

Hi,

I am having hard time in sending parameters to the report server through reportviewer control from my application. Could anybody help me on this issue?. Is there any way to send the parameters and also what kind of configuration do i need on my report project so that it can accept parameters from my application.


Thanks,

View 9 Replies View Related

Pass The Parameters From Main Report To Drillthrough Report

Nov 28, 2007

Good morning, all

I have a really cool Budget report which has two matrices on it. One is used/visible if the user selects four levels of grouping, and one is used if the user selects only three levels of grouping. The four choices for grouping are four fields, Par, FERC, Point, and Resource.

Since grouping is optional, I need a way to pass the parameter for a field that is not grouped on from the main report to the drillthrough report. For example if the user chooses to group on all fields but Point, I need to pass the report parameter that was used by the main report for Point to the drillthrough report as a report parameter.

So, I tried testing the three grouping levels values and if none were equal to "Point" then pass in the parameter by putting the following expression in the Parameter Value box for the Point parameter on the Navigation tab of the datacell of the main report that is the drillthrough link:


=iif(
Parameters!GroupLevel1.Value <> "Point"
and
Parameters!GroupLevel2.Value<>"Point"
and
Parameters!GroupLevel3.Value<>"Point"
,
Join(Parameters!PNTPoint.Value,",")
,
Fields!Point.UniqueName
)

But this is not working; the drillthrough report shows a blank dropdown for the Point parameter and I have to manually set it. Does anyone see an error in the syntax of the iif statement?

Any references, links, resources or good clean jokes would be greatly appreciated.

Thanks,
Kathryn

View 1 Replies View Related

Parameters Filtering In Report Server Project Report.

Oct 22, 2007

Dear All,

Is it possible to poplulate some control like Dropdownlist (for example, with Product names Or Product Ids) from database table in SSRS project type and then filter report by choosing various choice pre-populated in dropdownlist control.

Project Type is : SQL Server Reportings 2005.

Desired Action: Report will run in browser, User will choose specific product and Run the report(filter) to show that product relate results.

any help,

Thanks,

View 4 Replies View Related

Customise Report Parameters In Report Manager

Feb 7, 2007

Is it possible to add custom controls in for parameters in report manager??

I have a parameter that requires the user to click a button and select a bunch of things in another form. How can i do this in reporting services??

I also would like to change the layout of the parameters toolbar, ie. make text boxes smaller widths, show/hide parameters based on other parameter values.

I know i could write my own web page that does this and hide the parameters toolbar when they run the report, but this would mean that we lose other functionality that report manager has, eg. scheduling.

Does anyone know if customising the report manager will become available in a later version??

View 1 Replies View Related

Report Parameters And Jump To Report

Jan 15, 2007

Greetings,

I have two reports, Report A and Report B.

Report A has two parameters defined as "Prompted", meaning the report input area is available for the user.

Report A parameters ---> StartDate, EndDate

When Report B invokes Report A using the Jump To Report Functionality and passing Report B's StartDate and EndDate parameters, Report A seems to think the parameters are implied and not needed and fails to drop down the parameter input area.

This is not desired because the user should be able to change report A's parameters. 

Anyone know a workaround? 

 

View 1 Replies View Related

Subscription Error : Failure Sending Mail: An Error Has Occurred During Report Processing

Nov 16, 2007



Hello,

On the development server, I am trying to work with subscriptions . Report Server is windows authenticated.

When no paramters exist for the report, the sucbscription is successful.
But if there are paramters for the report, email delivery fails.

These are not data driven subscriptions.

Did anyone face the same problem ? Can anyone tell me where to start debugging since logfiles just say failure to send the email.

Thanks,
SqlNew

View 2 Replies View Related

Report Parameters

Oct 15, 2007



hi there

I am using Reporting Services 2005.

I have 3 report parameters: startdate, enddate, callstatus

My problem is that once I added callstatus to the parameter list my dates were ignored?

What do I need to do to correct it?


My select code is as below:

SELECT Ticket.TicketNumber, Application.ApplicationName, Status.StatusName, Ticket.LastModifiedBy, CONVERT(datetime, Ticket.CreatedDate),
Company.CompanyName
FROM Ticket INNER JOIN
Application ON Ticket.ApplicationID = Application.ApplicationID INNER JOIN
Status ON Ticket.StatusID = Status.StatusID INNER JOIN
Company ON Application.CompanyID = Company.CompanyID
WHERE (CONVERT(datetime, Ticket.CreatedDate) >= @StartDate) AND (CONVERT(datetime, Ticket.CreatedDate) <= @EndDate) AND
(Status.StatusName IN (@CallStatus)) OR
('SELECT ALL' IN (@CallStatus))

My report Parameters have the values listed in the Non-queried part on report parameters

thanks
Dianne

View 3 Replies View Related

Report Parameters BUG!

Sep 19, 2007


Why is it that EVERY TIME you make any change at all to a data set or parameter, RS automatically changes your parameters from single value to Multi-value????

This is VERY annoying.

View 3 Replies View Related

Report Parameters

Jun 7, 2007

Is there a way to force report designer overlook parameter dependencies, so that a report could be displayed by either of the two parameters although one parameter accepts but not requires the other?



For Example:

In my report I have two parameters, DeptID and ProjectID. The two drop downs display Departments and Projects respectively but only if the department is selected, the Projects list becomes active as its expecting a DepartmentID in the stored proc but accepts a null value as well. So, what I would like to achieve is display ALL projects in the Projects list, even if no department is selected. Any ideas how to do that?



Thanks.

View 2 Replies View Related

MDX Report Parameters

Jan 15, 2008

Hello,

I have an mdx report that uses 7 parameters.
How do I stop the parameters from being dependent on one another and cascading?
When a user changes a parameter value, the flashing and repopulating of the other parameter boxes takes longer than the actual report to run.

I've tried removing the dependencies from the parameter dataset mdx code as well as edititng the parameter datasets and removing the dependencies.

Is cascading parameter relationships a default by design?

Any insight would be appreciated.

Thank you.

View 5 Replies View Related

How To Set The Following Report Parameters?

Aug 8, 2007



Hi,
I have a report and the parameters Passed to the report are Cusip and PeriodId through a stored Procedure.

i want to populate the cusip Parameters using a dataset thats got by a sproc called usp_getCusips.

and the PerioId using a dataset thats been got by another sproc called usp_Getperiods...


So in my report i have added 3 datasets one for the main report, one to get the values of the PeriodId and other to get the value of the cusip.

So in my Report parameters for the Parameter Cusip and i have checked the Available value option and selected its corresponding Dataset and value .

and i have also done the same thing for the PeriodId.. But when i run my sproc i am getting this Error.


[rsInvalidReportParameterDependency] The report parameter €˜Cusip€™ has a DefaultValue or a ValidValue that depends on the report parameter €œCusip€?. Forward dependencies are not valid.


[rsInvalidReportParameterDependency] The report parameter €˜PeriodId€™ has a DefaultValue or a ValidValue that depends on the report parameter €œPeriodId€?. Forward dependencies are not valid.


Any Help will be appreciated.

Regards,
Karen

View 7 Replies View Related

Report Parameters

Feb 21, 2008

I've had a report working that uses a parameter that allows null values. So, of course, I have the "Allow Null Values" flag checked on the parameters dialog for the respective parameter. But recently I changed the "Available values" option for the parameter to "From Query" but then I lose the ability to allow a null value! Why is this happening? Why are they mutually exclusive?

View 1 Replies View Related

One Or More Parameters Required To Run The Report

May 12, 2008

I am doing report development against cube. I have a main report and a sub report in the main report. I am collecting the parameters in the main report and passing into sub report which has the same exact parameters. (I am assigning parameters to the sub report from the Fields collection. If I assign from the Parameter collection, it works fine, but I need to do based on Fields collection because I have my grouping like that)

I am getting the error above, what could I be doing wrong?

View 1 Replies View Related

Report Server Parameters

Nov 16, 2007

Hi all,

I'm writing a web interface and calling reports from report server. I first used the ReportViewer control. But it seemed to be impressively faster to directly call the report URL and link that directly in a frame.

This all works fine. But I want to dynamically add the parameter values that are used by the report in my URL string. To find out those, I have written a stored procedure:

CREATE PROCEDURE dbo.spIIMGetReportParameters
@sReportname varchar(255)
AS
BEGIN
SET NOCOUNT ON;
DECLARE @xmlParameter xml
SELECT @xmlParameter =
(SELECT Parameter
FROM [catalog]
WHERE [Name] = @sReportname)
SELECT parameter.Name.value('.','nvarchar(50)') AS ParameterName
FROM @xmlParameter.nodes('/Parameters/Parameter/Name') as parameter(Name)
END

Then I loop through the result and add parameters to the Url string.
But sometimes I get parameters that are not needed.

Is there another way to find at runtime which parameters a report expects?

Thanks,
Jan

View 1 Replies View Related







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