crystal-reports-2010

How to export crystal report directly to pdf in c# 2010?

强颜欢笑 提交于 2021-02-08 09:13:04
问题 How to export crystal report to pdf directly, instead of saving on disk, it open and user has to save it through pdf file option. I have tried , export to disk , export functions but none work as required... I have taken reference from these pages http://www.tek-tips.com/viewthread.cfm?qid=1398387 http://www.tek-tips.com/viewthread.cfm?qid=1028856 http://social.msdn.microsoft.com/Forums/en/vscrystalreports/thread/3201734e-8e88-4b04-b7f5-848ac1ce4fb5 http://forums.asp.net/t/1585859.aspx/1 Any

How to export crystal report directly to pdf in c# 2010?

流过昼夜 提交于 2021-02-08 09:03:43
问题 How to export crystal report to pdf directly, instead of saving on disk, it open and user has to save it through pdf file option. I have tried , export to disk , export functions but none work as required... I have taken reference from these pages http://www.tek-tips.com/viewthread.cfm?qid=1398387 http://www.tek-tips.com/viewthread.cfm?qid=1028856 http://social.msdn.microsoft.com/Forums/en/vscrystalreports/thread/3201734e-8e88-4b04-b7f5-848ac1ce4fb5 http://forums.asp.net/t/1585859.aspx/1 Any

Add multiple Dataset programatically for subreports VB.net

倖福魔咒の 提交于 2020-02-23 07:14:11
问题 I have facing problem while showing crystal report with 2 subreports. Both subreports pulling data from stored procedure. All working fine on design time. But at runtime, Crystal Reports has an error saying table not found (second table) and nothing is displayed in reports. This is the similar problem that I want to solve - Crystal Report for Income and Expense wth opening and closing balance This is my code - both stored procedure has a single parameter of datetime type: Dim DOF As Date = #4

How to summarize a formula field in crystal reports?

六月ゝ 毕业季﹏ 提交于 2020-01-23 09:52:57
问题 How do I add a running total or summary field on a formula field in crystal reports? // Sample Report Serial No. Premium Commission Net (Premium-Commission) ----------------------------------------------------------------------------- 1. 10 4 6 2. 40 30 10 --------------------------------------------------------------------------- Grand Total 50 34 16 In sample report, Net (Premium-Commission) is a formula field which gets evaluated for each row? How do I add a grand total/summary field for

How to summarize a formula field in crystal reports?

元气小坏坏 提交于 2020-01-23 09:52:28
问题 How do I add a running total or summary field on a formula field in crystal reports? // Sample Report Serial No. Premium Commission Net (Premium-Commission) ----------------------------------------------------------------------------- 1. 10 4 6 2. 40 30 10 --------------------------------------------------------------------------- Grand Total 50 34 16 In sample report, Net (Premium-Commission) is a formula field which gets evaluated for each row? How do I add a grand total/summary field for

Crystal Report in .NET Framework 4.0

两盒软妹~` 提交于 2020-01-03 17:27:14
问题 We've a WPF application written in .NET 3.5 using Visual Studio 2010 . The solution consists of 8 projects - all compiled in .NET 3.5 . The application uses Crystal Report. Target OS is Windows 7. Recently, the startup project is compiled in .NET 4.0 due to some 3rd party DLL dependency - those DLLs require .NET 4.0. After this change and rebuilding the solution, Crystal Report is throwing exception. The problem occurs at the constructor of ReportClass . Exception's message: The type

How to split a string and make an array of integers in crystal report

可紊 提交于 2019-12-30 06:47:38
问题 I have a string with set of employee IDs separated by an _(Underscore). What i want to do is to split that into separate strings and convert them to integers and save them in an integer array. Is this possible in Crystal Reports? Is it possible to convert string into integer/number in Crystal Report? I have tried using split function but still couldn't figure out how to use it to create an array. I am very new to crystal report it would be a great help if you could help me out. 回答1: //create

Converting string to date in Crystal Reports

戏子无情 提交于 2019-12-25 02:38:18
问题 I'm new to Crystal Reports, I'm trying to extract and display month and year from the string (In DB the data type of the column is varchar). Following is an example of the data. 05-JAN-12 11.49.28.000000000 AM I need it in following format Jan-12 I have used cDate to convert the string to date format but was unsuccessful, maybe I didn't do it right way. 回答1: Alter the formula to extract the date portion, then convert it to a date : DateValue(Split("05-JAN-12 11.49.28.000000000 AM")[1]) Apply

Crystal Report : Nothing appears in crystal report

你离开我真会死。 提交于 2019-12-24 19:28:31
问题 I am using Crystal Report Version=13 in my Web Application using Asp.Net . My reports were working fine, i don't remember what changes i have made, due to which the report is not showing data, even Design is not shown of report. When i open report and refresh it, in Fire Bug i got the below error. bobj.crv.stateManager.setComponentState('CrystalReportViewer1__UI',eval('('+document.getElementById('__CRYSTALSTATECrystalReportViewer1').value+')')); Any one have experience of such type of error.

Vertical & Horizontal data arrangement in same page of Crystal Reports

…衆ロ難τιáo~ 提交于 2019-12-24 09:48:48
问题 I am importing data from a single data set in my crystal reports. I have just a single column table in my report. I want to arrange some data vertically say 10 rows of the table (In two vertical lines) and some data horizontally say next 10 rows of the same table (In two horizontal lines). I have managed to do the first part that is arranged the vertical lines side by side (By using the option Format With Multiple Columns in the section expert. I am facing difficulty in arranging horizontal