crystal-reports

Creating a 2-page Crystal Report

落花浮王杯 提交于 2021-02-20 02:55:28
问题 Those big boxes at the top are just there to cover up customer info I have to design reports for custom pack slips for a couple of customers. Putting their logo on the report and their special footer is no problem. Where things get hairy is that they both have a whole other page worth of stuff like policy information, return info, this and that, that they want printed as part of their pack slip. I'm pretty new to Crystal Reports, but I'm kind of sure you can't just... do that. I thought "oh I

Proper way to programmatically set database connection for Crystal Reports

为君一笑 提交于 2021-02-11 14:45:24
问题 I am new to Crystal reports. I have to set the datasource of the report at run time through code. I have a working code but it is very unpredictable and has been giving many problems. I just wanted to know if I am doing something wrong or if there is a better way to do this. Sometimes I feel the report is not even using the connection string rather using the connection that was specified at compile time of the report from the standalone Crystal application. Is this true? Dim connectionInfo As

crystal reports asp.net do i have to use setdatabaselogon

☆樱花仙子☆ 提交于 2021-02-11 13:56:05
问题 I have a crystal report designed using xsd file (dataset with ado.net connection). Crystal version 14.2.5.2618 and using vs 2017... deployed to .net 4.7.2 framework website. I have a service (WCF) returning a dataset that is valid and filled. When I deploy the report to the web server the report prompts for a database login even though it is fine in development. Here is the code with names changed to protect the innocent. m_myRPT.Load(Server.MapPath("~/Reports/my.rpt")) m_myRPT.PrintOptions

Crystal Reports empty when printed during runtime(without viewer)

半世苍凉 提交于 2021-02-11 12:51:45
问题 I'm developing a small POS system using VB.Net , MS Sql and Crystal Reports. I have no trouble viewing reports using Cry Rep Viewer. But when i try to print a bill during runtime the report becomes empty. Following is the sequence i'm executing within the procedure. Generate bill no Deduct qty from stocks add the transaction from temp table to final sales table print bill delete temp table transactions clear for next transaction But my problem comes during the bill printing. Bill does not

How to prevent Crystal webserver refetching data on each page

家住魔仙堡 提交于 2021-02-08 05:27:16
问题 We're using Crystal 11 through their webserver. When we run a report, it does the Sql query and displays the first page of the report in the Crystal web reportviewer. When you hit the next page button, it reruns the Sql query and displays the next page. How do we get the requerying of the data to stop? We also have multiple people running the same reports at the same time (it is a web server after all), and we don't want to cache data between different instances of the same report, we only

Different versions of Crystal Reports runtime

醉酒当歌 提交于 2021-02-07 20:01:42
问题 I have two WinForm applications that use CR runtime to generate reprts.When CR runtime 13.20 is installed, the newer application will complain that it can't find and load CR 13.21 (13.0.350) assembly. If I upgrade CR runtime to 13.21 (13.0.350) that new application will work but the older one errors out with exception stating that it can't find and load CR runtime assembly 13.20 (13.0.200). All workstations operate on CR runtime 13.20 so how can I make new app created in VS2015 with CR 13.21

Different versions of Crystal Reports runtime

家住魔仙堡 提交于 2021-02-07 20:01:27
问题 I have two WinForm applications that use CR runtime to generate reprts.When CR runtime 13.20 is installed, the newer application will complain that it can't find and load CR 13.21 (13.0.350) assembly. If I upgrade CR runtime to 13.21 (13.0.350) that new application will work but the older one errors out with exception stating that it can't find and load CR runtime assembly 13.20 (13.0.200). All workstations operate on CR runtime 13.20 so how can I make new app created in VS2015 with CR 13.21

Crystal Reports for VS2012 – free or not?

冷暖自知 提交于 2021-02-07 07:18:22
问题 Since Visual Studio 2010 Crystal Reports are no longer part of Visual Studio. I'm using Visual Studio 2012 Professional and despite checking various sources I cannot reliably determine whether I can freely download and use Crystal Reports Developer version for development of commercial applications in Visual Studio 2012 freely distribute and install Crystal Reports Runtime for running apps (developed above) at clients In other words, do I need to purchase a license or not? Do clients need

Displaying Image in Crystal Reports 10 using C# through a File Path stored in a Database

♀尐吖头ヾ 提交于 2021-02-05 09:32:04
问题 I have a C# Windows Application that Stores Employee Data into a MYSQL Database including their picture's file path (\\192.168.13.6\IDPictures\Unknown.jpg). Can someone help me on how to display the picture in a Crystal Reports 10 Report by reading the file path from the database? I can't seem to find the answer. Please Help. 回答1: 1) Read the path. 2) Load the image: byte[] buffer = File.ReadAllBytes(path) 3) Put it into a column of type byte[] in your dataset: row[column] = buffer; 4) In

Displaying Image in Crystal Reports 10 using C# through a File Path stored in a Database

你离开我真会死。 提交于 2021-02-05 09:31:12
问题 I have a C# Windows Application that Stores Employee Data into a MYSQL Database including their picture's file path (\\192.168.13.6\IDPictures\Unknown.jpg). Can someone help me on how to display the picture in a Crystal Reports 10 Report by reading the file path from the database? I can't seem to find the answer. Please Help. 回答1: 1) Read the path. 2) Load the image: byte[] buffer = File.ReadAllBytes(path) 3) Put it into a column of type byte[] in your dataset: row[column] = buffer; 4) In