report

In VBA how do you return the name of an underlying query for a report object?

江枫思渺然 提交于 2019-12-11 07:49:20
问题 I would like to obtain the name of a query behind a specific report. I was hoping to do something like this... Dim QueryName As String QueryName = CurrentProject.AllReports(MyReportName).RecordSource.Name However, I know this does not work, but I would like to find a means of doing this. Is there something I am obviously overlooking? 回答1: You have to open the report to get access to those kinds of properties. Open in design mode so you don't actually run the thing. Dim QueryName As String

Crystal Reports Grouping by Values

不羁岁月 提交于 2019-12-11 06:36:36
问题 I have to design a crystal report in which I have to retrieve values from a particular field in a database. But this field has many entries that follow increase numerically i.e., 1 to 10000, then 10000 to 20000, 20000 to 30000 etc.. Now I want to group them in a way that 1 to 10000 are in one group, 10000 to 15000 in another and 15000 to 20000 in another. How do I do that? I will be grateful for a response. 回答1: Set up a Crystal formula, similar to: if {myTable.myField} >= 1 and {myTable

SQL SSRS Report Manager site asking to login every time

风格不统一 提交于 2019-12-11 05:59:26
问题 SQL Server 2012 / SSRS. Windows 2008 R2. When trying to access the Report Manager via URL (http://servername/reports), it prompts us for a username and password. When I enter a valid user/pass it works and I can get to the Report Manager site and run reports fine. But we don't want to be prompted, we don't even need Windows Authentication, just to go strait in to the page. Any ideas why its asking for a username and password and how I can allow direct access? 回答1: You need to store the

MS Access: How can I average a list of quantities on a report where the quantities are not zero?

a 夏天 提交于 2019-12-11 05:39:13
问题 I have a report. This reports returns a lot of rows. One of the columns is qty_req (quantity required). I need to AVG() this column and put the value of the average at the bottom of the report. The problem is that sometimes some rows have a zero in this column. I want the average to exclude any rows where there is a zero. How can I accomplish this? What I've tried: I tried using DAvg in the query but it made the query time enormous. 回答1: Avg() ignores Null values. So you can use an IIf()

RDLC Chart… remove series

泄露秘密 提交于 2019-12-11 05:06:02
问题 I am trying to use a Report item in Visual Studio 2012 to generate a chart based upon a populated dataset. I have the following columns in my dataset table: date usersvalue averagevalue (among others, but these are what I want to show in the chart.) I start with a blank report, set the data source, and add a generic line chart: Note that this starts with two series ( Series 1 and Series 2 ) listed. I cannot find where these are specified in any property page I look at. I want my usersvalue

Create test reports programmatically (not using ANT) in Selenium using Junit / Test NG

你说的曾经没有我的故事 提交于 2019-12-11 04:26:36
问题 I want to create test reports (reports generated after the execution of each test case). I can generate JUnit test reports using ANT. But, my requirement is such that I would have to generate these reports through Java. Which is the best way to create test reports using Java ? The test reports need not only be created in JUnit. It can be created in any test framework. Any suggestions / advice related to it might prove helpful. So, request you to share you experience in generating test reports

C# Response.Write pdf not working with Android Browser

筅森魡賤 提交于 2019-12-11 03:55:31
问题 I am currently having huge issues with the android environment with a pdf export. i am using a report viewer control to render a report in to an array of bytes. Next i am using response.binarywrite method to output the byte stream to the browser. This works in every browser as well as iphone and ipad. However, it will not work on android. The Pdf says that it is corrupted. When i open the pdf in notepad i see that it is exporting my entire page html instead of the byte array generated by the

How to insert an image into a BIRT report with an URL properly?

回眸只為那壹抹淺笑 提交于 2019-12-11 03:43:18
问题 I inserted an image from the web into a BIRT report using an URL in Eclipse, but it doesn't work. It displays a little red X on the Layout screen, and if I choose Run/View Report/As PDF it says "The resource of this report item is not reachable." What is the problem here? I have googled for hours but found nothing. Thanks in advance for any help! 回答1: Try adding image from web which you can access via your browser. That way you'll assure yourself you don't have problems with accessing your

Crystal Report : “File is too large for attachment” Error

柔情痞子 提交于 2019-12-11 03:34:56
问题 I am new for crystal report server. Here I'm explaining error details. I'm using SAP Business Objects CMC for report generation for my application. Below is the version details in image. When I try to generate report file with more than 1MB of file size it is throwing below error. Error The viewer could not process an event. 1c84865dce535c5.pdf File is too large for attachment. [] ---- Error code:0 [CRWEB00000119] So, I went to following location to check the maximumUploadFileSize . 1. C:

how to save Extjs4 chart image to print in a pdf report?

时光总嘲笑我的痴心妄想 提交于 2019-12-11 02:18:09
问题 i have several charts in my extjs4application dashboard.. i want to generate a pdf report using the images of those charts for that i use iTextSharp is there a way to get the images from the charts in order to include them in my report? the ideal for me is to use it like this with itextsharp MyImageStream = new MemoryStream(); myChart.SaveImage(MyImageStream); my chart would be the chart object i asked around in the forums they told me i would generate and render my chart at client (already