crystal-reports

How to draw a line above a picture?

左心房为你撑大大i 提交于 2019-12-24 02:22:18
问题 How do you display a line above a picture in Crystal Reports? I'm currently using Crystal Reports 8.5. I am using a jpeg image in the report, with an image header section set to “Underlay Following sections”. I added another header above the image header section, drew the line, and then gave the option “underlay following sections”, but the line is not displaying above the picture. How can I add a line that will display above the picture? 回答1: If I understand your question, you want to add a

Load Report Failed On Server - Crystal Reports

送分小仙女□ 提交于 2019-12-24 02:13:32
问题 I have a crystal report viewer page that displays a report perfectly well on my desktop development computer. The code I have used for this viewer page is: using System; using System.Collections.Generic; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using LoyalitySystem; using System.Configuration; using HQ.DatabaseGateway; using CrystalDecisions.CrystalReports.Engine; using CrystalDecisions.Shared; using System.IO; public partial class WebPages_DynamicReports

How To Set Textbox1 Value Into Formula Field Of Cystal Reports

我的未来我决定 提交于 2019-12-24 01:48:20
问题 I want to set textbox1 value into formula field of crystal reports and Utilise the same value into crystal reports. Suppose my Textbox1 value is “12000” and I want to set it to formula field and utilize the same into crystal reports. Is it possible?. And yes then How?. Note: textbox1 located on top of CrystalReportviewer1. Solution It is very simple just create the instance of the reports class and set the textBox value in your crystalreportviewer source as under: PLCrystReport plc = new

Delphi XE - calling Crystal Reports

不打扰是莪最后的温柔 提交于 2019-12-24 00:58:56
问题 How do we call Crystal Reports from Delphi XE? What version of Crystal Reports does Delphi XE support? 回答1: There currently is no native support for Crystal Reports with Delphi XE. In the past what I have done was to create a small Delphi Prism application that ran my reports using the .net framework API that they do support. If your adventurous you can also write a small wrapper that exposes the crystal reports .net framework API via com and then call that from within your Delphi XE

Add delivery info to query in SAP Crystal Reports

余生长醉 提交于 2019-12-24 00:46:12
问题 Below is a query linking Purchase Orders to Sales Orders. My understanding is that in order to include delivery doc # to this report, I need to add one more table - ODLN (so there would be an additional field titled "Delivery Doc#" aka [ODLN.DocNum]). My problem is I'm not sure how to join ODLN in the below query without messing anything up. ODLN.DocNum pretty much verifies that the PO did get placed at the time of the SO submission. SELECT DISTINCT o.CardName AS 'Customer Name' ,(isnull(c1

Number of details records on the crystal report page

十年热恋 提交于 2019-12-24 00:46:07
问题 i would like to find out the number of details records on the last page of the crystal report, and if there is none, I would like to hide the header section. 回答1: First, you have to create a formula. Then, insert it into to the Details section. For example @VariableA Inside the formula, put this: Shared NumberVar PageofLastField; If OnLastRecord then PageofLastField := PageNumber; Suppress formula. The formula checks if the record is the last record. If it is the last record, it saves the

space between Crystal Reports Cross-Tab Column

╄→гoц情女王★ 提交于 2019-12-24 00:38:55
问题 I have crosstab crystal report in asp.net C# when it display there is unwanted white space between column in some interval. how can I remove the space please help me Thank you, and please see report picture below 回答1: This solution work for me. Remove (Keep Columns Together) check box option from cross tab expert. 回答2: Either this report is large enough that all columns can not be printed on one page horizontally or the paper size selected for the report is too small. These unwanted white

Java Crystal Report SDK - Report & SubReport

泪湿孤枕 提交于 2019-12-24 00:25:08
问题 I'm trying to generate a report using Crystal Report SDK in Java composed by a main report and a subreport. I do want to generate the report only if there is something returns by my stored procedure and for doing that I execute the proc manually and launch the report generation only if my ResultSet != null. But, my subreport has to be generated through Crystal. I use the setTablesDatasource() method for my main report for using my ResultSet For my subreport: _ I use the setTableslocation()

Web Crystal reports produce Database logon failed

北城余情 提交于 2019-12-23 22:19:44
问题 I developed a Crystal report on my local machine and I can render the report on my local website using .ExportToHttpResponse but as soon as I move my code to the production server I get a "Database logon failed" error. I basically used a .XML dataset file as the source to develop the report locally. This was my code: I call a method to render the report: private void RenderCrystalReports(string rptName, string pdfReportName, DataSet dataForReport) { string reportPath = Server.MapPath(@"\App

Display group with no data in Crystal Reports 12

蹲街弑〆低调 提交于 2019-12-23 21:05:31
问题 I am trying to group my data based on age. I use the following database select: select * from ( select 0 range_start, 11 range_end, '0-10 days' date_description from dual union select 11, 21, '11-20 days' from dual union select 21, 31, '21-30 days' from dual union select 31, 99999, '31+ days' from dual) date_helper left outer join table on table.date <= date_helper.range_start*-1 + sysdate and table.date > date_helper.range_end*-1 + sysdate I then make a group based on the date_description