crystal-reports

Error While Add Image Dynamically from Local Path In Crystal Report

旧城冷巷雨未停 提交于 2020-01-16 19:17:09
问题 In my Crystal Report I need To add Header Image from specific Folder Path, for that I done Below Code private void AddImage_ProdfailReport() { try { // here i have define a simple datatable inwhich image will recide DataTable dt = new DataTable(); // object of data row DataRow drow; // add the column in table to store the image of Byte array type dt.Columns.Add("Image", System.Type.GetType("System.Byte[]")); drow = dt.NewRow(); // define the filestream object to read the image FileStream fs;

VB.NET 2005 problems with Designer not being able to process a code line

南笙酒味 提交于 2020-01-16 09:46:26
问题 I have a problem in my project with the .designer which as everyone know is autogenerated and I ahvent changed at all. One day I was working fine, I did a back up and next day boom! the project suddenly stops working and sends a message that the designer cant procees a code line... and due to this I get more errores (2 in my case), I even had a back up from the day it was working and is useless too, I get the same error, I tryed in my laptop and the same problem comes. How can I delete the

Dynamic expansion of a Crystal report

不想你离开。 提交于 2020-01-16 08:46:21
问题 I have a crystal report consisting of several pages. Each page consists of a several fields that are populated from database. Suppose the following example : Name : aaaaaa Education Background:bbbbbbb Age:cc In my case the Education Background's details (bbbbbbb here) may consist of several words or several pages. If I set a large space for it, it will waste a big space on report (Yes. May be a paper) in a case of short answer. How can I eliminate this problem? Does crystal reports provide a

Choice “microsoft office 12.0 Access database engine OLE DB Provider” I don't find it in crystal report

北慕城南 提交于 2020-01-16 08:46:13
问题 My computer - programs installed microsoft access database engine 2016 visual studio 2019 SAP Crystal Reports Microsoft Office 2019 I follwoed these steps: Field Explorer > Database Fields WINDOW(Database Expert) -> OLE DB (ADO) Choice "microsoft office 12.0 Access database engine OLE DB Provider" I don't find "microsoft office 12.0 Access database engine OLE DB Provider" listed. Here is a screenshot: 来源: https://stackoverflow.com/questions/59226626/choice-microsoft-office-12-0-access

how to display n records per column in crystal report

…衆ロ難τιáo~ 提交于 2020-01-16 03:29:45
问题 I am designing a Crystal report in VS 2010 in that report the result set may Display 20 Rows per column like 1.Row1 2.Row2 3.Row3 4.Row4 5.Row5 6.Row6 7.Row7 8.Row8 9.Row9 10.Row10 11.Row11 12.Row12 13.Row13 14.Row14 15.Row15 16.Row16 17.Row17 18.Row18 19.Row19 20.Row20 but I want to display as 10 records Per column like, 1.Row1 11.Row11 2.Row2 12.Row12 3.Row3 13.Row13 4.Row4 14.Row14 5.Row5 15.Row15 6.Row6 16.Row16 7.Row7 17.Row17 8.Row8 18.Row18 9.Row9 19.Row19 10.Row10 20.Row20 Can anybody

Crystal Reports & VBScript - Could Not Locate Automation Class

半城伤御伤魂 提交于 2020-01-15 13:11:04
问题 First off, I have very little Crystal Reports experience, so apologies in advance if this is a stupid question. I had this "fantastic" work project dumped on me when a co-worker left, so I'm hoping someone can help as most of the Business Objects links I find that might have solutions just redirect to a generic SAP splash page. So I have a few hundred Crystal Reports (mostly File Schema 10.2, although some are 8.5 or 12.0) that are stored on a server. All of them have an associated VBScript

Reading CrystalReport's Field Value Programmatically

六眼飞鱼酱① 提交于 2020-01-15 12:38:10
问题 I'm using C#.NET to programmatically load a Crystal Report document (which gets its data from a database) and then export it as a PDF. I'm stuck trying to read a fields (abc123) value from within the report (I want to use it in the filename). I don't mind where this field is in the crystal report; and it will not be repeated, but it needs to be a field in the report. My code so far: // Setup ReportDocument reportTemplate = new ReportDocument(); reportTemplate.Load(textBox1.Text);

Crystal Reports — displaying one decimal in my formula field

自古美人都是妖i 提交于 2020-01-15 12:06:51
问题 I have the following in my formula field: toText(((Sum ({DataTable1.Ending_Value}, {DataTable1.Name})) - (Sum ({DataTable1.Starting_Value}, {DataTable1.Name})) - (Sum ({DataTable1.Investments}, {DataTable1.Name})) + (Sum ({DataTable1.Proceeds}, {DataTable1.Name})) + (Sum ({DataTable1.Interest_and_Dividends}, {DataTable1.Name})))/(Sum ({DataTable1.Starting_Value}, {DataTable1.Name})) * 100) + " %" The output is something like: 6.32 % Instead of having 2 numbers after the decimal, is there any

Crystal Reports different versions on pc and on server

末鹿安然 提交于 2020-01-15 11:09:04
问题 I'm building a winforms application using a crystalreportviewer control (version 10.5.3700.0). Application works fine (it loads report from resources and displays it fine). But when I put my application on server (other pc) that has runtime in versions 12.0.1100.0 and 12.0.2000.0. My application isn't showing at all, even errors don't show :/ I was trying to use dll's in version 12.0.1100.0 in my application by removing references and adding new, but this generates errors. I can't install

Unable to cast COM object of type (No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)))

你离开我真会死。 提交于 2020-01-14 07:01:34
问题 Unable to cast COM object of type 'CrystalDecisions.ReportAppServer.Controllers.ReportSourceClass' to interface type 'CrystalDecisions.ReportAppServer.Controllers.ISCRReportSource'. In my local machine everything work properly.When i published it it the error in the crystal report i try to solve all type of token problem but after solving token problem its show this type of problem .But i don't get any type of solution this type of problem. 回答1: I solved my problem. At first you check your