crystal-reports

getting grouped records into separate view columns

别等时光非礼了梦想. 提交于 2020-01-06 15:14:48
问题 I have a crystal report with a subgrouping on a field. The output is shown each group-details vertically stacked as follows: Group Header Value 1 Detail 1a Detail 1b .... Group Header Value 2 Detail 2a Detail 2b ..... and so on. What I need to see is the detail values in table columns as follows: Group Header Value 1 Group Header Value 2 Group Header Value 3 Detail 1a Detail 2a Detail 3a Detail 1b Detail 2b Detail 3b Detail 1c Detail 3c Detail 3d I've tried formatting the Detail Section with

Export Crystal Report to PDF in a Loop only works with first

夙愿已清 提交于 2020-01-06 14:48:14
问题 i'm trying to generate a report and export it to pdf in a loop, the report will receive a new parameter in each loop and prompt the client to download a PDF, in other words, the client may need to download 2 or 3 (or more) PDFs at the same time, the problem is that the prompt to accept the download only appears for the first pdf, dont know why. I can export to disk (server side) without any problems. Code: Sub PrintReport(ByVal Cod As Integer) Dim CTableLogInfo As TableLogOnInfo Dim ConnInfo

Publishing Crystal Reports to ColdFusion Pages

廉价感情. 提交于 2020-01-06 08:57:09
问题 I am trying to publish some reports created in Crystal Reports 2008 to the web using ColdFusion. I have read that you just need to use cfreport like this . I have tested this many different ways and all I keep getting is a blank page. Is it possible to do this? If not how do I publish Crystal Reports to the web? Do we need to have Crystal Reports Server? Any help would be great. Thanks! 回答1: That wont work, its for really old versions of Crystal way before 2008. You need to have the

TypeInitializerException thrown by ReportDocument constructor

你。 提交于 2020-01-06 08:51:40
问题 I have an ASP .NET web application which has references to assemblies from the 32-bit Crystal Reports runtime. (Installed from CRRedist2008_x86.msi) The server on which it has been deployed has a 64-bit Crystal Reports runtime. The form containing the CrystalReportViewer throws the following exception: System.TypeInitializationException: The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exception. ---> System.UnauthorizedAccessException: Retrieving the

TypeInitializerException thrown by ReportDocument constructor

我只是一个虾纸丫 提交于 2020-01-06 08:50:31
问题 I have an ASP .NET web application which has references to assemblies from the 32-bit Crystal Reports runtime. (Installed from CRRedist2008_x86.msi) The server on which it has been deployed has a 64-bit Crystal Reports runtime. The form containing the CrystalReportViewer throws the following exception: System.TypeInitializationException: The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exception. ---> System.UnauthorizedAccessException: Retrieving the

How to get crystal reports parameter names with JAVA

断了今生、忘了曾经 提交于 2020-01-06 08:19:06
问题 I have to create reports dinamically in my Java App. I have a CrystalReport's (.rpt) collection so it depends which rpt you select. When you select a report I have to create a new Window with requeried parameters from "file.rpt", so I need the parameters names to decide what kind of parameters user should to complete. I was looking in forums and I couldn't find anything. Thanks! 回答1: Try this! DatabaseController dbController = reportClientDocument.getDatabaseController(); Tables tables =

crystal reports - how to extract a date from string

China☆狼群 提交于 2020-01-06 08:06:41
问题 Using Crystal Reports 2008, I need to extract a date from a text field. This date is usually in the format dd/mm/yy, but could also be entered as d/m/yy, dd/m/yyyy, etc. This date could appear anywhere within the string. At the moment I am relying on the fact that the date is placed at the end of the string, without a following fullstop, and using LEFT/RIGHT to extract each date part. These parts are then passed to another formula to create a full date: Dim AllocationDate() as Date If Not

How do I send control characters to a Windows printer in Crystal Reports?

断了今生、忘了曾经 提交于 2020-01-06 07:56:47
问题 We are trying to build a Crystal Report that sends control characters directly to the printer, without going through the (buggy) Windows driver for that printer. Does anyone know a way to do this from within a Crystal Report? The specific control character we are trying to send is CHR(2). However when we put that in a Crystal Report, and print to a Generic Text Only printer, it is converting the character to a period on output. The character appears as a box in Crystal's preview, so I suspect

How do I send control characters to a Windows printer in Crystal Reports?

强颜欢笑 提交于 2020-01-06 07:56:15
问题 We are trying to build a Crystal Report that sends control characters directly to the printer, without going through the (buggy) Windows driver for that printer. Does anyone know a way to do this from within a Crystal Report? The specific control character we are trying to send is CHR(2). However when we put that in a Crystal Report, and print to a Generic Text Only printer, it is converting the character to a period on output. The character appears as a box in Crystal's preview, so I suspect

Delphi 5 & Crystal XI Rel. 2 (RDC) how to?

天涯浪子 提交于 2020-01-06 07:43:24
问题 I'm trying to work with the class from JosephStyons but I do get an "Invalid Index" Error on the line where the "User ID" should get set. FRpt.Database.Tables[i].ConnectionProperties.Item['User ID'] := edUserName.Text; Here's my environment: WinXP Sp3, Crystal Reports Developer XI Rel.2 SP4, Delphi 5 Update Pack 1 Any help or ideas greatly appreciated! Thx, Reinhard 回答1: Your value for [i] could be the culprit...I can't remember for sure but I believe the first table will be Table[1] instead