reporting

FastReport.Net. Registration of dataset

|▌冷眼眸甩不掉的悲伤 提交于 2020-01-05 06:05:07
问题 I try register dataset by next code: ds = new DataSet(); adapter.Fill(ds); ds.Tables.Add("test"); report1.Load("report1.frx"); report1.RegisterData(ds, "user_ds"); report1.GetDataSource("test").Enabled = true; ((DataBand)report1.FindObject("Data1")).DataSource = report1.GetDataSource("test"); report1.Show(); but get error on report1.Show(); (GroupHeader1): Error CS1525: Invalid expression term '[' GroupHeader1 contains single TextObject with "[Date]". What am I do wrong? 回答1: Please check

FastReport.Net. Registration of dataset

偶尔善良 提交于 2020-01-05 06:05:07
问题 I try register dataset by next code: ds = new DataSet(); adapter.Fill(ds); ds.Tables.Add("test"); report1.Load("report1.frx"); report1.RegisterData(ds, "user_ds"); report1.GetDataSource("test").Enabled = true; ((DataBand)report1.FindObject("Data1")).DataSource = report1.GetDataSource("test"); report1.Show(); but get error on report1.Show(); (GroupHeader1): Error CS1525: Invalid expression term '[' GroupHeader1 contains single TextObject with "[Date]". What am I do wrong? 回答1: Please check

SQL - Need to find duplicate records but EXCLUDE reversed transactions

一笑奈何 提交于 2020-01-03 15:36:18
问题 I have a table of transactions which will occasionally have duplicate entries. If/When an admin finds these duplicate entries, they will reverse the transactions, therefore creating a negative value (but the original duplicate still remains due to regulatory requirements). I'd like to create a SQL query (and use Crystal Reports) to make a report for the admins to easily find duplicate transactions. Due to the mass quantity of transactions, I'd like to make it easier for them by disregarding

Handling Long Running Reports

偶尔善良 提交于 2020-01-03 08:20:57
问题 I am working on a ASP.net application written in C# with Sql Server 2000 database. We have several PDF reports which clients use for their business needs. The problem is these reports take a while to generate (> 3 minutes). What usually ends up happening is when the user requests the report the request timeout kills the request before the web server has time to finish generating the report, so the user never gets a chance to download the file. Then the user will refresh the page and try again

“Unit testing” a report

情到浓时终转凉″ 提交于 2020-01-03 07:24:12
问题 How would you "unit test" a report created by some report engine like Crystal Reports or SQL Server Reporting Services? 回答1: The problem with reports is akin to the problem with GUIs. If the Report/GUI has lot of (misplaced) intelligence it is going to make testing difficult. The solution then is to Separated Presentation : Separate presentation from content (data-access/domain/business rules). In the current context would mean, that you create some sort of ViewModel class that mirrors the

How to create a tabular report from Azure DevOps that includes work item description?

六月ゝ 毕业季﹏ 提交于 2020-01-03 03:20:10
问题 We are trying to use PowerBi to build tabular reports from data in Azure DevOps. In this report, we want to display the description field in one of the table's columns. ADO stores the description as HTML. Neither PowerBI or Excel can render this content, but instead show the markup code. I've also looked at pulling this into python and using Dash with no luck. There is an extension for ADO that renders html, but it displays a single record and doesn't work as a table cell renderer. The output

Report Viewer not showing report in MVC aspx view

孤人 提交于 2020-01-03 03:01:35
问题 From the couple of days I am trying to create rdlc report in MVC 4. I just make a test Controller and ReportTest its action that return view. when I hit this url /test/ReportTest report page is opened but only header page is displayed as attached. when I try to observe this page behaviour in firebug it firebug shows a error message. [HttpGet] public ViewResult ReportTest() { return View("MyReports"); } this only happen when I am trying through controller. If I place report files out side the

Design of Reporting Services for Java webapp [closed]

本小妞迷上赌 提交于 2020-01-03 02:28:08
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed last year . A design question. I have developed an online test engine web app earlier this year. I have used Java servlets and Freemarker templates and done it entirely following the MVC paradigm. One big missing feature in the application is that it provides no reporting. The initial design of the application did not

Is there a report tool that allows users to create their own reports?

丶灬走出姿态 提交于 2020-01-02 03:34:30
问题 I have looked around a bit but I can't find a tool that fit my needs. What I need is a tool that allows users to create their own reports preferably from a web interface where the user is able to create charts, diagrams and tables . Therefore the tool needs to be able to handle several users and restrict the users to a certain database . I have looked at Crystal Reports and SSRS and neither of them seems to support what I want or am I missing something? 回答1: So, you're looking for a web-based

Reporting Services LocalReport and WIF

ⅰ亾dé卋堺 提交于 2020-01-02 01:12:10
问题 I have a wcf webservice that uses WIF for authentication. Part of the responsibility of this webservice is to generate a report and email it. If I render the report with data only everything is fine. If I include any report parameters, report constants, or even just DateTime.Now I get the following exception: An error occurred during local report processing.Failed to load expression host assembly. Details: Request for the permission of type 'System.Security.Permissions.SecurityPermission,