crystal-reports

Add an image with transparency to Crystal Reports

梦想与她 提交于 2019-12-18 18:59:43
问题 Is it really true that Crystal Reports does not support images that have transparency? We are using it at work and the guy that does Crystal Reports told me it doesn't support transparency. I couldn't believe it so I've spent the last 20 minutes googling and think he might be right. This seems absolutely incredible in this day and age. Can anyone please confirm whether or not CR supports transparency, and if so how you do it (we are not limited by the type of image to insert - png, gif etc).

Can I make a two column Crystal Report?

穿精又带淫゛_ 提交于 2019-12-18 18:35:30
问题 I have a report that has one detail row for every day of the month. I would like to present the info with days 1 to 15 in one 'group column' on the left, and the other days on the right. Each of these 'group columns' would contain four information columns. I can do this manually by splitting the report DB query columns, but I'm really hoping there is a more elegant way. 回答1: Open the details section in the section expert check the check box "Format With Multiple Columns" (and in the Common

Error: Could not load log4net assembly

空扰寡人 提交于 2019-12-18 15:08:10
问题 I am looking to solve this error: Could not load file or assembly 'log4net, Version=1.2.10.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified." This error is located in the web.config file. When I copy log4net.dll to the bin directory of my webapp, I get a Could not load file or assembly 'log4net, Version=1.2.10.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The located assembly's

Crystal Reports - How to suppress a page header on the first page of a group?

偶尔善良 提交于 2019-12-18 13:08:44
问题 I have a report where each group is about 5-7 pages long. I need to suppress the page header on the first page of each group How can I do this? 回答1: Mark Bannister's suggestion is a good way to go. If you're looking for a step-by-step, here is my $0.02: Open your section expert (right click on some white space, you should see it come up). Go to the options for the group footer and turn on reset page numbers after . You should see the page numbers reset at the beginning of each report. Also in

published reports don't work - Database logon failed Error

人走茶凉 提交于 2019-12-18 09:53:36
问题 I am developing a simple web app that has 3 reports created on VS 2013, for some reason those reports run fine from developer mode, but when I publish the website they give me "Database logon failed" Error. What could be causing this? VS is installed on the same server that I am publishing the reports. I have created a local admin user with exactly the same info as the ODBC connection logon user for IIS authentication, but still no luck. below is my code: public partial class OpenWOsWebForm :

Crystal Report Viewer print/export buttons not working in ASP.NET MVC app

帅比萌擦擦* 提交于 2019-12-18 09:33:30
问题 My MVC app uses the push model and the CR viewer for reporting. All works great in displaying the report in the viewer however the print/export buttons give the javascript error 'Object not supported by this action'. I am using VS 2008 and MVC. This happens in my dev environment. Any ideas? 回答1: The answer to this is so stupid its embarrassing - my popup blocker was causing this error. I did get another error or on th the deployed site however and that was a 404 not found on 'aspnet_client

Crystal Report page height runtime setup

夙愿已清 提交于 2019-12-18 09:31:17
问题 I want to create a report for "Order print" and this report will be printed on a roll printer, this mean that the page height of the report depends on the number of rows which are created dynamically. Width of the page is 8 c.m. and height should be based on number of rows in detail. Sometimes report print area is 5c.m. sometimes it is 20 c.m. or any other measurement. I want to know how to configure the "Page Setup" to change the height of the crystal report dynamically. Please help to solve

Crystal Reports - How to set database credentials

北城以北 提交于 2019-12-18 09:27:13
问题 I've created some crystal reports. When I run these reports on my system it is working perfectly but when I build the project and installed (exe) on another machine it is asking for database credentials and is not working. Could you please somebody help on this issue? 回答1: Need to set the credentials to access the database reportDocument.SetDatabaseLogon("user", "password", "server", "database"); 来源: https://stackoverflow.com/questions/12486925/crystal-reports-how-to-set-database-credentials

Crystal reports export to excel cell merge issue

血红的双手。 提交于 2019-12-18 09:06:27
问题 When I export from Crystal Reports, any fields that are marked as Can Grow are merged with an otherwise blank row below them. This completely messes up my sorting. How can I resolve this? 回答1: I suggest another way: choose ExportFormatType.ExcelRecord instead of ExportFormatType.Excel . The xls file will be created without formatting. If actually the user is exporting report using ReportViewer Toolbar Export button you can: Replace the CrystalReportViewer Control with the ReportExporter

Crystal reports export to excel cell merge issue

£可爱£侵袭症+ 提交于 2019-12-18 09:06:02
问题 When I export from Crystal Reports, any fields that are marked as Can Grow are merged with an otherwise blank row below them. This completely messes up my sorting. How can I resolve this? 回答1: I suggest another way: choose ExportFormatType.ExcelRecord instead of ExportFormatType.Excel . The xls file will be created without formatting. If actually the user is exporting report using ReportViewer Toolbar Export button you can: Replace the CrystalReportViewer Control with the ReportExporter