crystal-reports

One record in multiple Groups within Crystal Reports XI

被刻印的时光 ゝ 提交于 2019-12-24 15:30:27
问题 I'm trying to create a report based on a ticketing system. The goal is to have one graph with multiple lines, one for tickets opened by week, other line is tickets closed by week. The problem I have is when you group data, a record cannot be in multiple groups. However a ticket can have been opened during one week, and closed during another. In that example, the record would need to be counted twice. For example. Ticket 123456 Open Date: 1/1/2012 Close Date: 1/12/2012 This ticket was opened

Crystal Report Passing Stored Procedure Parameter from “Like” Sql

纵饮孤独 提交于 2019-12-24 14:04:38
问题 I have problems in passing stored procedure parameter to crystal report. I tried passing parameter but the result is not like i expected. the parameter can be passed, but the problem is the value of parameter must be exactly the value of parameter. and in my case, i'd like to make the report that can show the report with "like" query, so the parameter can be one, two, or other letter on the real value. i've tried use the group and record in selection formula, but the result same, the

vs2008 and crystal report 2008 issue

懵懂的女人 提交于 2019-12-24 13:08:05
问题 We have installed Visual Studio 2008 Professional Edition SP1, Microsoft .net Framework version 3.5 SP1 and crystal reports 2008 on our local machine. While creating report in IDE (.net) we drag crystal report viewer from toolbox and bind crystal report to it. Now locally on our machine by default references for crystal report 10.5 gets added to design page as Crystal Reports 10.5 comes bundled with Visual Studio 2008. So we are not able to integrate crystal report 2008 to VS 2008. This

Using XML datasets for a Crystal Report

点点圈 提交于 2019-12-24 12:34:07
问题 We have this XML schema: <xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:element name="Log"> <xs:complexType> <xs:sequence minOccurs="0" maxOccurs="unbounded"> <xs:element name="LogEntry" minOccurs="1" maxOccurs="1"> <xs:complexType> <xs:sequence> <xs:element name="Time" type="xs:dateTime" /> <xs:element name="StringRef" type="xs:string" /> <xs:element name="Parameters" minOccurs="0" maxOccurs="1"> <xs:complexType>

Rich text box in Crystal Reports

梦想的初衷 提交于 2019-12-24 12:14:25
问题 I have created rich text box in crystal reports for displaying product description. Everything is displaying properly but it is not taking more than 65534 characters. I need to display more than 65534, so please any one can help me to use is there any other control like richtext box to display the data. 回答1: This is a limitation of Crystal Reports. Your options in your query split the field in to multiple 65534 character length fields for each row (problem would be how many fields to produce

Couting combinations within a group

 ̄綄美尐妖づ 提交于 2019-12-24 11:34:27
问题 I need a way way to count combinations of code by patients, so I need to know based on this report total duration of each Service Program Protocol, so based on the picture below I need it to be like this Patient: 00000036 Adult CSS IND 240 Adult OP IND 120 Patient: 00000040 Adult CSS IND 420 Adult OP IND 60 I am using Microsoft SQL Server 2005 and I would prefer a fix in SQL, but if it could be done in crystal I could work with that. Thank you in advance. select pct.patient_id, pct.clinic_id,

How to add rows at runtime

怎甘沉沦 提交于 2019-12-24 11:08:09
问题 using crystal report 7 ID Value total 001 100 2000 002 300 1000 003 300 1000 ...... i want to add one more additional row at runtime after 2nd row (1st + 2nd row). Expected Ouput ID Value total subtotal 001 100 2000 (a) 002 300 1000 (b) 123 400 3000 (total of a & b) 003 300 1000 (c) ...... How to do it in crystal report. Can any one give me a idea or formula help 回答1: Create a new formula field: if recordnumber in [1,2] then 1 else 2; Create a group using this formula Suppress the group

How to retrieve Crystal page setting programmatically in C#?

早过忘川 提交于 2019-12-24 10:46:37
问题 I created a Crystal report (.rpt file) in Crystal Designer. I configured Page Setup. I want to retrieve e.g. page orientation, page width, page high programmatically in C#. How to do it? Note that I want to retrieve page settings, no print settings. I don't want to edit page settings, I only need to read it. ===EDIT=== Following figure shows my page setup: PrintOptions.PageContentWidth and PrintOptions.PageContentHeight in C# have different values. ReportDocument rp = new ReportDocument(); rp

Vertical & Horizontal data arrangement in same page of Crystal Reports

…衆ロ難τιáo~ 提交于 2019-12-24 09:48:48
问题 I am importing data from a single data set in my crystal reports. I have just a single column table in my report. I want to arrange some data vertically say 10 rows of the table (In two vertical lines) and some data horizontally say next 10 rows of the same table (In two horizontal lines). I have managed to do the first part that is arranged the vertical lines side by side (By using the option Format With Multiple Columns in the section expert. I am facing difficulty in arranging horizontal

Database Connector Error

强颜欢笑 提交于 2019-12-24 09:27:26
问题 I have created a stored procedure for my report.. create Procedure [dbo].[sp_Score_Grade] @Month int, @Year int, @Log_User varchar(30) AS ( SELECT Log_User, Count = COUNT(Det_Score), Score = SUM(Det_Score) FROM MEMBER M,DETAILS D WHERE D.Emp_Id = M.Emp_Id AND Log_User like '@Log_User' AND Month(Sched_Start) = '@Month' AND Year(Sched_Start) = '@Year' GROUP BY Log_User ) And when the Crystal Report dialog box appear asking for parameters, I check all the values to null. But before i proceed to