crystal-reports

Does Reporting Services embedded in WinForm need SQL Server?

这一生的挚爱 提交于 2019-12-25 04:36:12
问题 I am starting to learn Reporting Services and I read that it uses SQL Server to store the meta data. I am planning to use it in a WinForm app. Does SSRS require SQL Server to be used in a WinForm app? Can it be self contained like Crystal? 回答1: You can use LocalReport in order to make reports but you should give it directly the datasource. More over the ReportViewer Redistribuable Package should be installed ! 来源: https://stackoverflow.com/questions/1308254/does-reporting-services-embedded-in

Disable the logo, refresh and export icon in CrystalReports BI 4.1

谁说胖子不能爱 提交于 2019-12-25 03:42:10
问题 I am trying to disable the logo, refresh and export icon in CrystalReports. To achieve this, I tried with the following options In BOE.ear/BOE.war/WEB-INF/eclipse/plugins/webpath.CrystalReports/web/WEB-INF/web.xml added below entries <context-param> <param-name>viewrpt.export</param-name> <param-value>false</param-value> <description>Set whether a export button will be shown</description> </context-param> <context-param> <param-name>viewrpt.logo</param-name> <param-value>false</param-value>

Disable the logo, refresh and export icon in CrystalReports BI 4.1

亡梦爱人 提交于 2019-12-25 03:42:03
问题 I am trying to disable the logo, refresh and export icon in CrystalReports. To achieve this, I tried with the following options In BOE.ear/BOE.war/WEB-INF/eclipse/plugins/webpath.CrystalReports/web/WEB-INF/web.xml added below entries <context-param> <param-name>viewrpt.export</param-name> <param-value>false</param-value> <description>Set whether a export button will be shown</description> </context-param> <context-param> <param-name>viewrpt.logo</param-name> <param-value>false</param-value>

How do I handle empty number fields/variables in Crystal Reports?

青春壹個敷衍的年華 提交于 2019-12-25 03:26:08
问题 I have the following formula in my group footer, but am having problems with displaying 0 if sample_perc is empty; this value gets empty if #rt_sample_ordered is blank. NumberVar sample_perc := {#rt_sample_ordered}%{@sum_of_sample}; if (sample_perc>0)then sample_perc else 0 How do i print 0 when sample_perc is blank? 回答1: If Isnull({#rt_sample_ordered}) Or Isnull({@sum_of_sample}) Then 0 Else If ( {#rt_sample_ordered}%{@sum_of_sample} ) > 0 Then sample_perc Else 0 来源: https://stackoverflow

Load report failed when implementing crystal report in asp.net 3.5

被刻印的时光 ゝ 提交于 2019-12-25 03:14:53
问题 Im implementing crystal report which is builtin in visual studio 2008. When i create my crystal report and check its preview it shows me the data but when i call it on my abc.aspx page report doesnt load and gives error 'Load report failed'. This is my Code <CR:CrystalReportViewer ID="CrystalReportViewer1" runat="server" AutoDataBind="true" ReportSourceID="CrystalReportSource1" /> <br /> <br /> <br /> <br /> <CR:CrystalReportSource ID="CrystalReportSource1" runat="server"> <Report FileName=

Crystal report parametr field validation

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-25 02:53:42
问题 Im using crystal report in asp.net....I have create parameter fields to get input....Consider if i create numeric parametere field then i have to validate that particular field if user enter other than numbers how? 回答1: You can validate parameter value before pass it to report and if its value was not valid show a message and don't preview report. 来源: https://stackoverflow.com/questions/2004634/crystal-report-parametr-field-validation

How to Supress Blank Space In Crystal report

落爺英雄遲暮 提交于 2019-12-25 02:53:29
问题 I have Crystal Repot Like this : In this I dynamically Supress Field as I I found Null value for that field, But In Report It shows Blank Space Like here I am Hiding, tag0 ,tag1, tag11, value0 ,value1 ,value11 etc So Report Shows Like this I want to Remove this blank Space between Field, above and Below I try Section Expert => And Tick On Suppress Blank Section , but its not Working As per Siva Suggest me i Can not Put All the tag in Different Section Because there are in Group Section not in

Crystal Reports Cross-Tab Column Totals as Variables

妖精的绣舞 提交于 2019-12-25 02:49:19
问题 I have a report within Crystal 2008 that has 2 subreports, each of which is a Crosstab. I have split them into different reports as their selection and database queries are unrelated. What i need to be able to to is to create a variable for each of the Column Totals and be able to pass this onto a third report for each of the two cross Tabs. The Layout of each cross tab is formatted the same, with the columns being the PO Number and the rows being charges against each PO. It is the total of

Make textobject bold based on condition in crystal report

China☆狼群 提交于 2019-12-25 02:44:58
问题 In my crystal report, there are two columns Name and Amount . What i want is if Amount is blank then Name must be bold otherwise it will be in regular font. I don't know how to write formula for this condition. any help would be appreciated. Thanks. 回答1: You should be able to: Right-click the "Name" field Select "Format Object" Click the formula button next to "Style" If your Amount field is a number (probably is, but you used the phrase "is blank"), then compare it to 0 instead of an empty

Converting string to date in Crystal Reports

戏子无情 提交于 2019-12-25 02:38:18
问题 I'm new to Crystal Reports, I'm trying to extract and display month and year from the string (In DB the data type of the column is varchar). Following is an example of the data. 05-JAN-12 11.49.28.000000000 AM I need it in following format Jan-12 I have used cDate to convert the string to date format but was unsuccessful, maybe I didn't do it right way. 回答1: Alter the formula to extract the date portion, then convert it to a date : DateValue(Split("05-JAN-12 11.49.28.000000000 AM")[1]) Apply