crystal-reports

Hiding Full Column In Crystal Report Using Formula

半城伤御伤魂 提交于 2019-12-20 05:41:20
问题 I want when my PickUpsCRY is greater than 0,this column is fully disappear else it should be shown . 回答1: You can't really suppress horizontal space in the same way you can suppress vertical space (via the suppression of report sections, etc.). So, while you could technically suppress that column's fields, header, lines, etc. with the suppression formula max({table.PicksUpsCRY})>0 , you won't be able to get rid of the whitespace and it'll appear as though you've just got a hole in your table.

Hiding Full Column In Crystal Report Using Formula

眉间皱痕 提交于 2019-12-20 05:41:04
问题 I want when my PickUpsCRY is greater than 0,this column is fully disappear else it should be shown . 回答1: You can't really suppress horizontal space in the same way you can suppress vertical space (via the suppression of report sections, etc.). So, while you could technically suppress that column's fields, header, lines, etc. with the suppression formula max({table.PicksUpsCRY})>0 , you won't be able to get rid of the whitespace and it'll appear as though you've just got a hole in your table.

Crystal Reports not showing stored procedure outputs

丶灬走出姿态 提交于 2019-12-20 05:38:10
问题 I created a stored procedure in SQL Server. It works fine there. When I call it from Crystal Reports, it shows parameters fields but it does not show the outputs in database fields. Actually it shows the stored procedure in database fields but not the output fields or + sign beside the stored procedure. Here is the codes in stored procedure: CREATE PROCEDURE [test] @mcode char(10), @zcode [int], @odolmas[float]=0 output, @gmas[float]=0 output, @vmas[float]=0 output AS set @gmas=0 set @vmas=0

Crystal report not support null Datetime

喜你入骨 提交于 2019-12-20 05:13:35
问题 I am using crystal report with ado.Net, when datetime is coming null from database then showing error. if we use Nullable (using ?) property then crystal report can't support. Like:- _report = ( from user in users select new userModel() { UserId = user.Field<string>("userid"), CheckInTime = <user.Field<DateTime>("intime"), CheckOutTime = user.Field<DateTime>("outime"), TotalWorks = user.Field<Int32>("TotalWork") }) .ToList(); throwing error here...... and when we use Nullabe..:- public

Values between windows forms in C# .NET

浪尽此生 提交于 2019-12-20 04:18:13
问题 I have two forms, in the main one a have a crystalreportviewer and in the other one the user introduces the ID of the user he wants to be on the report. The problem I want the user to introduce the ID before the report loads the information, so when the user clicks the CreateReport button just before the report loads the info, I created a new form to introduce the ID, the problem is that instructions continue to execute even though the new window is open. I know is a problem of logic instead

Crystal Report redistributable for Windows Server 2008? - An error has occurred while attempting to load the Crystal Reports runtime

梦想与她 提交于 2019-12-20 04:06:26
问题 First at all, thanks everyone. What do I need to get work crystal report on windows server 2008? Or how can I get work rpt files (loaded by code and flush it to browser) on a website (framework 3.5/4.0) running on a windows server 2008 ? I mean, I load some rpt files (built them on crystal report 2008) and then using crystal object to export the file to xls/pdf, change the headers, make a flush to the browser and it works, this on windows server 2003/Seven/XP but the site doesn't work on

How to build multilingual Crystal reports

孤街醉人 提交于 2019-12-20 03:02:25
问题 We are developing a multilingual Winforms application using visual studio 2008. I am trying to figure out how I can create multilingual reports using crystal Reports. Is there any thing similar to .net resource files in the Crystal reports world? 回答1: I'm sorry that I'm robbing you of your tumbleweed badge, but I don't think Crystal has the multiple language support similar to .NET. I think that your only option is to have a separate report for each language and pass the data into the report

how to split DETAILS row verticaly in Crystal Reports

可紊 提交于 2019-12-20 02:46:07
问题 I am trying to prepare a Crystal Report document. I have to split the document into two vertical panes. My document has 20 lines(10 on left pane,10 on right pane) to print like below How can I split the document like below? I have tried to split the document by changing Secion Expert -> Details -> Layout. But it print first 10 rows in the first print, and the rest of the lines are printed on a new print. Please give me an idea how to do this? 回答1: Alec was going the right way but he forgot

Update DataSet Schema On Crystal Reports for VS2008

寵の児 提交于 2019-12-20 01:35:23
问题 I'm creating a report using the built-in module of Crystal Reports in Visual Studio 2008, and for that I have added a DataSet containing multiple DataTables. As for now, the DataTables have a certain quantity of fields which may grow in the future, so the next person updating my report will need to update the DataSet schema. The problem is that whenever I add new fields to a Datatable, that Datatable's fields isn't updated in Crystal Reports. Every time I tried doing this I was forced to

Crystal Reports Printing blank page

你离开我真会死。 提交于 2019-12-19 19:45:38
问题 I have a crystal report which is printing a blank page and printing the report fine, but just with this additional page. Done my research, ticked, unticked and added correct formula into the 'New Page After' option, not on last record formula etc, but its still printing the blank page. Here is my Section expert details Report Header (Ticked - Free-form [greyed], New Page After [Greyed]) Report Header a (ticked - Free-form, Suppress, Keep together) Report Header b (Ticked - Free-form Placement