crystal-reports-2008

Publishing Crystal Reports to ColdFusion Pages

廉价感情. 提交于 2020-01-06 08:57:09
问题 I am trying to publish some reports created in Crystal Reports 2008 to the web using ColdFusion. I have read that you just need to use cfreport like this . I have tested this many different ways and all I keep getting is a blank page. Is it possible to do this? If not how do I publish Crystal Reports to the web? Do we need to have Crystal Reports Server? Any help would be great. Thanks! 回答1: That wont work, its for really old versions of Crystal way before 2008. You need to have the

What is {ts '2013-04-02 00:00:00'}?

耗尽温柔 提交于 2020-01-01 04:12:30
问题 when i analyzing running T-SQL I found a query that have {ts '2013-04-02 00:00:00'} in where clause. i was so curious about this and tried to find the source. It was executed by a CrystalReport Report. here is the query. SELECT * FROM [Table] B WHERE CONVERT(VARCHAR, [AddedDateTime], 111) BETWEEN CONVERT(VARCHAR, {ts '2013-03-31 00:00:00'}, 111) AND CONVERT(VARCHAR, {ts '2013-04-02 00:00:00'}, 111) Can anyone tel me what is it and where we can use it? 回答1: It's an ODBC literal escape sequence

load report failed

半腔热情 提交于 2019-12-25 12:38:07
问题 Load report failed this error logged when i try to open Crystal report and if i restart my iis (iisreset) then it's working. Here's my code: Dim objReport As New CrystalDecisions.CrystalReports.Engine.ReportClass Dim location As String = context.Server.MapPath("../POC/POC1.rpt") objReport.FileName = location objReport.Load() objReport.SetDataSource(dsPOC) What could be the problem? 回答1: Try this...it will give you the perfect idea.... using System;using CrystalDecisions.CrystalReports.Engine

Calculating Sub-totals as a percentage of Grand-total in Crystal Reports 2008

人盡茶涼 提交于 2019-12-25 04:41:31
问题 I know this has been asked time and again by people all over the net, but I can't for the life of me figure out why my solution isn't working. I have a bunch of groups, and in each group's footer I have a running total which acts as a sub-total for that group. At the very bottom of the page, I have a running total which adds all these sub-totals together to give a grand-total. This all works great. To the right of each sub-total (group footer), I have a formula field which calculates what

How to collect records in crystal report using record selection formula to concatenate records

╄→гoц情女王★ 提交于 2019-12-25 02:28:34
问题 What i want is to collect records using record selection formula on the basis of criteria selection. If i have 2 criteria's then i have 4 combinations using criteria selection. e.g. if(cri1 <> 'ALL' and cri2 <> 'ALL') then record fetched else if(cri1 = 'ALL' and cri2 <> 'ALL') then record fetched else if(cri <> 'ALL' and cri = 'ALL') then record fetched else if(cri = 'ALL' ; cri = 'ALL') then record fetched (cri1 and cri2 are parameter fields used in crystal report) In the same way for 3

Grand Total Cross Tab rows alongwith columns?

时光总嘲笑我的痴心妄想 提交于 2019-12-25 00:09:11
问题 I want to total a cross tab report like GroupName Items Item% 1stStock 2ndStock ------ nStock --------- ----- ------ -------- -------- ------- Fruits Apples 5 100 100 500 Tomatoes 10 200 50 200 Mangoes 10 300 50 100 ------------------------------------------------------------ Total 25% 600 200 800 ------------------------------------------------------------ Vegetables Carrots 40 10 20 --------- 20 ------------------------------------------------------------ Total 40% 10 20 --------- 20 ------

how to use wildcard in Crystal report selection expert

ぃ、小莉子 提交于 2019-12-24 19:07:33
问题 i found this on another forum set your default value 'ALL' for parameter add if statement to Select Expert: If {?Parameter}='ALL' Then {Database.Field} like '*' Else {Database.Field} = {?Parameter} and {fctime_ts} >= {@StartDate} and {fctime_ts} < {@EndDate} that didnt work, for some reason it isnt using the date constraints. So then i tried the following. {fpartno} = IIF({?PartNbr} = 'All', '*' , {?PartNbr}) that works great if i use an actual part number, but when i use the defaul ALL it

Conditional printing depending of empty or null value in Crystal Reports

会有一股神秘感。 提交于 2019-12-24 06:48:37
问题 Suppose I have an StoredProcedure that returns a unique row corresponding to a table with columns "Name" and "Surname". I want the report to show: Name: NameField Surname: SurnameField Where the "NameField" and "SurnameField" are the fields returned by the StoredProcedure. The special requirement, is that if "SurnameField" is empty or null, then I don't want to show the "Surname: SurnameField". How can I achieve this? The only thing that I thought is breaking the storedprocedure in two, one

How to show month name in crystal report chart?

£可爱£侵袭症+ 提交于 2019-12-23 20:50:24
问题 I am using Crystal Report 2008, in Line Chart I want to show month name like Jan Feb March on x-Axes in report. How do I show months on x-Axes? 回答1: The best way to do this is create a separate formula field with the following formula cstr(monthname(month({YourDateFieldHere}))) Use this in your chart. This simply pulls the month from the date here. If you require to change this any, I'm sure you can change the format by right clicking, or alternatively if it shows up 01, 02, 03 ect.. you

Crystal Report “Invalid file name.” issue

ε祈祈猫儿з 提交于 2019-12-22 09:37:51
问题 I have uploaded my WebApplication . My application is in VS2008 with Crystal Reports 2008 sp3. I have uploaded on parallel plex server. I have added all the Required Dll of crystal reports in the Bin folder. My report path is also correct. The error i receive is Line 41: ReportDocument myreport = new ReportDocument(); Line 42: string reportPath = Server.MapPath("~/CrystalReport.rpt"); Line 43: myreport.Load(reportPath); Line 44: Line 45: myreport.SetDataSource(ds); [COMException (0x800001fb):