crystal-reports

CRexport.exe on 64 bit system. Faile to log on to Database

吃可爱长大的小学妹 提交于 2019-12-25 08:40:52
问题 Using CRexport.exe on a 64 bit system gives an error. .Net is 64 bit CR Runtime is 64 bit The report does run on Crystal Reports XI Release 2 when oppened. Sample Command: C:\crexport\crexport.exe -F C:\rpt\CheckLogin\LoginCheck.rpt -E "csv" -a "Token:636300135206847568" -O C:\crexport\CR_LOGIN.tkn -U [username] -P [pasword] This report uses a PeopleSoft Query as a data source. Command to execute a reort runs fine on my 32 bit machine. Full source code being used to troubleshoot issue is on

how to create crystal report using datagridview values without using database in C#?

妖精的绣舞 提交于 2019-12-25 08:39:02
问题 I am working Windows form Application in c#.I like to create crystal report from datagridview values instead of using database values. How can i do this,Is it possible to do this.how can add the values in crystal report dynamically 回答1: You could create a DataSet and populate it with the values from the DataGridView. You can then bind the Crystal Report to the DataSet. Something along the lines of: DataSet ds = new DataSet(); ds = FetchDataFromGrid(); CrystalReport myReport = new

Simple linq2sql query to display in crystal report

我们两清 提交于 2019-12-25 08:13:43
问题 I am new to crystal reports and would like to to display sql data on a crystal report using linq2sql. So far i am just trying to display one field (tripNo) with no luck. My error is the data source object is invalid. Here is my code. private void runstuff() { using (DataClasses1DataContext db = new DataClasses1DataContext()) { var test = (from s in db.trips select s.tripNo).First(); CrystalReport1 cr1 = new CrystalReport1(); cr1.SetDataSource(test); crystalReportViewer1.ReportSource = cr1; }

Set DataTable as DataSource for Crystal Report

删除回忆录丶 提交于 2019-12-25 06:41:39
问题 I am creating a report in Visual Studio 2008. My crystal report is created using TTX or Data Definition File and I am passing a DataTable as its data source. I have already checked my TTX and DataTable columns if they are the same. Here is the code: string strReportFilePath = ConfigurationManager.AppSettings["ReportsPath"] + "MyReport.rpt"; rpt.Load(strReportFilePath); DataTable dt = GetDataTableFromOracle("select item_no, descr from items"); crvReportViewer.ReportSource = rpt;

crystal report layout designer in vb.net form

左心房为你撑大大i 提交于 2019-12-25 05:38:28
问题 I need to change the position of bound fields in crystal report at run time for eg: I have a report with 4 fields/parameter in it. I need to make 1 form which user can change location of it and the crystal report for this fields will have that location ...hope qtn is clear if not sorry I dont want full fledged layout designer...just a small form of it of changing position of the values/fields 来源: https://stackoverflow.com/questions/15619179/crystal-report-layout-designer-in-vb-net-form

Crystal reports not working after creating project setup

…衆ロ難τιáo~ 提交于 2019-12-25 05:29:06
问题 I have created some Crystal Reports for my Windows Project. They function fine when I run them on Visual Studio. (I am using VS 2010). But they wont work after I created the setup project and install the software on the Client PC. I get the following errors: http://tistus.srilanka-erickson.com/errors.html Following displayed is the button click event code that I have used to Load the crystal Report: First try clause has been used to register custom inputs to the Report, meanwhile the second

How to publish my windows form application with database

北战南征 提交于 2019-12-25 05:25:10
问题 I am developing Winform application using vb.net and MS Access in Viusal Studio 2012. I completed my application and now i just wanted to publish it. In my project Solution I have forms and rpt files (crystal reports). I use the following connection string to my database which is not included to my project solution : conn.ConnectionString = "provider=Microsoft.Jet.OLEDB.4.0; Data Source=" & Application.StartupPath & "\tblcmplist.mdb" Now the database should be there in folder where my

Crystal Reports with SQLite database

末鹿安然 提交于 2019-12-25 05:20:32
问题 Can we work with Crystal Reports in Visual Studio with a SQLite database? 回答1: Well, if the question is just that, yes, it can work. EDIT: Introduction to Crystal Reports in .NET System.Data.SQLite, ADO.NET provider for SQLite 来源: https://stackoverflow.com/questions/7014337/crystal-reports-with-sqlite-database

Calculating Sub-totals as a percentage of Grand-total in Crystal Reports 2008

人盡茶涼 提交于 2019-12-25 04:41:31
问题 I know this has been asked time and again by people all over the net, but I can't for the life of me figure out why my solution isn't working. I have a bunch of groups, and in each group's footer I have a running total which acts as a sub-total for that group. At the very bottom of the page, I have a running total which adds all these sub-totals together to give a grand-total. This all works great. To the right of each sub-total (group footer), I have a formula field which calculates what

Crystal Reports Excel export with worksheets

回眸只為那壹抹淺笑 提交于 2019-12-25 04:39:10
问题 Is there a way to convince Crystal Reports to export a page / group / whatever to separate worksheets when exporting to Excel (Data Only)? I'm using the CR that came with VS2008 (version 10.5) Thanks. 回答1: According to the documentation you cannot export a report directly to multiple worksheets in a single Excel workbook. When the limit of 65536 rows in Excel is reached though, the exporter does create a new worksheet, but you are not in control :) update To create your own Excel merger: PRE: