crystal-reports

Crystal Reports equivalent of 'WHERE'

落爺英雄遲暮 提交于 2019-12-22 18:26:43
问题 I'm familiar with SQL but not Crystal Reports. I'm trying to deal with an imported data set with 5 columns: id deathDate giftDate giftAmount Dead 123 2008-01-06 2011-09-08 25.00 TRUE 456 2009-06-08 2011-10-13 10.00 TRUE 789 0 2011-12-04 50.00 FALSE ... I'm trying to do a subquery but can't figure out what the CR equivalent of WHERE in SQL would be. I'd like to do something along the line of: SELECT count(id) from tab1 where dead=TRUE Any suggestions? 回答1: As Conrad and dotjoe have observed,

Crystal Report Sum of a Group Summary

青春壹個敷衍的年華 提交于 2019-12-22 09:23:19
问题 I have a report in which I'm trying to sum a summary on one group to another group. Ex: group 1: 75 <- sum of the maximums group 2: 50 <- max of the group line 1: 50 line 2: 40 line 3: 10 group 2: 25 <- max of the group line 1: 10 line 2: 2 line 3: 25 I've tried using a running total, but can't seem to get that right. I've also tried to put the maximum part into a formula, but Crystal still won't summarize it. 回答1: If you absolutely have to have the value in the Group1 Header then I think

Crystal Reports Configuration Tool [closed]

点点圈 提交于 2019-12-22 09:08:58
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 2 months ago . I have a Crystal report with 50 odd subreports, each with loads of parameters. Switching it from one database to another takes ages as the Crystal Reports IDE insists that you enter all the parameters for each sub-report. I'm wondering if it's possible to write a quick tool in C#

Could not load file or assembly 'log4net' or one of its dependencies

雨燕双飞 提交于 2019-12-22 08:53:18
问题 I am trying to create a crystal report and I am new to that field. I have created a crystal report from this tutorial post but it does not seems to work. My error is : Could not load file or assembly 'log4net' or one of its dependencies. An attempt was made to load a program with an incorrect format. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the

Crystal Reports - Horizontal page numbering

笑着哭i 提交于 2019-12-22 08:45:11
问题 Using Crystal Reports Developer XI I have a crosstab report. The crosstab can span many pages horizontally. For a report 10 pages wide and 3 pages long, I display page numbers as '1-1 of 3' through '3-10 of 3' but I'd like to be able to display them as '1 of 30' through '30 of 30'. Unfortunately the Page N of M field only displays the vertical page numbers. In this case, adding the Page N of M field gives me "Page 1 of 3" across the first ten horizontal pages, then "Page 2 of 3" across the

Crystal report viewer doesn't appear in toolbox - Visual Studio 2010

人走茶凉 提交于 2019-12-22 07:59:26
问题 I have a c# windows form application and after installing SAP Crystal Report for Visual Studio 2010 (http://www.businessobjects.com/jump/xi/crvs2010/default.asp) i cannot see Crystal Report Viewer in the toolbox. What am i doing wrong? 回答1: Check the target framework of the project you created. By default a new WinForms project gets set to .NET Framework 4 Client Profile. To fix your problem change it to .NET Framework 4. To do this right-click your project and select Properties. On the

How to add row numbering in crystal report C#

孤街浪徒 提交于 2019-12-22 07:36:48
问题 I have started creating reports using crystal reports . I am able to show everything using dataset and sql except for the auto-row numbering . Here's my code: SqlConnection cnn; string connectionString = null; string sql = null; connectionString = "data source=Kim; initial catalog=DBO;user id=sa; password=passw0rd"; cnn = new SqlConnection(connectionString); cnn.Open(); sql = "select Name as DataColumn1, Age as DataColumn2, from tbl1"; SqlDataAdapter dscmd = new SqlDataAdapter(sql, cnn); cnn

Getting Crystal to properly embed TT fonts in a PDF

Deadly 提交于 2019-12-22 07:28:05
问题 Has anyone run into problems getting Crystal XI to embed fonts when displaying reports via the web (served by RAS) and then exporting to PDF? We have a barcode font that we use in a few reports, and it worked fine via the web viewer and when exporting to PDF. When we moved our reporting server from a 2000 box to a 2003 box, the font is no longer exported. It does display properly in the html viewer, but when you export it to PDF to print, the PDF doesn't contain the font. The True Type font

How to use Crystal Reports with ASP.NET? [closed]

不问归期 提交于 2019-12-22 05:27:09
问题 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 6 years ago . How to use crystal Reports with ASP.Net 2.0. Any Samples/Tutorials/Examples which shows how to deploy Crystal Reports on a production Server. 回答1: Having just been through the pain of this myself, here's a couple of pointers that will hopefully save you time... Crystal Reports on MSDN - lots of good stuff in

unknown database connector error in my code

余生长醉 提交于 2019-12-22 05:19:16
问题 Dim rp As New ReportDocument Dim myData As New MyDataSet Dim dt As New MyDataSet.UserDataTable Dim FirstRow As MyDataSet.UserRow = _ CType(myData.User.NewRow, MyDataSet.UserRow) FirstRow.MemberID = "1" FirstRow.FirstName = "Amir Hossein" FirstRow.LastName = "Rahnama" myData.User.Rows.Add(FirstRow) Dim SecondRow As MyDataSet.UserRow = _ CType(myData.User.NewRow, MyDataSet.UserRow) SecondRow.MemberID = "2" SecondRow.FirstName = "Aziz" SecondRow.LastName = "Khodaie" myData.User.Rows.Add