crystal-reports

right to left string in crystal report

不想你离开。 提交于 2019-12-23 10:17:02
问题 Consider Below Query in SQL Server below picture is result of this query in Crystal Reports. as you can see the right part is exactly same as query result in sql server and left part is converted by a locked function to meet right to left property of Persian language. I need to Obtain this Function. 回答1: First you have re-write you sql statement to be as follow: SELECT N'Your Text' and in crystal report on your text object > right click > Format Object > Paragraph tab > Reading Order > Select

Pivot Tables in Crystal Reports?

对着背影说爱祢 提交于 2019-12-23 10:07:26
问题 I need to make a pivot table on my Crystal Reports. Right now i'm using an ODBC connection...but while I know you can create a pivot table in CR, I am not 100% sure how to do it. Anybody here know an easy step-by-step way to do this? 回答1: Within Crystal Reports go to File/New and choose Cross-Tab Report. Setting up the data connection and links are the same as a standard Crystal Report, and you simply add the fields that you require into the columns and rows boxes on the Cross-Tab set up

Reuse only some parameters on Crystal Reports refresh?

不羁的心 提交于 2019-12-23 10:06:16
问题 I have a Crystal Reports which takes 2 parameters. One of these is set automatically by the C# app that runs the report, but the other is set by the user. I would like to make it so that when the user refreshes the report, only the parameter that was entered by the user is prompted for. I'm aware of the ReuseParameterValuesOnRefresh property, but this make it so that ALL parameters are reused. I have also tried appending the refreshreports method, but this doesn't seem to work. When I look at

Copy and paste subreport within the main report

流过昼夜 提交于 2019-12-23 09:24:45
问题 I have a report that includes a sub report. I need to add a same sub report with minor modification for the report. Is there a way to copy one existing report within the main report, paste it, then go into that new sub report and only have to make the changes required for the slight differences between the sub reports. Please let me know. 回答1: Open the existing subreport and do a save subreport as and save a local copy. now make the necessary changes in that saved copy. Add the changed

How to assign Custom class as datasource in crystal report

徘徊边缘 提交于 2019-12-23 07:38:53
问题 I created crystal report and through Data-->object i generated the DataSource and i added the fields from generated Datasource. My problem is, how to assign the values to the datasource. Is anything like grid.DataSource = MyCustomClass is available. I can't access the Database directly [its a remove service]. What is the way to assign the values. I want some thing like class CustomClass { string name; string number; public string Name { set { return name; } } public string Number { set {

Unable to generate Crystal report- Incorrect Log on parameters

喜夏-厌秋 提交于 2019-12-23 05:38:04
问题 I have been trying to generate my report but this error keeps showing up. Can any one please tell me what can be the issue, what can be the possible solutions to rectify the problem. Logon failed. Details: mscorlib : Could not find a part of the path 'E:\OPCollectionSUMMARYReportXML.xml'. Error in File C:\Users\arifkhan\AppData\Local\Temp\OPCollectionDetailsReport {89FDC9CF-5AE2-45E7- B382- 28318AD342A2}.rpt: Unable to connect: incorrect log on parameters. Configuration: C# (VS2005), Crystal

crystal report toolbar button not working

一曲冷凌霜 提交于 2019-12-23 05:21:13
问题 when i click next page in my report and i am sure that there is another page this message appear and there is not any page appear message "please wait while document processed" and this occur on all toolbar button image protected void Page_Load(object sender, EventArgs e) { Title = "عرض التقارير"; if (Session["UserCode"] == null) Response.Redirect("~/Login.aspx"); if (Request.QueryString["id"] != null) { oReport = new Cls_Report(); oReportDocument = new ReportDocument(); if (!Session[

Displaying Image from SQL Server in Crystal Reports

馋奶兔 提交于 2019-12-23 05:02:04
问题 I have a couple of images in my SQL Server 2008 table of which the datatype is image . In my VS.net 2008 project I have a crystal report which is displaying all the fields from that table, but the image is showing as a blank image. Any thoughts, How I can make it work? 回答1: You have to convert the image before you can show it. In crystal reports, you can click on the image control and set the value property of the control to the following (replace ImageFieldName with your field name) System

How to sum running total field for each group in crystal report?

旧城冷巷雨未停 提交于 2019-12-23 04:42:10
问题 i have problem in crystall report, Here is my code following many reference site in google, // {@reset} //place in group header whileprintingrecords; global numbervar Sum_Cumm_Sum:=0; // {@increment} //place in section detail whileprintingrecords; global numbervar Sum_Cumm_Sum:=Sum_Cumm_Sum+{@getIP}; // {@display} //place in group footer whileprintingrecords; global numbervar Sum_Cumm_Sum; Where getIP is Formula, {#sumKN}/{#sumSKS} and code in it is running total field with reset on change

Downgrade a crystal report to an older version?

故事扮演 提交于 2019-12-23 03:53:06
问题 I have a legacy app that can display crystal reports to the user, using the crystal component current at the time it was developed. Sadly, the version at that time was 8.5. If I try to open an XI report in the old app, then I get an exception about not being able to open the report. I'd like to show a Crystal XI report in that application. Is it possible to downgrade a crystal report to an older version? It would be nice if I could open it in Crystal XI and do File->Save As->"Crystal 8" but