rdlc

Winform RDLC master/detail report display record on next page

徘徊边缘 提交于 2019-12-11 10:10:15
问题 I am building master/detail report using Visual Studio 2013, WinForm, Client Side (.rdlc) report and C#. This is Sales Report where I show the Invoice Header and its related Invoice Details. The report looks like this: Lets say the report shows 50 records over 10 pages. In this flow if a record (Invoice Header + Invoice Details) is displayed relatively towards the end the page and does not have enough space to fit on 1 page it will spill over to the next page. So I want to add a PAGE BREAK

RDLC tablix group footer as page footer

别来无恙 提交于 2019-12-11 09:53:08
问题 I'm trying to create a report for printing of checks/payment confirmation. The check itself is at the top of the page, shows detail in the middle (1-N records), and includes additional text which is fixed at the bottom of the page. The text at the bottom contains data associated with the check itself. I attempted to create a tablix, using a group header for the check itself, and the detail for the individual line detail, but haven't been able to align the tablix footer to the page bottom.

RDLC Native Error 255

本秂侑毒 提交于 2019-12-11 09:43:06
问题 I have an ASP.Net site running on 4.5.2, using the report viewer control. All of a sudden on our server, we are getting An unexpected error occurred while compiling expressions. Native compiler return value: ‘255’. This is occurring for all of our reports (Most of which haven't been modified in over a year). I am trying to identify what potentially changed and is causing this and am coming up short. We are on Windows Server 2012. I have found some articles pointing to an issue that occurs

How to keep two rows adjacent in SSRS?

空扰寡人 提交于 2019-12-11 08:37:09
问题 I have a Tablix in my .rdlc file. I open my report file in pdf format. But some times 'OtherInfoLabel' comes to the bottom of a page and the data(OtherInfo) goes to the next page. is there any way to keep both label and Text together? 回答1: It is not possible to check the size of the tablix and decide if to break or not. What you can do is: On the General tab, under Page break options, select one of the following options: Add a page break before. Select this option when you want to add a page

.rdlc reporting bound to Object Data Source in Three layer Application

我们两清 提交于 2019-12-11 07:57:38
问题 i have the following situation, i have a Reporting layer(stand alone) in asp.net application(NOT website, this means NO App_Code folder exists), and i want just to create Object Data Source to take an Object in a separate layer(lets say from Data Access Layer), and then to use that Object Data Source to create a report, i have spent my whole day working around that, tons of work around's and articles on the web, but does not mention what i really want to do, any answer is appriciated... just

Invert or Flip Text in RDLC report

女生的网名这么多〃 提交于 2019-12-11 07:55:55
问题 Okay, I've learned a bit more and have rephrased my question. I've got a need to flip or invert text 180 degrees (so it appears upside-down) on a RDLC report. I have some custom VB code that takes the text, converts it to a bitmap, then flips the rotates the canvas 180 degrees. The effect of this makes the text look a bit.. dithered... or fuzzy. It's not a sharp font anymore. The problem I'm experiencing is I'm using a special TTF Barcode font that creates something a scanner can read. When I

ReportViewer 2010 struggling with polymorphism

此生再无相见时 提交于 2019-12-11 07:35:10
问题 I have a rdlc report that takes as a ReportDataSource a List<BaseClass> . BaseClass has two derived classes A and B . In the report, I group based on a property of the base class. As long as the list only contains objects of A or B , all works fine. However if I mix instances from A and B , then the report creation fails with the following message: The Group expression used in grouping '[Group Name]' references a dataset field which contains an Error: FieldValueException The property returns

Displaying page number in body of RDLC

空扰寡人 提交于 2019-12-11 06:25:24
问题 How do I get Page Number in Body Section of RDLC report. Globals!PageNumber can be used only inside either Report Header or Footer. What if I put Row number to my dataset and get the record number. Limiting the number of records per page and do the visibility calculation based on the records number is the best solution so far that I've heard of. Can anyone educate me on this logic? Or is there any other workaround for this? P.S: Other so-called solution like using Custom code is not giving

How to make List report item repeat horizontally for RDLC Report?

和自甴很熟 提交于 2019-12-11 05:24:59
问题 I am using the List report item to make a report in visual studio with four report items per page. I am able to get the report to repeat vertically, but not horizontally. Is there a setting I am missing or do I need to do something additional? 回答1: You can create a horizontal List this way: Insert a List Right click on row header and from Row Group item, click Delete Group Drag one or more fields from Report Data window, to data cell of report. Right click on column header and from Add Group

RDLC Report (Stored Procedure) with 2 Parameters

落花浮王杯 提交于 2019-12-11 05:13:55
问题 private void Form1_Load(object sender, EventArgs e) { // TODO: This line of code loads data into the 'DataSet1.sp_GetRent1' table. You can move, or remove it, as needed. this.sp_GetRent1TableAdapter.Fill(this.DataSet1.sp_GetRent1, "@RentNo1", "@AppPath"); //this.GetSPResult(); this.reportViewer1.RefreshReport(); } private void button1_Click(object sender, EventArgs e) { DataTable dt = new DataTable(); reportViewer1.Visible = true; reportViewer1.LocalReport.ReportPath = "Report1.rdlc";