crystal-reports

Crystal Reports : Insert an image in the Report Header section

给你一囗甜甜゛ 提交于 2021-02-05 07:52:26
问题 I need to insert a report homepage on an existing RPT file. The existing RPT file works fine, it displays results from a stored procedure. It's ok. The homepage must contain an image from the database. So first, I added a new SQL command (through the window "Database Expert") with a new SQL query in order to get the image logo. I drag & drop the image field in the Report Header section. It works in the designer, I can see the image which is retrieved from the database. But when I generate the

Which are the SAP Crystal Reports Runtime engine for .NET Framework dependencies?

﹥>﹥吖頭↗ 提交于 2021-02-05 06:54:05
问题 I'm trying to install SAP Crystal Reports runtime engine for .NET framework on a fresh new Microsoft Windows Server 2012 R2 x64 virtual machine. The installation stops with this error: Error 1904. Module C:\Program Files (x86)\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BuisinessObjects Enterprise XI 4.0\win64_x64\crtslv.dll failed to register. HRESULT -2147024770. Contact your support personnel. I have installed different versions of Microsoft C++ Redistributable

Extracting Only Year Value in Crystal Report DateTime Field

只愿长相守 提交于 2021-02-04 13:46:11
问题 I am working with Crystal Report, right now I am in a situtation where I have to extract only Year value from a datetiem field, for example, if the value is : 01/03/2014 10:20:01AM I only need to extract 2014 I did what is that , I changed the DataFormat of the field is dd/mm/yyyyy Now i hav eapplied formula on it. Formula = Right(CStr ({report;1.FirstYearDate}),4) It shows 01AM Kindly help me out 回答1: Here I have done with this way, my string was "01/02/2012 10:45:22Am" after using this

Extracting Only Year Value in Crystal Report DateTime Field

江枫思渺然 提交于 2021-02-04 13:45:00
问题 I am working with Crystal Report, right now I am in a situtation where I have to extract only Year value from a datetiem field, for example, if the value is : 01/03/2014 10:20:01AM I only need to extract 2014 I did what is that , I changed the DataFormat of the field is dd/mm/yyyyy Now i hav eapplied formula on it. Formula = Right(CStr ({report;1.FirstYearDate}),4) It shows 01AM Kindly help me out 回答1: Here I have done with this way, my string was "01/02/2012 10:45:22Am" after using this

Export Crystal Report To Excel - Specify Directory

喜你入骨 提交于 2021-01-29 10:43:53
问题 I have crystal reports (using C#) that I pull and want to export to Excel. I manage to pull and export the report just fine. But in the code I manually specify the export directory. Code: myEquipCalRPT.ExportToDisk(ExportFormatType.Excel, "C:\\Temp\\ReportName.xls"); I know the path must be a string value. How can I ask the user where he/she wants to export the report to (and give it a name) instead of manually specifying the path in the code? I tried using "SaveFileDialog" with the code

How to align an autoadjust size using database fields in crystalreport?

痴心易碎 提交于 2021-01-29 09:58:48
问题 I have a question I'm using vs2015 and crystalreport CRforVS_13_0_18. I designed my report but when this report has a field longer than the others columns, only this grows, Even I set all the fields to check the option Can Grows. Can you help me?. Thanks in advance. I share a snapshot. And this is my designer. When I put borders, they don't show with the same height. like this: I did the extra section but i have problems with left and right lines. Finally. i got to do lines untill the end of

Crystal Reports Log On Failed in Different Environment

夙愿已清 提交于 2021-01-29 09:14:09
问题 We have several environments: Development Azure On Prem The Crystal Report pulls data from a SQL server, but the database is different depending on the environment. There is a config file in the project called connectionStrings.config and the connection string that we use for the website is stored there. The contents of the file looks like this: <connectionStrings> <add name="dataModel" connectionString="data source=...;initial catalog=...;user id=...;password=...;MultipleActiveResultSets

creating postcard with data on front and back

梦想的初衷 提交于 2021-01-29 05:38:42
问题 I need to print out postcards (4 perforated 4.25 x 5.5 cards per page) with the name and address on one side, and their corresponding appointment information on the other. I'm not sure how to do this in Crystal. I've tried different variables writing such as remainder(recordnumber,4)=0 under the Section Expert, Detail, NewPageAfter and this didn't work. If anyone has any tips or suggestions, this would be much appreciated. Thanks in advance! 回答1: Split the Group Footer into two sections. You

Appcrash on SetDataSource of Crystal Report

我的梦境 提交于 2021-01-28 20:48:02
问题 I'm using Visual Studio 10 with Crystal Reports for .Net installed. My development environment is a 64 bit pc with Windows 8 on. Everything works fine on my development pc but when I install the app on the client pc I get an Appcrash windows error on the SetDataSource of the reportclass. The only info on the crash is the KernelBase.dll is the fault module. When I look at Windows Event viewer it says there was a filenotfoundexception, but doesnt give the name of the file it is looking for. The

Appcrash on SetDataSource of Crystal Report

让人想犯罪 __ 提交于 2021-01-28 20:07:22
问题 I'm using Visual Studio 10 with Crystal Reports for .Net installed. My development environment is a 64 bit pc with Windows 8 on. Everything works fine on my development pc but when I install the app on the client pc I get an Appcrash windows error on the SetDataSource of the reportclass. The only info on the crash is the KernelBase.dll is the fault module. When I look at Windows Event viewer it says there was a filenotfoundexception, but doesnt give the name of the file it is looking for. The