I am very green with reporting in general.
I am using VS2013 to design a simple report.
- I created a report and a data source.
- I added a report parameter and a data source to show a list of available values.
My question:
1) How do I take the report parameter and tie it to my data source?
For example the data source is simple "SELECT * FROM BOOKS"
I would like to set up as "SELECT * FROM BOOKS WHERE BOOK_TYPE = [MY PARAMETER]"
I manually added the following to my SelectCommand for the data source
SELECT * FROM BOOKS WHERE BOOK_TYPE == Parameters.ReportCodeParam.Value
However that didn't work.
On the data source I also see a Parameters property. When I go to that property I don't see the parameter that I created on the report.
Please advise.


Hi, i have only one html text box that shows data of an SQLdatasource column i detail of my report but the data displays in separated rows as below file.
but i want this numbers display next to each other to fill free spaces. how can i do this?

Dear fellows,
i have created a report with a parameter and standalone this is working as expected.
What i want to do is: add multiple reports (same type) with different parameters to following up pages in a report book
my code:
Dim reportBook As New ReportBook() Dim page1 As New prTicket.trainingtimesdriver() page1.ReportParameters("Position").Value = 4 Dim page2 As New prTicket.trainingtimesdriver() page2.ReportParameters("Position").Value = 3 reportBook.Reports.Add(page1) reportBook.Reports.Add(page2) ReportViewer1.ReportSource = reportBookAs a result i am getting two pages with the filter applied to page1. page2 is not shown or simply the parameter does not have effect.
Any suggestions where i am wrong?
Kind regards
Martin
Hello Community
I am working with Reporting using HTML5 Report Viewer. I have designed Custom Report Resolver for showing up the reports. It works like a charm. I am facing issue regarding how to pass custom error message from Report Controller. I have checked some links regarding localization given in forums which says to add JS files but i am not exactly getting how to proceed. Can someone provide code sample?