crystal-reports-2010

Crystal Report Sum of a Column data

不羁岁月 提交于 2019-12-07 08:17:03
问题 I have field GrandTotal in my dataset which I am showing in my report. I want show the total of all data in the footer . My column data are string . I tried to make a formula as bellow SUM(ToNumber({Ds.Grandtotal})) But its saying a field is require. 回答1: You must convert the field into number, and then try to get the sum. Step 1: Create a new formula from field explorer, give a name to formula (relevant name). Step 2: Convert the field into Number. Step 3: Then Add Sum of the formula field

Crystal report if then help, how to return a string or variable with formula

我们两清 提交于 2019-12-06 03:30:56
Relatively new to crystal and I've hit a bit of a snag with a formula. I'm trying to create a formula that will report out when an RMA was received and how many. If none of the items have been received, I want it to show a message stating such, but if items from the RMA have been received I want it to return the receipt number. Since a picture is worth a thousands words... Current report view I tried using an if then but I don't think you can combine strings with BAQReportResult values. if {BAQReportResult.RMARcpt.OurReceivedQty}>0 then {BAQReportResult.RMARcpt.RMAReceipt} After that I tried a

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)

Invalid TLV record when executing crystal reports in c#

和自甴很熟 提交于 2019-12-05 18:37:23
I am creating a C# program where it will display a report that was created using a crystal report. I'm already done with the report. But then, when I tried to view the report in C# it prompted me an error which is " INVALID TLV RECORD ". What might be the reason for this? Please help. Thanks. Code: private void reportViewer1_Load(object sender, EventArgs e) { CRAXDRT.Report rpt = new CRAXDRT.Report(); CRAXDRT.Application app = new CRAXDRT.Application(); rpt = app.OpenReport(Application.StartupPath + "\\Reports\\Pay2Final.rpt", null); } Error Message: try this The "Invalid TLV Record" error

Winforms Crystal Report - “Failed to load database information” error

不打扰是莪最后的温柔 提交于 2019-12-04 01:30:41
问题 I have developed a small crystal reports win forms application that connects to an Access DB in the local network and shows a set of basic reports. I used VS 2010 for this. I used the 'DAO' connectivity method to access the DB in the VS 2010 Database expert option (Yes, Its all done in the GUI). It works all fine and dandy in my 32 bit dev machine and an Win XP VM machine that i tested it on. However, I setup the reports on a Win 7 64bit PC and I get this error. These are the installations I

How to Print from ASP.NET CrystalReport on client side printer

允我心安 提交于 2019-12-01 14:14:00
How do I print report from CrystalReport (ASP.NET) on a client side printer. You have two options: Set the PrintMode to ActiveX or PDF, and leave the Crystal report viewer toolbar to handle it. Create a pdf in an iFrame, and trigger the print command with JavaScript. To simplify what the users had to install on each client I went with the hidden pdf option and a separate button to print to client. On the aspx page I have an asp literal that I populate with the pdf embeded object at 1px x 1px so it isn't visible to the user. Then on pageload call the printToPrinter method. // On server side //

Winforms Crystal Report - “Failed to load database information” error

妖精的绣舞 提交于 2019-12-01 05:22:18
I have developed a small crystal reports win forms application that connects to an Access DB in the local network and shows a set of basic reports. I used VS 2010 for this. I used the 'DAO' connectivity method to access the DB in the VS 2010 Database expert option (Yes, Its all done in the GUI). It works all fine and dandy in my 32 bit dev machine and an Win XP VM machine that i tested it on. However, I setup the reports on a Win 7 64bit PC and I get this error. These are the installations I made on the 64bit Win 7 PC: SAP Crystal Reports runtime engine for .NET Fx 4 (64-bit) .NET Framework 4

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

最后都变了- 提交于 2019-11-30 21:48:13
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. //create an array of strings by parsing a underscore-delimited string field Stringvar Array strings := Split({table

Font size is decreased when exporting Crystal Report to PDF

柔情痞子 提交于 2019-11-30 18:56:33
I have a font size issue in exporting crystal report using crystal report 13.0,the font size is decreased,so i need to increase it.i notice that i must set it from the registry key,but t I'm not founding the file related to the font(PDF\ForceLargerFonts ) in the registry file that must be changed This is a known issue with Crystal Reports which reduces the font size when it exports to a PDF file. The solution is retrieved from Business Objects support site. Solved it by below links is useful : please check it out 1- http://www.barcodesoft.com/crystal-reports-export-pdf-font-size.aspx 2- http:/

Can I make a two column Crystal Report?

非 Y 不嫁゛ 提交于 2019-11-30 16:40:53
I have a report that has one detail row for every day of the month. I would like to present the info with days 1 to 15 in one 'group column' on the left, and the other days on the right. Each of these 'group columns' would contain four information columns. I can do this manually by splitting the report DB query columns, but I'm really hoping there is a more elegant way. Open the details section in the section expert check the check box "Format With Multiple Columns" (and in the Common tab ). Additional tab "Layout" will be added. You can set there the number of columns and the direction (you