crystal-reports-2008

Display PDF and Excel export options in Crystal Reports?

泄露秘密 提交于 2019-12-11 13:14:42
问题 I need to Remove the Word, Rpt and rtf option in Crystal report Export option. Is it possible? I need only two option pdf and Excel. If possible please advice. 回答1: Using CRVS2010 , you can remove unwanted export Option. A new feature of CRVS2010 is the ability to modify the available export formats from the viewer export button. The following C# sample code demonstrates how to set the CrystalReportViewer to export only to PDF and Excel file formats: int exportFormatFlags = (int)

Barcode not working on Crystal Server 2011

非 Y 不嫁゛ 提交于 2019-12-11 11:48:04
问题 We just setup a Crystal Server 2011, and we can't get the barcode font to work. We installed the barcode font on our server, but when we run the barcode doesn't show up. Is there any setting we missed? Do we have to add the font to the Crystal Server 2011? 回答1: The barcode was actually working, we just didn't see the barcode, because I printed one of the documents and it worked. I then realized that it was just how we were viewing it. I enabled Active X and it now shows up in the internet

Converting SQL statement to SQL expression field in Crystal Reports

半腔热情 提交于 2019-12-11 08:36:47
问题 I have a SQL statement that pulls data I need but I can't get the syntax right in Crystal Reports. This statement works in SQL: SELECT max([meter_reading]) FROM [Forefront].[dbo].[EC_METER_HISTORY_MC] WHERE [Meter_Number] = '1' AND [Transaction_Date] < '20130101' GROUP BY [Company_Code], [Equipment_Code], [Meter_Number] This is what I changed it to in crystal but I can't get the right syntax. SELECT Maximum({EC_METER_HISTORY_MC.meter_reading}) FROM [EC_METER_HISTORY_MC] WHERE {EC_METER

New group in New column

泄露秘密 提交于 2019-12-11 06:49:50
问题 I have a multi column report in crystal report.Is there any way to start each new group in new column in Crystal report in the same page? 回答1: Yes, and it's very easy when you know how! If you create an empty group footer for the column and in the section expert tick 'Print at Bottom of Page' this will force the next group into the next column. When you create a grouping, by default, there will also be an empty footer created; if, in design mode, you right click the group descriptions for

Crystal Reports - Passing value from one parameter to another

本秂侑毒 提交于 2019-12-11 05:19:17
问题 Crystal Version: 2008 I have 2 date parameters (start date and end date). I want to create an initial Boolean parameter; that if, 'True' automatically sets the 2 date parameters to specific dates, if 'False' the user enters the start date and end date. Basically, I want to create a parameter to drive another parameter. Any thoughts? 回答1: I think you should be able to use shared variables to accomplish this. You can set the values in a formula field the report header and then use the shared

Selection formula excluding rows with columns having null values

随声附和 提交于 2019-12-11 04:34:13
问题 I have a strange issue. I have a report CR. In the Selection Formula I do a test on two fields. The test is simple like that : {field_City} = 'Paris' OR {field_Country} = 'France' . This is a sample of the data in my table: |---------------|---------------|---------------| | ID_Record | Country | City | |---------------|---------------|---------------| | 1 | null | Paris | |---------------|---------------|---------------| | 2 | France | null | |---------------|---------------|---------------|

Dynamic Columns in Crystal reports

喜欢而已 提交于 2019-12-11 03:05:21
问题 I got a requirement to create dynamic reports where if a column is added in database that column should automatically need to be reflected in crystal reports. I am wondering if dynamic column possible in crystal reports? If yes.. How to achieve? 回答1: As far as I know by adding a column in db you can't get it on crystal reports via datatable but you can get it via stored procedure but you have to drag and drop the field. Go through this link hope it will help you Crystal report with Dynamic

How can i add 2 summarized field in Cross-tab Crystal Report

给你一囗甜甜゛ 提交于 2019-12-11 02:44:29
问题 I create report using cross tab in crystal report, I have columns as picture below. I want, 2 of summarized column (Qty and Sales) and added 2 of summarized field in cross-tab expert. But it's still not work. If I want to assign value from #4 to #3. 回答1: Crosstab expert - Customize style - Summarized fields - choose Horizontal, check Show Lables. At least in my older CR (9.0) this works. If this doesn't andswer your question then sorry - your question is somewhat badly worded. 来源: https:/

Summarizing by group and subgroup

别来无恙 提交于 2019-12-10 12:20:02
问题 I have a crystal report, it has a group by statement based on two fields Companyname Account Type Now Crystal report work and it does group by "companyname" but it does not group by "account type". I have two types of account, "Regular and Premium". One company has both type of account with us and it pulls on regular and not premium. What do you think is the issue. I am new to crystal report. I am familiar with SQL Though. The differences that I see is There is no aggregate function used for

ERROR [IM014] [Microsoft][ODBC Driver Manager] The specified DSN contains an architecture mismatch between the Driver and Application

谁都会走 提交于 2019-12-10 03:02:19
问题 how can i fix this error? ERROR [IM014] [Microsoft][ODBC Driver Manager] The specified DSN contains an architecture mismatch between the Driver and Application.. it is occuring in a new project that i am doing... im using vb 2008 , MYSQL as my database and windows 8.1 as my OS i read on forums that you just fix with the odbc administrator tool... i tried creating my DSN there but it still doesnt work... i tried opening an old project of mine it works fine.. but this new project keeps getting