crystal-reports-2008

Crystal reports error in SetDataSource

家住魔仙堡 提交于 2019-12-21 09:17:14
问题 I am having trouble in VS 2010 sap crystalreports, using c# to make a windows application. I get the following error with the following code: CrystalReport1 cr1 = new CrystalReport1(); cr1.SetDataSource(dt1); //Error Could not load file or assembly 'file:///C:\Program Files (x86)\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win64_x64\dotnet1\crdb_adoplus.dll' or one of its dependencies. The system cannot find the file specified. 回答1:

Crystal Reports - Hide page header if there in no record on a page

我与影子孤独终老i 提交于 2019-12-21 02:41:48
问题 How to hide a page header if there is no record(details section) on last page. Page header must be shown on last page if there is some data on last page otherwise hide the page header. Formaula pagenumber = totalpagecount won't work as it will always suppress the last page's header. 回答1: Put this formula in a suppressed field in the detail section: WhilePrintingRecords; Global BooleanVar finished; finished := OnLastRecord And make this the Suppress formula in the page header: Global

Crystal Report: Display 0.00 for duplicate values

随声附和 提交于 2019-12-20 07:18:51
问题 I am making a crystal report which displays values from database. Now the values from db contains duplicate values. I need that duplicate values should be suppressed and should display 0.00 For Ex. Value 250.00 250.00 250.00 Should display 250.00 0.00 0.00 I have applied "Suppress Duplicate" to the column but don't know how to display 0.00 there. Thanks much! 回答1: Do not check Suppress if Duplicated. . You need to write formula for Display String . For example, if PreviousIsNull ({object

Crystal Report always asks for database login

主宰稳场 提交于 2019-12-20 03:17:43
问题 I need your help. I'm writing code for a shop program and I am using vb.net 2008 with Crystal Report version 10.5.37xxxx The problem is when I'm trying to install my program on the client computer, everything works but not in my Crystal Report. It always asks for the database login and I did not code my program to ask for the database login. I just wrote it in simple code like this: Public Class Form16 Private Sub Form16_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles

Crystal Reports Printing blank page

你离开我真会死。 提交于 2019-12-19 19:45:38
问题 I have a crystal report which is printing a blank page and printing the report fine, but just with this additional page. Done my research, ticked, unticked and added correct formula into the 'New Page After' option, not on last record formula etc, but its still printing the blank page. Here is my Section expert details Report Header (Ticked - Free-form [greyed], New Page After [Greyed]) Report Header a (ticked - Free-form, Suppress, Keep together) Report Header b (Ticked - Free-form Placement

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

How do I point Crystal Reports at a new database

蓝咒 提交于 2019-12-17 21:54:49
问题 I have a Crystal Reports 2008 user that has over 100 custom developed reports. The reports all query Sql Server databases (SQL 2005). This database server is getting replaced with a new system (running SQL 2008 R2) and the existing databases will be moved to the new server. The new database server will have a different name (which I can address via the Crystal Reports Connections), however, one of the applications is also being upgraded at the same time. The old database (DB_A) will be

Connecting MySQL with Crystal Reports v10

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-17 21:16:15
问题 I am new to Crystal Reports v10 and I'm creating reports to embed in Visual Studio 2010 forms. The database server I'm using is MySQL. I have some issues regarding to creating new connection in crystal reports. Based on what I've read, I should select the ODBC in order for me to connect it to the MySQL. However, when I select ODBC and LocalServer and enter the username and password an error message occurred and shows Logon Failed . Am I doing it right? Is there anything you could help me

What HTML tags are supported in Crystal Reports 2008

早过忘川 提交于 2019-12-17 18:30:02
问题 I know by right clicking some text fields in Crystal Reports you can tell Crystal to render that report as HTML (See screenshots below). I'm wondering what the possible tags available in those fields is and what CSS/styling capabilities there are. Thanks! Right click a field and select "Format Field" Click the Paragraph Tag and the Text Interpretation combo box. 回答1: I found this in a forum post. Not sure about it's validity, but it seems legit. It appears that Crystal Reports only supports a

Adding Sum of fields of two tables giving strange result in Crystal Report

泄露秘密 提交于 2019-12-14 03:13:56
问题 I am using SAP crystal reports for Visual studio. I have two tables (TableA, TableB). with fields PriceA, PriceB. TableA Field : PriceA ={20,40,40}; TableB Field : PriceB ={50.40,60}; I have created a formula in my main report Formula1 = Sum(TableA.PriceA) + Sum(TableB.PriceB) But instead of getting result as @Formula1 =250. It is giving the incorrect result like '1050' (not exact). How can i get a correct result in this case. 回答1: I would suggest inserting a summary of each field (right