How to conditionally suppress a field based on whether a
page number is odd or even?

Answers were Sorted based on User's Feedback



How to conditionally suppress a field based on whether a page number is odd or even?..

Answer / 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

How to conditionally suppress a field based on whether a page number is odd or even?..

Answer / abeez

All the previoous steps are correct. In addition to that,
go to the section expert and choose "Supress blank
sections". This will supress the section when the condition
is true.

Is This Answer Correct ?    10 Yes 2 No

How to conditionally suppress a field based on whether a page number is odd or even?..

Answer / bhavesh

This Does Not Eliminate the Space.Please provide a solution

Is This Answer Correct ?    4 Yes 4 No

Post New Answer

More Crystal Reports Interview Questions

How many types of reports can be generated in crystal reports?

7 Answers   Finite Infotech, Precision Techconet, VMware, winfoware,


Is there a way to be able to change an image(company logo) dynamically in a report? Example if you have 100 reports, and with the market uncertainty if you anticipate that the company logo might change, how can you change the image just in one place and have this reflected in all the reports at run time?

0 Answers  


what is the "refresh" button suppose to do on the crystal report viewer?

2 Answers  


hi.. i've created one crystal report. and one global resource file .. in crystal report there's one text object with id Text1. and i want to take the values of resource file i've got it CrystalDecisions.CrystalReports.Engine.TextObject Dtemp1 = ((CrystalDecisions.CrystalReports.Engine.TextObject)myreport .ReportDefinition.Sections["section1"].ReportObjects["Text1" ]); Dtemp1.Text = Resources.Resource.ResourceManager.GetString("Dsec1"); it is showing the correct value want i want but when i give print it is disappearing.. how to solve this please help me..

0 Answers  


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..

0 Answers  






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?

5 Answers  


hi.. i've created a crystal report and one crystal report viewer in windows form. i've two form form1 and form2 in form2 i've kept one button called print. when i press this button it should print the document into .pdf format. without using the crystal report viewers print button.

0 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....

0 Answers  


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..

0 Answers  


HOW TO USE 5 CRYSTAL REPORT OR SUBREPORT ON DIFFERENT CONDITIONS IN ONE VB PROGRAM

1 Answers  


How to open subreport in new ie window using hyperlink button. I used target=new; in the formula field. But it overrides the main window and show the report?

0 Answers  


Explain reporter footer contents are move depend the page footer values?

0 Answers  


Categories