Showing posts with label reports. Show all posts
Showing posts with label reports. Show all posts

Sunday, March 11, 2012

drop down parameter question.

We have a bunch of reports that take a parameter from outside the normal
reporting services parameter window.
I understand that for security reason we cannot pass that parameter on the
querystring unless a reportparameter is defined. I therefore had to display a
drop down box with all the possible values.
Question is can I hide that box and its label?
I have managed to hide it from reportingservices manager, but not in a
browser whn just passing a url.
e.g.
http://dsdev2/Reports/Pages/Report.aspx?ItemPath= Works
but http://dsdev2/reportserver?...&rs:Command=Render&SurveyId=1
does not.
The way I got this to work is by changing ReportingService.css and adding a
behaviour.
e.g:
table.msrs-contentFrame IFRAME {
behavior: url(../js/CustomParameters.htc);
}
Any Idea anyone.Remove the Prompt for the parameter.
--
| Thread-Topic: drop down parameter question.
| thread-index: AcUgvQSDe1jZy1lbQDy/S6JkRqOmEw==| X-WBNR-Posting-Host: 62.188.58.81
| From: "=?Utf-8?B?RnJlZA==?=" <Fred@.discussions.microsoft.com>
| Subject: drop down parameter question.
| Date: Fri, 4 Mar 2005 05:21:04 -0800
| Lines: 28
| Message-ID: <84E65958-73A2-4F98-88B3-17B1E4D920B4@.microsoft.com>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="Utf-8"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| Content-Class: urn:content-classes:message
| Importance: normal
| Priority: normal
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
| Newsgroups: microsoft.public.sqlserver.reportingsvcs
| NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.1.29
| Path:
TK2MSFTNGXA02.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGXA
03.phx.gbl
| Xref: TK2MSFTNGXA02.phx.gbl microsoft.public.sqlserver.reportingsvcs:44592
| X-Tomcat-NG: microsoft.public.sqlserver.reportingsvcs
|
| We have a bunch of reports that take a parameter from outside the normal
| reporting services parameter window.
|
| I understand that for security reason we cannot pass that parameter on
the
| querystring unless a reportparameter is defined. I therefore had to
display a
| drop down box with all the possible values.
|
| Question is can I hide that box and its label?
|
| I have managed to hide it from reportingservices manager, but not in a
| browser whn just passing a url.
| e.g.
| http://dsdev2/Reports/Pages/Report.aspx?ItemPath=
| Works
| but http://dsdev2/reportserver?...&rs:Command=Render&SurveyId=1
| does not.
|
| The way I got this to work is by changing ReportingService.css and adding
a
| behaviour.
| e.g:
| table.msrs-contentFrame IFRAME {
| behavior: url(../js/CustomParameters.htc);
| }
|
| Any Idea anyone.
|
|
|
|

Friday, February 24, 2012

Drillthroughs and report viewers

I'm fairly new to the Reporting Services world and I'm having some
difficulties with getting my drillthrough reports to open within the
same report viewer as its parent report.
Currently, I'm using the "Jump to URL:" navigation feature with the
URL:
http://localhost/Telecomm/WirelessAcctReports.aspx?ReportName=MinutesDrillDown.rdl&YearMonth=200408&rs:ClearSession=true&rc:parameters=false
This will bring up the page WirelessAcctReports with the viewer on it,
but not the report. I've also tried putting brackets around the report
name
http://localhost/Telecomm/WirelessAcctReports.aspx?ReportName=<MinutesDrillDown.rdl&YearMonth=200408&rs:ClearSession=true&rc:parameters=false>
but this gives me the error:
A potentially dangerous Request.QueryString value was detected from
the client (ReportName="<MinutesDrillDown.rd...").
What to I need to do to get this to work.
Also, eventually I will need to pass a parm for YearMonth. Will the
URL accept the Parameters!YearMonth.Value or will I have to pass it a
different way? thanks in advance.
JonathanJonathan,
Try using the "jump to report" as the action. You mentioned that you
will have a detail report that you will pass a parameter to. For example: I
have a report that shows a graph of number customers by geography in a pie
chart. When you select a pie slice (ie United States) then the action it
takes is to drill thru to the detail report displaying the customers for the
United States (parameter passed from the pie chart). I think this is what
you ultimately want to do based upon your posting. Once you define the
detail report (in my case the customer detail - which takes a parameter of
geography) ... then you can select that report to jump to and you can select
what field to pass from the first report as the parameter value for the
detail report. I hope this helps.
"Jonathan" wrote:
> I'm fairly new to the Reporting Services world and I'm having some
> difficulties with getting my drillthrough reports to open within the
> same report viewer as its parent report.
> Currently, I'm using the "Jump to URL:" navigation feature with the
> URL:
> http://localhost/Telecomm/WirelessAcctReports.aspx?ReportName=MinutesDrillDown.rdl&YearMonth=200408&rs:ClearSession=true&rc:parameters=false
> This will bring up the page WirelessAcctReports with the viewer on it,
> but not the report. I've also tried putting brackets around the report
> name
> http://localhost/Telecomm/WirelessAcctReports.aspx?ReportName=<MinutesDrillDown.rdl&YearMonth=200408&rs:ClearSession=true&rc:parameters=false>
> but this gives me the error:
> A potentially dangerous Request.QueryString value was detected from
> the client (ReportName="<MinutesDrillDown.rd...").
> What to I need to do to get this to work.
> Also, eventually I will need to pass a parm for YearMonth. Will the
> URL accept the Parameters!YearMonth.Value or will I have to pass it a
> different way? thanks in advance.
> Jonathan
>

Drillthrough Reports not working in Webforms Report Viewer Control

I am using SSRS 2005.
I created a report (Report A) which links to another report (Report B). The
drillthrough works fine both in Visual Studio and via Report Manager.
I have an ASP.NET application which uses the Report Viewer Control to
display Report A. When I click the links in Report A to go to Report B, the
Report Viewer Control/IE shows the hour glass as if something is about to
happen, refreshes the page but still displays Report A.
Obviously the link is set up properly and the reports work since linking
from Report A to Report B works fine from Report Manager.
Are there any known issues with Drillthrough Reports not working in Webforms
Report Viewer Control? Are there any special considerations I should know
about? Any special set up I should be doing?
Any help with this will be greatly appreciated.
--
Chris, SSSIHello Chris,
I have tested on my side that the Drillthrough report works fine on my side.
Here are the steps:
1. Create a new Web Site in the VS 2005.
2. Drag a Report View Control to the Web Page.
3. Click the triangle in the right-up of the Report View Control.
4. Enter the Report Server name and the Report Path of the Drillthough
report.
5. Run the solution and the Drillthough report works fine.
Please try the steps on your side and let me know the result.
Sincerely,
Wei Lu
Microsoft Online Community Support
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.
Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================(This posting is provided "AS IS", with no warranties, and confers no
rights.)|||Wei Lu,
According to your steps I am doing everything correctly, but as I mentioned
in my intial post this is not working.
Can you please answer these questions from my original post:
1) Are there any known issues with Drillthrough Reports not working in
Webforms
Report Viewer Control?
2) Are there any special considerations I should know about?
3) Any special set up I should be doing?
4) What could explain this behavior of the report links not working *ONLY*
in the Report Viewer Control?
Thanks!
-- Chris
Chris, SSSI
"Wei Lu [MSFT]" wrote:
> Hello Chris,
> I have tested on my side that the Drillthrough report works fine on my side.
> Here are the steps:
> 1. Create a new Web Site in the VS 2005.
> 2. Drag a Report View Control to the Web Page.
> 3. Click the triangle in the right-up of the Report View Control.
> 4. Enter the Report Server name and the Report Path of the Drillthough
> report.
> 5. Run the solution and the Drillthough report works fine.
> Please try the steps on your side and let me know the result.
> Sincerely,
> Wei Lu
> Microsoft Online Community Support
> ==================================================> Get notification to my posts through email? Please refer to
> http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
> ications.
> Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
> where an initial response from the community or a Microsoft Support
> Engineer within 1 business day is acceptable. Please note that each follow
> up response may take approximately 2 business days as the support
> professional working with you may need further investigation to reach the
> most efficient resolution. The offering is not appropriate for situations
> that require urgent, real-time or phone-based interactions or complex
> project analysis and dump analysis issues. Issues of this nature are best
> handled working with a dedicated Microsoft Support Engineer by contacting
> Microsoft Customer Support Services (CSS) at
> http://msdn.microsoft.com/subscriptions/support/default.aspx.
> ==================================================> (This posting is provided "AS IS", with no warranties, and confers no
> rights.)
>|||I don't see any attachment. Is it supposed to be attached to your reply?
--
Chris, SSSI
"Wei Lu [MSFT]" wrote:
> Hello Chris,
> So far as I know, there is not any known issue with Drillthrough Reports
> not working in Webforms Report Viewer Control.
> The only thing I do in the VS project is add the ReportViewer control:
> <rsweb:ReportViewer ID="ReportViewer1" runat="server"
> Font-Names="Verdana" Font-Size="8pt"
> Height="400px" ProcessingMode="Remote" Width="692px" >
> <ServerReport ReportPath="/ReportDemo/Drillthrough" />
> </rsweb:ReportViewer>
> The attachement is the sample aspx page.
> Please let me know does this works on your side.
> Sincerely,
> Wei Lu
> Microsoft Online Community Support|||Hello Chris,
OK. I will post the HTML Code of the aspx Page.
============================<%@. Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs"
Inherits="_Default" %>
<%@. Register Assembly="Microsoft.ReportViewer.WebForms, Version=8.0.0.0,
Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
Namespace="Microsoft.Reporting.WebForms" TagPrefix="rsweb" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"">http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>Untitled Page</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<rsweb:ReportViewer ID="ReportViewer1" runat="server"
Font-Names="Verdana" Font-Size="8pt"
Height="400px" ProcessingMode="Remote" Width="692px"
DocumentMapCollapsed="True">
<ServerReport ReportPath="/ReportDemo/MultiParameter" />
</rsweb:ReportViewer>
</div>
</form>
</body>
</html>
=============================
Hope this will be helpful!
Sincerely,
Wei Lu
Microsoft Online Community Support|||Hi ,
How is everything going? Please feel free to let me know if you need any
assistance.
Sincerely,
Wei Lu
Microsoft Online Community Support|||Hi,
It turns out I created my own problem. Chalk it up to lack of experience
with ASP.NET apps. ;-)
The problem was I have code in my code behind page to configure the Report
Viewer control, but I was not checking for a post back condition. When the
user clicks a link to a drill through report a post back is done. As a result
my code behind page was reinitializing the Report Viewer on every user click.
Once I moved that Report Viewer set up code inside a check for "not
postback" everything worked fine.
--
Chris, SSSI
"Wei Lu [MSFT]" wrote:
> Hi ,
> How is everything going? Please feel free to let me know if you need any
> assistance.
> Sincerely,
> Wei Lu
> Microsoft Online Community Support
>

Sunday, February 19, 2012

Drill-through report

Hi,
I am trying to set up drill-through reports by passing parameters from
one report to the next.
The first layer works: when the user clicks on the field (the
department in this case) the second report comes up for that
department.
But when I try to pass the same parameter to the third report from a
text box, I get a warning: 'The expression referenced a non-existing
field in the fields collection.' The field is listed in the Fields
list and the text box is referencing it using the aggregate function:
=First(Fields!x_department.Value, "DataSetName")
What am I doing wrong? Thanks for any help you can provide...Is the "DataSetName" a part of the third report?
"Hella" wrote:
> Hi,
> I am trying to set up drill-through reports by passing parameters from
> one report to the next.
> The first layer works: when the user clicks on the field (the
> department in this case) the second report comes up for that
> department.
> But when I try to pass the same parameter to the third report from a
> text box, I get a warning: 'The expression referenced a non-existing
> field in the fields collection.' The field is listed in the Fields
> list and the text box is referencing it using the aggregate function:
> =First(Fields!x_department.Value, "DataSetName")
> What am I doing wrong? Thanks for any help you can provide...
>|||well it's a well known problem.
Insted of using Jump to Report use the Jump to URL.
"Ben Sullins" wrote:
> Is the "DataSetName" a part of the third report?
> "Hella" wrote:
> > Hi,
> >
> > I am trying to set up drill-through reports by passing parameters from
> > one report to the next.
> > The first layer works: when the user clicks on the field (the
> > department in this case) the second report comes up for that
> > department.
> > But when I try to pass the same parameter to the third report from a
> > text box, I get a warning: 'The expression referenced a non-existing
> > field in the fields collection.' The field is listed in the Fields
> > list and the text box is referencing it using the aggregate function:
> > =First(Fields!x_department.Value, "DataSetName")
> >
> > What am I doing wrong? Thanks for any help you can provide...
> >
> >|||Thanks for responding!
I am finally able to try the 'Jump to URL', but the parameter is still
not getting passed.
This is what I have in the URL:
=Globals!ReportServerUrl &
"/Incoming+Types+By+Department/Quarterly+Incoming&Department="+=First(Fields!x_department.Value,
"MonthlyIncoming")
I tried using the Parameter!Department.Value instead of First(Fields!
etc.) but it doesn't work either - (FYI: the report parameter is also
defined in the third report.)
The field x_department is being passed from the parent report (Incoming
Types By Department) to the first child report (Monthly Incoming). It
is the field I am trying to pass to the third report (Quarterly
Incoming.) from the 'Monthly Incoming' report.
Thanks!|||Never mind! it works now.
For whoever might be interested, this is the URL I entered in the Jump
to Url box:
=Globals!ReportServerUrl & "?" & Globals!ReportFolder & "/Quarterly
Incoming" & "&Department="&Parameters!Department.Value
Hella

Drillthrough problems with Reporting services in Integrated Mode

We have started to use reporting services in integrated mode with windows sharepoint. Since this installation the drillthrough reports have stopped working. We get the following error when a hyperlink is cllicked:-

  • The item 'http://vtrends/reports/IslandRegionCountryState' cannot be found. (rsItemNotFound)

    In the textbox properties we have set the 'Jump to Report' hyperlink option to use a condition. Based on the link clicked, one of two reports will be displayed. If i remove this condition and manually select the report to run then there are no problems. This however is not the functionality that is needed.

    Any help will be appreciated.

    In WSS mode, the report path is completely different. It must reference the report location in the WSS library wherethe report is deployed. See this blog for more details.
  • drillthrough problems with remote reports

    After spending some time searching the forums for other people with these same issues, I've come up empty handed and decided it was time to make a post. I'm using the VS2005 WebForms ReportViewer object to embed remote (i.e. not using rdlc) reports on an asp.net page. When the page is first rendered, I have code to set the ServerReport.ReportPath property to the location of a parent-level report on my report server. Each record in this report has a drillthrough link to another server report, and each record in this detail-level report has ANOTHER drillthrough link to a third report that is an even more detailed view of the data. So in short, I have a set of drillthrough reports that can go three levels deep and the top-level report is rendered by default when the page is first viewed.

    The behavior that I would expect is that when I click on the drillthrough links in the first or second report, the ReportViewer would incur a postback and automatically do the plumbing to render the appropriate drillthrough report with the proper parameters passed in by the parent report. I would also expect the "back" button in the ReportViewer toolbar to correctly navigate back up the tree to the top-level parent report without any additional programming.

    The behavior that I'm ACTUALLY seeing is that the drillthrough works fine from TopLevelReport to MidLevelReport works fine, but when I click to drillthrough from MidLevelReport to BottomLevelReport, the ReportViewer re-renders MidLevelReport with different parameters, as if I had gone back to TopLevelReport and clicked on a different record. However, if at this point I click on a drillthrough link in the new rendering of MidLevelReport, it correctly navigates to BottomLevelReport.

    Also, the back button functionality is unpredictable; sometimes I receive this exception when clicking the back button from MidLevelReport:

    System.InvalidOperationException: Back call without drillthrough report at Microsoft.Reporting.WebForms.ReportViewer.Toolbar_Back(Object sender, EventArgs e) at Microsoft.Reporting.WebForms.ToolbarControl.OnBack(Object sender, EventArgs e) at Microsoft.Reporting.WebForms.BackGroup.BackButton_Click(Object sender, EventArgs e) at Microsoft.Reporting.WebForms.ScriptSwitchImage.EnabledImage_Click(Object sender, EventArgs e) at Microsoft.Reporting.WebForms.HoverImage.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

    When clicking the back button on BottomLevelReport, instead of throwing the above exception it correctly navigates back to MidLevelReport, but then the back button is disabled and I can't go back up to TopLevelReport.

    I've experimented with hooking into the ReportViewer.DrillThrough and ReportViewer.Back events to see if maybe I'm just expecting the ReportViewer to handle some under-the-hood plumbing that I'm supposed to code myself, such as updating the value of ServerReport.ReportPath or calling ServerReport.Refresh. I won't go into lengthy details of all the combinations of coding I've tried, but all of them introduced some sort of incorrect navigation behavior or outright exceptions. What I really need is for somebody experienced with using ReportViewer to display remote drillthrough reports more than two levels deep to tell me exactly what I need to do in my DrillThrough and/or Back event handlers in order to make the ReportViewer behave in the expected way.

    Thanks in advance to anybody who replies; I've been stuck on this problem for a couple of days now and I'm starting to consider abandoning the idea of using ReportViewer for this project.

    vigg:

    After spending some time searching the forums for other people with these same issues, I've come up empty handed and decided it was time to make a post. I'm using the VS2005 WebForms ReportViewer object to embed remote (i.e. not using rdlc) reports on an asp.net page. When the page is first rendered, I have code to set the ServerReport.ReportPath property to the location of a parent-level report on my report server. Each record in this report has a drillthrough link to another server report, and each record in this detail-level report has ANOTHER drillthrough link to a third report that is an even more detailed view of the data. So in short, I have a set of drillthrough reports that can go three levels deep and the top-level report is rendered by default when the page is first viewed.

    The behavior that I would expect is that when I click on the drillthrough links in the first or second report, the ReportViewer would incur a postback and automatically do the plumbing to render the appropriate drillthrough report with the proper parameters passed in by the parent report. I would also expect the "back" button in the ReportViewer toolbar to correctly navigate back up the tree to the top-level parent report without any additional programming.

    The behavior that I'm ACTUALLY seeing is that the drillthrough works fine from TopLevelReport to MidLevelReport works fine, but when I click to drillthrough from MidLevelReport to BottomLevelReport, the ReportViewer re-renders MidLevelReport with different parameters, as if I had gone back to TopLevelReport and clicked on a different record. However, if at this point I click on a drillthrough link in the new rendering of MidLevelReport, it correctly navigates to BottomLevelReport.

    Also, the back button functionality is unpredictable; sometimes I receive this exception when clicking the back button from MidLevelReport:

    System.InvalidOperationException: Back call without drillthrough report at Microsoft.Reporting.WebForms.ReportViewer.Toolbar_Back(Object sender, EventArgs e) at Microsoft.Reporting.WebForms.ToolbarControl.OnBack(Object sender, EventArgs e) at Microsoft.Reporting.WebForms.BackGroup.BackButton_Click(Object sender, EventArgs e) at Microsoft.Reporting.WebForms.ScriptSwitchImage.EnabledImage_Click(Object sender, EventArgs e) at Microsoft.Reporting.WebForms.HoverImage.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

    When clicking the back button on BottomLevelReport, instead of throwing the above exception it correctly navigates back to MidLevelReport, but then the back button is disabled and I can't go back up to TopLevelReport.

    I've experimented with hooking into the ReportViewer.DrillThrough and ReportViewer.Back events to see if maybe I'm just expecting the ReportViewer to handle some under-the-hood plumbing that I'm supposed to code myself, such as updating the value of ServerReport.ReportPath or calling ServerReport.Refresh. I won't go into lengthy details of all the combinations of coding I've tried, but all of them introduced some sort of incorrect navigation behavior or outright exceptions. What I really need is for somebody experienced with using ReportViewer to display remote drillthrough reports more than two levels deep to tell me exactly what I need to do in my DrillThrough and/or Back event handlers in order to make the ReportViewer behave in the expected way.

    Thanks in advance to anybody who replies; I've been stuck on this problem for a couple of days now and I'm starting to consider abandoning the idea of using ReportViewer for this project.

    I am facing the exact same issues and am in the same boat. Depending on whether these multilevel drillthrough server reports work properly, I might abandon or use the Reportviewer for this project. its very crucial.

    I am also having another issue. In my "mid level drill through report", the Dundas chart that i am using isnt showing either. It shows when its not a drillthrough but the top level report. But not in the drillthrough mode. HELP PLEASE !!

    |||

    I try this before and it works perfectly but i don't get your problem exactly so i advice you to check the examples in this link

    http://www.gotreportviewer.com/

    |||

    Same issue here, with a variation...

    I've got a report that takes a parameter, and another similar report without a parameter. Both have drillthroughs to detail reports. On the report without the parameter, the drillthrough works just fine. On the report *with* the parameter, clicking on the drillthrough link simply reloads the page. It does a postback, the event targets appear to be set, but the drillthrough event does not get fired. I discovered that the very fact that I am setting the parameters (eg, ReportViewer1.ServerReport.SetParameters(_params)) is causing the drillthrough event to not fire--I set the parameters on one of the non-parameterized reports to an empty list of parameters, and behold, the drillthrough event is no longer fired.

    Is this a bug with the report viewer, or is there another way to set parameters that doesn't break the drillthrough event? I've tried setting the callback both before and after the parameters are set, so I'm really out of ideas.

    Drillthrough not working!

    Hello everyone!

    I am using VS 2005, with SQL 2000. My reports are displaying fine, but i am trying to have a drillthrough report. So basically display one report and once i click on a certain element within the report, it should take me to that specific report, i.e that parameter is passed.

    I have rooted through the internet to find a couple of examples which do the same, but these examples use XML as the datasource but I am using a dataset (.xsd) file and cannot get my head around how to interact with this and reload the dataset onto the ReportViewer based on the DrillThrough event the user selects.

    The code using the xml file is below, can someone help me to convert this to get it to read data from the xsd file. Both my dataTableAdapters are in the same Dataset. xsd file. I am fairly new at .NET but even i know that this has to be possible.

    Cheers,

    Munira

    private DataTable LoadEmployeesData()

    {

    DataSet dataSet = new DataSet();

    dataSet.ReadXml(@."c:\My Reports\employees.xml");

    return dataSet.Tables[0];

    }

    private DataTable LoadDepartmentsData()

    {

    //This is the bit that needs to change inorder to read from an xsd file

    DataSet dataSet = new DataSet();

    dataSet.ReadXml(@."c:\My Reports\departments.xml");

    return dataSet.Tables[0];

    }

    void DemoDrillthroughEventHandler(object sender, DrillthroughEventArgs e)

    {

    LocalReport localReport = (LocalReport)e.Report;

    localReport.DataSources.Add(new ReportDataSource("Employees",

    LoadEmployeesData()));

    }

    protected void Page_Load(object sender, EventArgs e)

    {

    if (!IsPostBack)

    {

    // On initial page load

    ReportViewer1.LocalReport.ReportPath = @."c:\My Reports\Departments.rdlc";

    // Supply a DataTable corresponding to each report data source.

    ReportViewer1.LocalReport.DataSources.Add(

    new ReportDataSource("Departments", LoadDepartmentsData()));

    }

    // Add the handler for drillthrough.

    ReportViewer1.Drillthrough += new DrillthroughEventHandler(DemoDrillthroughEventHandler);

    }

    Hello all!

    I managed to solve my problem after quite a bit of frustration...so I thought that this little check list might be helpful to someone else facing a similar problem.

    Ok things to do inorder to make drill down reports work.

    1. In the second report (the drillthrough report) add the parameter to the report, in the rdlc page.

    2. In the main report, go to the element that you want to click on, the textbox, and make the navigation properties to jump to the second report, also remember to set the parameter in that dialogue box!

    3. Add the drillthrougheventhandler in your aspx.cs page, this is the point where you want to change your data source.

    4. Make sure you set the reportviewer ondrillthoughevent, in the html definition of the reportviewer, to go to the function writen in 3.

    Regards,

    Munira

    Friday, February 17, 2012

    Drillthrough (beginner)

    I have created two reports. One links to the other with a drillthrough. The linking works fine, but no values show up in the fields besides the group titles and column titles. Why is this happening?

    The user is given a list of Counties with values. The Counties(in a matrix) are clickable for a drillthrough of Ages and Genders in the Counties. Looks something like this:

    Years

    Counties Total Crashes Fatalities

    Cook 85 98

    Manchester 2850 258

    Sagamon 987 526

    So when a user clicks a county, such as "Cook", this is displayed

    Years

    Age Gender Total Crashes Fatalities

    0-8 Female 25 8

    Male 55 15

    9-15 Female 850 258

    Male 185 35

    16-22 Female 87 526

    Male 10 35

    But I am getting this in :

    Years

    Age Gender Total Crashes Fatalities

    0-8 Female

    Male

    9-15 Female

    Male

    16-22 Female

    Male

    Whats going on? Can anyone make any suggestions? Just to let you know its based off of an Analysis Services Cube and not relational tables.

    Does you second report have a county parameter? and, if so, have you linked the County field in the first report to the parameter in the second report?

    - Ali

    |||

    Yes, my second report has a county report paramater, and i did the hyperlink the first report parameter to the second. (Right clicked county>Properties>Navigation>Jump to Report>Parameters>CrashCounty=Fields!CrashCounty.value).

    It seemed to be linking, but its not displaying hardly any values. I have this report seperate with out the linking and its filled with values. Did i forget something?

    Drilldowns with SOAP rendering or SSRS 2005?

    We are running SSRS with SQL Server 2000 and are working on developing an
    ASP.NET application that would use SOAP web access to render the reports.
    However, I was wondering how this works with linked or drill down reports,
    which we are thinking will be an important part of our design.
    Has anyone done this successfully? How does it work? Normally, the
    reportingservice.render method is called, but I read about an issue that
    occurs when a drill down report is encountered. Apparently the user is
    redirected to the Report Manager, as there is no way to tell the Report
    Server that the drill down destination should be mapped to the calling
    application. I also read that there may be something better for this in SQL
    Server 2005, but I wonder when we should expect that?
    Can anyone shed some light on this issue?
    Thanks,
    nickpupwell i ve been using SSRS 200 with SQL Server 2000 n ASP.Net for my
    reports n i had the same problem of handling linked n toggle reports
    as far as linked reports r concerned those were settled by changing the
    path of the linked report to my application's webpage that shows the
    specified linked report with parameters in URL through JUMP TO URL
    PROPERTY however i couldnt resolve the toggled report problem i tried
    but couldnt succeed if u get the idea plz let me know as well|||I will - thanks.
    "** Spirits **" wrote:
    > well i ve been using SSRS 200 with SQL Server 2000 n ASP.Net for my
    > reports n i had the same problem of handling linked n toggle reports
    > as far as linked reports r concerned those were settled by changing the
    > path of the linked report to my application's webpage that shows the
    > specified linked report with parameters in URL through JUMP TO URL
    > PROPERTY however i couldnt resolve the toggled report problem i tried
    > but couldnt succeed if u get the idea plz let me know as well
    >

    Drilldown reports

    I want to show a list of accounts and when a user clicks on one show
    account's details.
    What is a best way of approaching that?
    ThanksIf you generate a dataset with all the accounts' details you could then use a
    table control with grouping by account. You would hide the detail line by
    default but allow this to be toggled from a textbox on the group
    header/footer.
    HTH
    --
    Magendo_man
    Freelance SQL Reporting Services developer
    Stirling, Scotland
    "Mark Goldin" wrote:
    > I want to show a list of accounts and when a user clicks on one show
    > account's details.
    > What is a best way of approaching that?
    > Thanks
    >
    >|||But since I have a detailed report already how can I create report with
    links to the detailed report?
    "magendo_man" <sql@.kappa.co.uk.(donotspam)> wrote in message
    news:FEE2EC61-3596-4C90-92FE-C1A1EDF5DF6E@.microsoft.com...
    > If you generate a dataset with all the accounts' details you could then
    > use a
    > table control with grouping by account. You would hide the detail line by
    > default but allow this to be toggled from a textbox on the group
    > header/footer.
    > HTH
    > --
    > Magendo_man
    > Freelance SQL Reporting Services developer
    > Stirling, Scotland
    >
    > "Mark Goldin" wrote:
    >> I want to show a list of accounts and when a user clicks on one show
    >> account's details.
    >> What is a best way of approaching that?
    >> Thanks
    >>|||Most of your detailed report is not visible because the detail line is
    hidden. You will only see a list of account numbers. If you click the +
    toggle, which you would probably have beside the account number, you would
    then see all the detail for that account.
    Your other option is a separate drilldown report. To do this you would need
    to define an "action" linked to the account number textbox which opened
    another report. One of the parameters you would pass to the drilldown report
    is the account number.
    --
    Magendo_man
    Freelance SQL Reporting Services developer
    Stirling, Scotland
    "Mark Goldin" wrote:
    > But since I have a detailed report already how can I create report with
    > links to the detailed report?
    > "magendo_man" <sql@.kappa.co.uk.(donotspam)> wrote in message
    > news:FEE2EC61-3596-4C90-92FE-C1A1EDF5DF6E@.microsoft.com...
    > > If you generate a dataset with all the accounts' details you could then
    > > use a
    > > table control with grouping by account. You would hide the detail line by
    > > default but allow this to be toggled from a textbox on the group
    > > header/footer.
    > >
    > > HTH
    > >
    > > --
    > > Magendo_man
    > >
    > > Freelance SQL Reporting Services developer
    > > Stirling, Scotland
    > >
    > >
    > > "Mark Goldin" wrote:
    > >
    > >> I want to show a list of accounts and when a user clicks on one show
    > >> account's details.
    > >> What is a best way of approaching that?
    > >>
    > >> Thanks
    > >>
    > >>
    > >>
    >
    >

    Drill-down is not working on browser : Please help

    Hi,
    Please help.. this is an annoying problem ......
    I am running sample reports in the browser and found that none of the
    reports drilldown
    when I click on teh + sign.
    In VS.NET environment the reports drilldown fine.
    Is there a particular setting in the Internet Explorer options I have to set
    ?
    I am using Evaluation edition with SP1.
    Cheers
    PawanDo you have an underscore in the server machine name?
    --
    This posting is provided "AS IS" with no warranties, and confers no rights.
    "Pawan" <pawan_kr_sharma@.hotmail.com> wrote in message
    news:%23jkX%23ssZEHA.1448@.TK2MSFTNGP12.phx.gbl...
    > Hi,
    > Please help.. this is an annoying problem ......
    > I am running sample reports in the browser and found that none of the
    > reports drilldown
    > when I click on teh + sign.
    > In VS.NET environment the reports drilldown fine.
    > Is there a particular setting in the Internet Explorer options I have to
    > set
    > ?
    > I am using Evaluation edition with SP1.
    > Cheers
    > Pawan
    >|||Yes !
    Pawan
    "Lev Semenets [MSFT]" <levs@.microsoft.com> wrote in message
    news:eGmWsbtZEHA.1164@.TK2MSFTNGP12.phx.gbl...
    > Do you have an underscore in the server machine name?
    > --
    > This posting is provided "AS IS" with no warranties, and confers no
    rights.
    >
    > "Pawan" <pawan_kr_sharma@.hotmail.com> wrote in message
    > news:%23jkX%23ssZEHA.1448@.TK2MSFTNGP12.phx.gbl...
    > > Hi,
    > >
    > > Please help.. this is an annoying problem ......
    > >
    > > I am running sample reports in the browser and found that none of the
    > > reports drilldown
    > > when I click on teh + sign.
    > > In VS.NET environment the reports drilldown fine.
    > >
    > > Is there a particular setting in the Internet Explorer options I have to
    > > set
    > > ?
    > >
    > > I am using Evaluation edition with SP1.
    > >
    > > Cheers
    > > Pawan
    > >
    > >
    >|||http://groups.google.com/groups?selm=%23HoAMdjBEHA.3284%40TK2MSFTNGP09.phx.gbl
    --
    This posting is provided "AS IS" with no warranties, and confers no rights.
    "Pawan" <pawan_kr_sharma@.hotmail.com> wrote in message
    news:uj5JMTyZEHA.1764@.TK2MSFTNGP10.phx.gbl...
    > Yes !
    > Pawan
    >
    > "Lev Semenets [MSFT]" <levs@.microsoft.com> wrote in message
    > news:eGmWsbtZEHA.1164@.TK2MSFTNGP12.phx.gbl...
    >> Do you have an underscore in the server machine name?
    >> --
    >> This posting is provided "AS IS" with no warranties, and confers no
    > rights.
    >>
    >> "Pawan" <pawan_kr_sharma@.hotmail.com> wrote in message
    >> news:%23jkX%23ssZEHA.1448@.TK2MSFTNGP12.phx.gbl...
    >> > Hi,
    >> >
    >> > Please help.. this is an annoying problem ......
    >> >
    >> > I am running sample reports in the browser and found that none of the
    >> > reports drilldown
    >> > when I click on teh + sign.
    >> > In VS.NET environment the reports drilldown fine.
    >> >
    >> > Is there a particular setting in the Internet Explorer options I have
    >> > to
    >> > set
    >> > ?
    >> >
    >> > I am using Evaluation edition with SP1.
    >> >
    >> > Cheers
    >> > Pawan
    >> >
    >> >
    >>
    >|||Hi Lev,
    I changed my computer name to remove the underscore from name.
    After that I used rsconfig.exe utility to change the connection settings of
    report server.
    Now, my reports show the images and drill down in the browser.
    Many thanks for your help.
    Pawan
    "Lev Semenets [MSFT]" <levs@.microsoft.com> wrote in message
    news:eJbVDc8ZEHA.3512@.TK2MSFTNGP12.phx.gbl...
    >
    http://groups.google.com/groups?selm=%23HoAMdjBEHA.3284%40TK2MSFTNGP09.phx.gbl
    > --
    > This posting is provided "AS IS" with no warranties, and confers no
    rights.
    >
    > "Pawan" <pawan_kr_sharma@.hotmail.com> wrote in message
    > news:uj5JMTyZEHA.1764@.TK2MSFTNGP10.phx.gbl...
    > > Yes !
    > >
    > > Pawan
    > >
    > >
    > > "Lev Semenets [MSFT]" <levs@.microsoft.com> wrote in message
    > > news:eGmWsbtZEHA.1164@.TK2MSFTNGP12.phx.gbl...
    > >> Do you have an underscore in the server machine name?
    > >>
    > >> --
    > >> This posting is provided "AS IS" with no warranties, and confers no
    > > rights.
    > >>
    > >>
    > >> "Pawan" <pawan_kr_sharma@.hotmail.com> wrote in message
    > >> news:%23jkX%23ssZEHA.1448@.TK2MSFTNGP12.phx.gbl...
    > >> > Hi,
    > >> >
    > >> > Please help.. this is an annoying problem ......
    > >> >
    > >> > I am running sample reports in the browser and found that none of the
    > >> > reports drilldown
    > >> > when I click on teh + sign.
    > >> > In VS.NET environment the reports drilldown fine.
    > >> >
    > >> > Is there a particular setting in the Internet Explorer options I have
    > >> > to
    > >> > set
    > >> > ?
    > >> >
    > >> > I am using Evaluation edition with SP1.
    > >> >
    > >> > Cheers
    > >> > Pawan
    > >> >
    > >> >
    > >>
    > >>
    > >
    > >
    >

    Drill-down in ASP.NET with iframes

    Hello all I pretty new to SRS. I've got an asp.net application that uses
    iframes to display reports. I'm trying to get the reports to drill down.
    I've tried using the 'Jump to report' option but it opens the report on top
    of my application so I loose my iframe (and app header and navigation). I
    can't work out how to change this behaviour. I also tried the 'Jump to URL'
    but ran into some issues with this too. I had to hardcode my server name in
    the link. I also have to put code in my page to handle the parameters. Is
    there a better way?What about using the _self target rather than the _top target, which is
    default. ?
    --
    HTH, Jens Suessmeyer.
    --
    http://www.sqlserver2005.de
    --
    "Patrick P via SQLMonster.com" <forum@.nospam.SQLMonster.com> schrieb im
    Newsbeitrag news:53526a45e0544eb1a51ed6169737ca1a@.SQLMonster.com...
    > Hello all I pretty new to SRS. I've got an asp.net application that uses
    > iframes to display reports. I'm trying to get the reports to drill down.
    > I've tried using the 'Jump to report' option but it opens the report on
    > top
    > of my application so I loose my iframe (and app header and navigation). I
    > can't work out how to change this behaviour. I also tried the 'Jump to
    > URL'
    > but ran into some issues with this too. I had to hardcode my server name
    > in
    > the link. I also have to put code in my page to handle the parameters. Is
    > there a better way?|||I couldn't find where this property is stored. The Link is generated as
    follows:
    <a style="color:Blue" href="http://links.10026.com/?link=http://localhost/myreport/Reports/Summary.aspx?
    ReportName=rptNoRevisions&BeginDate10/10/2003" TARGET="_top">Day
    Shift</a>
    So even if I set the target at a page level the element level will override
    it. Is there a way to change the default target for report links?|||http://groups.google.de/group/microsoft.public.sqlserver.reportingsvcs/browse_frm/thread/54a5075b1e3f48e7/55e040db2460e6b1?q=iframe+open+target&rnum=3&hl=de#55e040db2460e6b1
    --
    HTH, Jens Suessmeyer.
    --
    http://www.sqlserver2005.de
    --
    "Patrick P via SQLMonster.com" <forum@.SQLMonster.com> schrieb im Newsbeitrag
    news:a5299fd9cb314afbbb5d64a4a7493296@.SQLMonster.com...
    >I couldn't find where this property is stored. The Link is generated as
    > follows:
    > <a style="color:Blue"
    > href="http://links.10026.com/?link=http://localhost/myreport/Reports/Summary.aspx?
    > ReportName=rptNoRevisions&BeginDate10/10/2003" TARGET="_top">Day
    > Shift</a>
    > So even if I set the target at a page level the element level will
    > override
    > it. Is there a way to change the default target for report links?|||Thanks for the link but unfortunately google groups is blocked by our
    firewall, which makes it really hard to get technical research done (very
    annoying). Could you please cut and paste relevant bits for me. Thanks
    again!
    --
    Message posted via http://www.sqlmonster.com|||Let me be your proxy :-)
    Bryan Keller [MSFT] 19 Mär. 2004 19:39 Optionen anzeigen
    Newsgroups: microsoft.public.sqlserver.reportingsvcs
    Von: "Bryan Keller [MSFT]" <brya...@.online.microsoft.com> -
    Nachrichten von diesem Autor suchen
    Datum: Fri, 19 Mar 2004 10:37:32 -0800
    Lokal: Fr 19 Mär. 2004 19:37
    Betreff: Re: href TARGET property defaults to "_top"
    Antwort an Autor | Weiterleiten | Drucken | Einzelne Nachricht |
    Original anzeigen | Missbrauch melden
    What action are you using to generate the URL? Jump to Report will not
    work
    with LinkTarget. Jump to URL will. So in your example below, when a
    user
    clicks on the link, any URL's in the Consolidated report will have
    target = _self. But unless the parent report of Consolidated has
    rc:LinkTarget=_self,
    your link below will open in _top. Where are you running into a
    problem?
    Please be more specific about parent reports, child reports and the
    expected
    navigation of users. This will help me to better answer your question.
    --
    Bryan Keller
    Developer Documentation
    SQL Server Reporting Services
    A friendly reminder that this posting is
    HTH, Jens Suessmeyer.
    --
    http://www.sqlserver2005.de
    --
    "Patrick P via SQLMonster.com" <forum@.SQLMonster.com> schrieb im Newsbeitrag
    news:4f06f19c226447c0bc25587933cc43c3@.SQLMonster.com...
    > Thanks for the link but unfortunately google groups is blocked by our
    > firewall, which makes it really hard to get technical research done (very
    > annoying). Could you please cut and paste relevant bits for me. Thanks
    > again!
    > --
    > Message posted via http://www.sqlmonster.com
    begin 666 dot_clear.gif
    K1TE&.#EA`0`!`( ``/___P```"'Y! $`````+ `````!``$```("1 $`.P``
    `
    end|||Thanks for the help. I worked out the solution. For anyone struggling with
    the same issue here is what I did.
    1. Use 'Jump to URL' instead of the other options.
    2. Open Report Viewer project and add the following code:
    Private _linktarget As String = "_self"
    <Category("HTMLViewer Commands"), Description("Sets rc:linktarget to change
    iFrame target")> _
    Public Property LinkTarget() As String
    Get
    Return Me._linktarget
    End Get
    Set(ByVal Value As String)
    Me._linktarget = Value
    Me.SetParameter("rc:LinkTarget", Value)
    End Set
    End Property
    3. Recompile and place dll in project bin.
    Now the default is _self and you have the option to change the target from
    your code.
    This solution isn't ideal because you have to use the jump to url which
    means more work in creating the url with params, and you may have to hard
    code your servername.
    If anyone comes up with a better solution please post it.
    --
    Message posted via http://www.sqlmonster.com

    Tuesday, February 14, 2012

    Drill-down Cross tab reports

    Hallo all,
    I have to create drill down cross tab reports.
    How can I create drill-down cross tab reports using Sql server reporting
    services 2005? I am very much in need of help. Can any one help me how i can
    create ?
    Please kindly some links if any drill down cross tab reports examples
    available online?
    I am very much thankful to all,if any of you provide me some input to step
    further as soon as possible.
    regards
    miikaOn Mar 12, 6:01 am, aka <a...@.discussions.microsoft.com> wrote:
    > Hallo all,
    > I have to create drill down cross tab reports.
    > How can I create drill-down cross tab reports using Sql server reporting
    > services 2005? I am very much in need of help. Can any one help me how i can
    > create ?
    > Please kindly some links if any drill down cross tab reports examples
    > available online?
    > I am very much thankful to all,if any of you provide me some input to step
    > further as soon as possible.
    > regards
    > miika
    In SQL Server Reporting Services (SSRS), cross-tab reports are called
    matrix reports. You should be able to get started on a basic matrix
    report via the report creation wizard. As far as drill-down reports,
    here is a link that might help.
    http://msdn2.microsoft.com/en-us/library/aa964132.aspx
    Also, I am offering a Practical SQL Server 2005 Reporting Services
    class in the Nashville, TN area available starting April 23rd, if you
    are available at that time. You can email me at:
    emartinez.pr1@.gmail.com for specifics (incl pricing, course outline,
    etc).
    Regards,
    Enrique Martinez
    Sr. SQL Server Developer

    drill-down capabilities and security implementation across different levels of h

    Hi,

    How to create the in crystal reports having drill-down capabilities and security implementation across different levels of hierarchy?
    For instance, they can create a report having billing and booking Qty. that can be drilled-down across time dimension. Different levels could be year, month, week etc. Security should be implemented in such a way that a particular group of users can see data only at the week level, second group of users can see data at the month as well as the week level and third group can see all three - year, month and week data.

    Can anybody helpppp??

    smithaHi

    CR is just a reporting tool, if u implement the security feature in the database that is accessed by the report, then you don't need to bother about it in the reports.

    Drilldown and charts fail to show

    I have multiple reports where drilldown doesn't work & chart doesn't show.
    It works on my local machine & and on a test-server.
    The server I want to implement it to has "_" in it's name so I tried to use
    the IP-adress instead. I get my total & subtotals but not the detail.
    Anyone got a idea how to solve it?
    Thanks in advance!Change the UseSessionCookies key in the ConfigurationInfo table in the
    ReportServer DB to false. Then do an iisreset and the drilldown and charts
    will work.
    Grtz,
    Pieter van Maasdam
    "Olof" <Olof@.discussions.microsoft.com> wrote in message
    news:86234995-6931-4CC9-8383-5E06041C8592@.microsoft.com...
    >I have multiple reports where drilldown doesn't work & chart doesn't show.
    > It works on my local machine & and on a test-server.
    > The server I want to implement it to has "_" in it's name so I tried to
    > use
    > the IP-adress instead. I get my total & subtotals but not the detail.
    > Anyone got a idea how to solve it?
    > Thanks in advance!|||Thank you Pieter!
    That solved my problem.
    Regards
    Olof
    "Pieter van Maasdam" wrote:
    > Change the UseSessionCookies key in the ConfigurationInfo table in the
    > ReportServer DB to false. Then do an iisreset and the drilldown and charts
    > will work.
    > Grtz,
    > Pieter van Maasdam
    > "Olof" <Olof@.discussions.microsoft.com> wrote in message
    > news:86234995-6931-4CC9-8383-5E06041C8592@.microsoft.com...
    > >I have multiple reports where drilldown doesn't work & chart doesn't show.
    > > It works on my local machine & and on a test-server.
    > > The server I want to implement it to has "_" in it's name so I tried to
    > > use
    > > the IP-adress instead. I get my total & subtotals but not the detail.
    > >
    > > Anyone got a idea how to solve it?
    > >
    > > Thanks in advance!
    >
    >

    Drill through reports in RS2005

    How do I drill through to a report from a report that's in a different directory? In the designer I can only drill through to reports that are in that project. I'm sure that there is a simple solution (hopefully!).

    Hi.

    You can use the action property and then "jump to url" or try to use string under the option "jump to report", that refer to the report something like "..\anotherfolder\anotherreport"

    I think that should work. Try it.

    Greentings.

    Drill through reports in report container

    I am integrating the Sql reporting services (Sql 2000) for my web
    application. The reports are displayed in a report container "ReportViewer"
    in a web page. All the reports are working fine except those drill through
    reports, the first level of the drill through reports is showing in the
    report container, however when click on the link to drill through to the
    second level it opens up with a new browser rather than displaying at the
    report container. Please how to make those drill through reports stay with
    the report container in a web page. Many thanks.I also have the same problem.
    Did you manage to resolve it? If so how?
    Thanks
    "Paul" wrote:
    > I am integrating the Sql reporting services (Sql 2000) for my web
    > application. The reports are displayed in a report container "ReportViewer"
    > in a web page. All the reports are working fine except those drill through
    > reports, the first level of the drill through reports is showing in the
    > report container, however when click on the link to drill through to the
    > second level it opens up with a new browser rather than displaying at the
    > report container. Please how to make those drill through reports stay with
    > the report container in a web page. Many thanks.
    >
    >

    Drill Through Reports

    Any way to have the drill through report open in a new window on the web?

    with a hyperlink:

    =void(window.open('http://yoururl?parameter1=value'))"

    |||

    im using an expression not a hyperlink.

    Any way in VS2005 to set it in the navigation properties or something?

    |||I'm saying, that's the only way.

    Drill Through Report -- Passing Date Parameters -- resulting in rsReportParameterTypeMismatch

    All,

    I have two reports. One is the main/summary report and other one is drill through. When I pass the Start and End Date parameters from main to the drill, the original format of DateTime changes. For example, in main report the data is displayed for following date range:

    4/7/2007 - 5/9/2007 (i.e 4 July 2007 to 5 Sept 2007)

    which displays correct data.

    However, when I click on the drill through link, it jumps to the drill through report but displays data for the following period:

    7/4/2007 - 9/5/2007 (i.e. 7 Apr 2007 to 9 May 2007)

    The reporting services is converting the value from one format to another of the report parameters when passing them from parent report to the drill through. When run individually, these two reports display data for correct date range. And you can imagine, the child report crashes with rsReportParameterTypeMismatch error if the start or end date had a day part greater than 12 (e.g 25/4/2007).

    I can't understand what could be going wrong. All the parameters in both reports are datetime, so intrisically, it shouldn't matter even if the reporting services is converting or using different date formats as long as the data type remains the same. Is there a way to fix this and force the parameters to stay in the format they are provided in the main report?

    Your help is much appreciated.

    Thanks.

    Moved to Reporting Services forum.|||I thought I had posted it in SSRS forum? Anyways thanks.|||

    People from Microsoft...Would you mind explaining this so very prevalent and confusing issue of Date time formatting? How to get around this issue of reporting services converting the date time to US format?

    Just like the below post, I am using Canadian english as the regional settings. In the following post, someone says similar to what I am suggesting, Why does it matter when the datatype being used is DateTime all along and not string, then there shouldn't be any formatting issues? But the SSRS throws an error anyway.

    http://www.eggheadcafe.com/forumarchives/SQLServerreportingsvcs/Jan2006/post25361489.asp

    If someone has a solution to this, please advise.

    |||

    I found a related post discussing a similar issue:

    http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=255248&SiteID=1

    I think the reply by Lukasz P. in that thread may be the solution. Has any one tried it?

    Drill Through Doesn't work.

    I have a drill through that passes four parameters. Three are passed from the current selections in that reports parameters and the fourth needs to be the customer name they click on in the body of the report so it's passed as Fields!fieldname.Value. When I click on the customer name, the drillthough fires but the report simply doesn't load. If I remove the parameter from the field clicked on and just pass the three parameters, it goes to the drill through correctly and that fourth parameter just sets to the default for that parameter in that report.

    I can then simply check that parameter and select the value from the list that is exactly the same as the value I was attempting to pass it in the drill through and report refreshes correctly.

    Whatever it is, is something in the manner that the value is passed in the drill through specifically.

    Any ideas?

    Figured it out. The table with the link in it was alone in a detail area. I put it inside a list like the other reports involved in this function and then the link worked. Problem there was that there was no grouping in this data. It's a block of data for a particular week; only about 13 lines each with the same week_end_date. I simply added a grouping on the week (required by the list) and then everything worked fine.

    Not sure why you can do a drill through in a list but when you do the same drillthrough in a table not in a list it didn't pass the clicked-on field value properly. Is this a bug?

    Tim