How to conditionally suppress a field based on whether a
page number is odd or even?
Answer Posted / mlmcc
Select the field
Click FORMAT
Click FORMAT FIELD
Select the COMMON tab
Click the FORMULA BUTTON to the right of SUPPRESS
(Don't click the suppress check box)
To suppress a field on odd numebred pages
PageNumber MOD 2 = 1
To suppress a field on even numebred pages
PageNumber MOD 2 = 0
Click SAVE Icon
Close the formula editor
Click OK on the FORMAT screen
| Is This Answer Correct ? | 21 Yes | 4 No |
Post New Answer View All Answers
hi.. i've one crystal report. i want the report header as "employee database". i dont want to right click->insert and goto text object and insert. i've one aspx page and aspx.cs page also. now i want the "employee database" header to be printed from .cs file. i dont want to pass by parameter also.. i.e is there any option in .cs file something like ReportDocument myreport = new ReportDocument(); myreport.Load(MapPath("~/" + "emp.rpt")); myReport.Reportheader="Employee database"; i hope u have understood this. only thing is from .cs file i want to print the header as employee database. i dont want by passing parameter also... please help....
Where can we find the log file generated when we run a crystal report?
What all performance improvement techniques used in crystal reports? (Particularly cr xi)?
If we create reports in Crystal Reports using the UCAR Data Warehouse database, which tables should be used?
Why do we use crystal reports when we have reporting tools in bo itself?
hi ... i've created one crystal report in windows form and one crystalreportviewer .. the following is my code.. in form1.cs file try { ExportOptions CrExportOptions; DiskFileDestinationOptions CrDiskFileDestinationOptions = new DiskFileDestinationOptions(); PdfRtfWordFormatOptions CrFormatTypeOptions = new PdfRtfWordFormatOptions(); CrDiskFileDestinationOptions.DiskFileName = "c:\\csharp.net- informations.pdf"; CrExportOptions = cryRpt.ExportOptions; { CrExportOptions.ExportDestinationType = ExportDestinationType.DiskFile; CrExportOptions.ExportFormatType = ExportFormatType.PortableDocFormat; CrExportOptions.DestinationOptions = CrDiskFileDestinationOptions; CrExportOptions.FormatOptions = CrFormatTypeOptions; } cryRpt.Export(); } the above code is saving the file into pdf into specified path.. but i dont want to save a file i should get direct print preview and have a option to print .. As we do in web application using crystal report viewer clicking print and report will be opened in pdf.. and the click print.. i want the same function as we do in web application... i'm writing code in c#.net hope the above explaination will be understood clearly..
Explain basic steps required to display a simple report in crystal?
How can we improve the performance of a crystal report?
What are field expressions and what are the diff types? (I looked this up in the internet and never found anything with regards to types of field expressions)?
Where is the image located, after youve placed it on the report?
hi... i've two crystal reports one is in D: drive name employee.rpt with 5 textobject and another report is in E: drive name employee.rpt with 15 textobject... now i want to write a program to overwrite the D drives report with E drives reports i.e i want to replace the 5 textobject with 15 textobject.. overwriting the reports while it is executing .. is there any code for it please help me.. its urgent..
How to access crystal reports in .net?
Suppose I am not able to see any image on crystal report at run time. So how can I load any image which is saved in local disk so that it can be viewed at runtime in crystal reports?
How the data expert of flash object(after inserting flash object_right click-data expert) is useful in crt?
How do you add a subreport to a report in Crystal Reports?