crystal-reports-2008

extract raw SQL query from a Crystal Report .rpt file

我的梦境 提交于 2019-12-09 07:57:12
问题 I've got an .rpt file that I did not write and can find no documentation about. I want to be able to review the SQL that is generated from this report so that I can figure out, well, what data it was pulling and what WHERE clause parameters were used. I can open it up and see the report layout. But when I select Database|Show SQL Query... the report tries to connect to the data source. The problem is, the data source being used is unknown to me, probably an ODBC connection used by whoever

How does the “send page by email” feature in Internet Explorer choose to send as the body of an email, or as an attachment?

一世执手 提交于 2019-12-08 14:34:15
问题 When using the "Send page by email" feature in Internet Explorer for pages within our application that include a Crystal Reports ASP.Net viewer, it drafts the email in Outlook with the web page as an attachment, rather than as the body of the email. With a previous version of the framework (v1.1), and associated Crystal report viewer, this was not the case. Given those older versions are now unsupported, I'd like to know if there is any way I can "encourage" the "Send page by email" feature

Send Subreport Parameter to main report parameter in crystal report

风流意气都作罢 提交于 2019-12-08 11:45:08
问题 I am using Crystal Report , and I want to display the value of shared variable in Main Report that will change from Sub Report . I know, this is a very old topic, and there are solutions available on the internet and stackoverflow also. Crystal Reports: How to pass a parameter from a subreport to the parent report? http://www.ehow.com/how_5287432_use-shared-variable-crystal-report.html I tried both solution but none of them is working. I am sure something I am missing. I am just started

Crystal Reports custom paper size width = 33 cm and height = 21.5 cm

断了今生、忘了曾经 提交于 2019-12-08 10:52:36
问题 I need custom paper size in Crystal Reports width = 33cm and height = 21.5cm. I want this size to print an invoice only. I added in the printer settings a custom paper size to add It in a report. Put the maximum width size is 30.4cm. So, how can I create a custom paper size by C# code, or any thing else? 回答1: Open your .rpt file. Right click, then select design -> page setup. You could use user defined size from your printer or custom your paper size. I hope it solves your problem. 来源: https:

Crystal Report v10.5 toolbar not visible on Firefox but visible on IE and Chrome

懵懂的女人 提交于 2019-12-07 07:03:15
问题 I am using crystal report v10.5 with visual studio 2008 to develop crystal reports.The problem I am facing is with the toolbar which is not visible on Firefox but it is visible on IE and Chrome. I have installed same version on both development machine and on production server which is Crystal report v10.5. My development machine is Windows 7 32bit and production is Windows 2008 64bit. I have tried solutions mentioned on numerous forums such as Copy the 'aspnet_client' folder from 'C:\Inetpub

Crystal report issue with int to string conversion

℡╲_俬逩灬. 提交于 2019-12-07 06:47:46
问题 I want to convert int to string and then concatenate dot with it. Here is the formula totext({#SrNo})+ "." It works perfectly but not what i want. I want to show at as 1. but it shows me in this way 1.00. it means that when i try to convert int to string it convert it into number with precision of two decimal zeros. Can someone tell me how can i show it in proper format. For information i want to tell you that SrNo is running total. 回答1: ToText(x, y, z, w) Function can use x=The number to

How to add custom prerequisites to VS 2010 Setup projects

佐手、 提交于 2019-12-06 14:33:57
问题 I have an application that needs to use Crystal Report Basic. I understand, I can add this as prerequisite and if it's not already installed on Target machine, it will be downloaded and installed. I can't seem to find similar option on VS 2010 or maybe I forgot. 回答1: You can add Prequisities called Bootstrapper Manifest packs to your VS2010 using a very good tool which is Bootstrapper Manifest Generator. here is a good tutorial how to build custom prerequisities , then you add them into

Crystal Report: How to evaluate multiple IF statements in one formula?

北慕城南 提交于 2019-12-06 00:24:17
问题 Background I'm attempting to do some nice looking validation on the details row of my report. I have several formulas named as Assert statements, that return false if they fail a test and true if they pass. Goal I would like to create an array that stores "rule violations" and then displays them in a field at the end of the row, under a heading called "Broken Rules" What I've done so far Created an Array and Initialized it as an empty string array in the report header Created a formula to do

How to summarize a formula field in crystal reports?

走远了吗. 提交于 2019-12-06 00:10:24
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 my formula? It seems we can add a summary field to only Command fields. Suppose Net (Premium-Commission)

Crystal Report “Invalid file name.” issue

。_饼干妹妹 提交于 2019-12-05 14:21:07
I have uploaded my WebApplication . My application is in VS2008 with Crystal Reports 2008 sp3. I have uploaded on parallel plex server. I have added all the Required Dll of crystal reports in the Bin folder. My report path is also correct. The error i receive is Line 41: ReportDocument myreport = new ReportDocument(); Line 42: string reportPath = Server.MapPath("~/CrystalReport.rpt"); Line 43: myreport.Load(reportPath); Line 44: Line 45: myreport.SetDataSource(ds); [COMException (0x800001fb): Invalid file name.] CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(Object&