crystal-reports-2008

Repeating Group header on each page in crystal reports

丶灬走出姿态 提交于 2019-12-05 11:21:32
问题 I have a main report and 1 sub report.In sub report i created a dummy group and checked repeat gh on each page to show headers in every page . But some times if the summary values came in new page the headers are not showing.(when there is no detail section values and only summary values). How to resolve this. 回答1: Go to Group Expert Click on 'options' button Select the 'options' tab Check on 'Repeat group header on each page' 回答2: Check you may have checked "New Page After" or "New Page

Crystal report issue with int to string conversion

*爱你&永不变心* 提交于 2019-12-05 10:58:25
I want to convert int to string and then concatenate dot with it. Here is the formula totext({#SrNo})+ "." It works perfectly but not what i want. I want to show at as 1. but it shows me in this way 1.00. it means that when i try to convert int to string it convert it into number with precision of two decimal zeros. Can someone tell me how can i show it in proper format. For information i want to tell you that SrNo is running total. ToText(x, y, z, w) Function can use x=The number to convert to text y=The number of decimal places to include in result (optional). The value will be rounded to

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

喜夏-厌秋 提交于 2019-12-05 03:40:43
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 that error.. i need this to work so that i can do my crystal reports.. i've been trying to fix this

How to add custom prerequisites to VS 2010 Setup projects

浪尽此生 提交于 2019-12-04 19:50:44
I have an application that needs to use Crystal Report Basic. I understand, I can add this as prerequisite and if it's not already installed on Target machine, it will be downloaded and installed. I can't seem to find similar option on VS 2010 or maybe I forgot. You can add Prequisities called Bootstrapper Manifest packs to your VS2010 using a very good tool which is Bootstrapper Manifest Generator. here is a good tutorial how to build custom prerequisities , then you add them into Microsoft SDKs\Windows\v7.0A\Bootstrapper\Packages folder (v7.0A case windows 7 or 2008) Hope it helps 来源: https:

How to send parameters to Subreport in Crystal Reports

两盒软妹~` 提交于 2019-12-04 10:56:43
Using VS 2008. I have two stored procedures, one used to get data for the main report and other for Sub report and both the SP's use the same parameter QuoteID. I have send parameter to main report using ReportDocument. But I am not aware how to send parameters to SubReport. I tried many diff ways using the reportdocument's setparameter method which also takes subreport name as argument.But it didn't. Below is the code I have used string Type = gvQuotationDetails.Rows[QuoteIndex].Cells["Type"].EditedFormattedValue.ToString(); FilePath = ConfigurationManager.AppSettings["EMP_IMG_PATH"].ToString

Crystal reports error in SetDataSource

对着背影说爱祢 提交于 2019-12-04 02:55:15
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. Try using this solution by adding the useLegacyV2RuntimeActivationPolicy attribute to your .config file

How can I retrieve the SQL SELECT statement used in an Crystal Report?

我的未来我决定 提交于 2019-12-03 13:19:35
问题 I am currently working on a program in C# that allows our users to run, view and export a batch of Crystal Reports. The reports were made using the Crystal Reports 2008 GUI. One of the main reasons for doing this is to allow us to preserve hyperlinks when the Crystal Report is exported to PDF. My program does this by exporting to rtf, then converting the rtf to a pdf. If anyone knows of a less convoluted method of preserving hyperlinks when converting to PDf I'd love to hear it, but that's

What is {ts '2013-04-02 00:00:00'}?

夙愿已清 提交于 2019-12-03 11:40:32
when i analyzing running T-SQL I found a query that have {ts '2013-04-02 00:00:00'} in where clause. i was so curious about this and tried to find the source. It was executed by a CrystalReport Report. here is the query. SELECT * FROM [Table] B WHERE CONVERT(VARCHAR, [AddedDateTime], 111) BETWEEN CONVERT(VARCHAR, {ts '2013-03-31 00:00:00'}, 111) AND CONVERT(VARCHAR, {ts '2013-04-02 00:00:00'}, 111) Can anyone tel me what is it and where we can use it? It's an ODBC literal escape sequence ODBC defines escape sequences for date, time, and timestamp literals. The syntax of these escape sequences

extract raw SQL query from a Crystal Report .rpt file

只谈情不闲聊 提交于 2019-12-03 10:57:27
I've got an .rpt file that I did not write and can find no documentation about. I want to be able to review the SQL that is generated from this report so that I can figure out, well, what data it was pulling and what WHERE clause parameters were used. I can open it up and see the report layout. But when I select Database|Show SQL Query... the report tries to connect to the data source. The problem is, the data source being used is unknown to me, probably an ODBC connection used by whoever wrote the query. All I can do at that stage is 'Cancel' and I'm back to looking at the report designer. Am

How can I retrieve the SQL SELECT statement used in an Crystal Report?

Deadly 提交于 2019-12-03 03:24:30
I am currently working on a program in C# that allows our users to run, view and export a batch of Crystal Reports. The reports were made using the Crystal Reports 2008 GUI. One of the main reasons for doing this is to allow us to preserve hyperlinks when the Crystal Report is exported to PDF. My program does this by exporting to rtf, then converting the rtf to a pdf. If anyone knows of a less convoluted method of preserving hyperlinks when converting to PDf I'd love to hear it, but that's not my current question. I have done a lot of tests on how to optimize my program to make the export take