crystal-reports-xi

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 failed to open the connection

随声附和 提交于 2020-12-16 05:17:30
问题 I am developing a desktop software which is creating proposals and invoices. I am storing my database (MySql) in a remote server. Everything is working perfectly fine in my PC which i am using for coding. On client machine I can add,update and delete records without any problem. But when i try to open a record in then I am facing with an error below. I was created the report in VB.NET but when I face with the error than I opened the rpt file in Crystal Reports XI Release 2 and updated data

Crystal Reports failed to open the connection

半腔热情 提交于 2020-12-16 05:16:23
问题 I am developing a desktop software which is creating proposals and invoices. I am storing my database (MySql) in a remote server. Everything is working perfectly fine in my PC which i am using for coding. On client machine I can add,update and delete records without any problem. But when i try to open a record in then I am facing with an error below. I was created the report in VB.NET but when I face with the error than I opened the rpt file in Crystal Reports XI Release 2 and updated data

Crystal Reports 11 - Useless blank page is added with just group headers that have data

与世无争的帅哥 提交于 2020-08-08 05:53:48
问题 I have a weird problem I have never seen before using Crystal Reports. I built a complex PDF monthly report for a bank that generates over 200 pages. The specifications took months to adjust with the client but it works perfectly now, showing all the data it's supposed to, all sorted right and with the right headers. But for some reason the report inserts quasi-blank pages rarely and seemingly randomly before it shows data. These pages aren't entirely blank, all my headers including group

How to grow height or all fields of a “textboxes made” grid if one column's height grows in crystal reports?

爱⌒轻易说出口 提交于 2020-02-03 10:34:26
问题 I am attaching an image to elaborate what i want to know Crystal reports dont have any specific grid control I have made a grid using textboxes in crystal reports 2011 for vs2010, But the problem is, if one of the column grows, i want to grow all text boxes of a row, as i have placed the grid in Details section of crystal report. In image attached, you can see, description's height increases because extra text and "can grow" checked, i want if description increases whole row's height should

Crystal Reports MVVM Data Source

这一生的挚爱 提交于 2020-01-15 12:49:07
问题 I have an MVVM application and would like to add Crystal Reports. I have a ViewModel of PatientList and would Like to Bind the Report to an Observable collection of Patients in the ViewModel. the Collection is not appearing in the data sources window. 回答1: I guess you are refering to Crystal-Reports datasource window right? If so - I think you will never find the ObservableCollection there (and I don't know if you can have CR observe the collection) but on the document-class in Crystal-Report

Cannot find KeycodeV2.dll, or invalid keycode

左心房为你撑大大i 提交于 2020-01-04 05:25:12
问题 I have a legacy application developed in vs2003 and crystal report 9 web based and installed on windows xp and its running very fine, I want to move this application from windowsxp to window2008 server and iis7 having vs2010 and crystal report xi is installed on that machine , when i tried to open any report I am getting the following error Cannot find KeycodeV2.dll, or invalid keycode i have copy this dll in the bin folder as well as in system32 folder even i have registered this dll with

How to pass values to two different parameters

只愿长相守 提交于 2019-12-28 06:48:06
问题 I am developing a Windows Application and use a Crystal Report in it. I am able to pass value to one parameter of Crystal Report. Now, I have added one more parameter to Crystal Report, but confused about what modification I have to make in below code. Below code is written to pass value to one parameter of CR. Private Sub btnLoadBatch_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnLoadBatch.Click Try Dim cr As New crMonthwiseBatch Dim oBatches As New Batches Dim

Grand Total Cross Tab rows alongwith columns?

时光总嘲笑我的痴心妄想 提交于 2019-12-25 00:09:11
问题 I want to total a cross tab report like GroupName Items Item% 1stStock 2ndStock ------ nStock --------- ----- ------ -------- -------- ------- Fruits Apples 5 100 100 500 Tomatoes 10 200 50 200 Mangoes 10 300 50 100 ------------------------------------------------------------ Total 25% 600 200 800 ------------------------------------------------------------ Vegetables Carrots 40 10 20 --------- 20 ------------------------------------------------------------ Total 40% 10 20 --------- 20 ------

Transposing Row Data as Columns in Crystal Reports

孤街醉人 提交于 2019-12-20 06:19:04
问题 I have the following data returned from a stored procedure Staff Category Amount ----- ------- ------ Bob Art 123 Bob Sport 777 Bob Music 342 Jeff Art 0 Jeff Sport 11 Jeff Music 27 All Categories will always be returned for all Staff even is the Amount is zero What I want to do on my Crystal Report is output this:- Staff Art Sport Music ----- --- ----- ----- Bob 123 777 342 Jeff 0 11 27 I effectively want to Transpose the data in the Category rows as headers or columns in my report. I do not