Print Page | Close Window

if-else

Printed From: Crystal Reports Book
Category: Crystal Reports .NET 2003
Forum Name: Writing Code
Forum Discription: .NET 2003 programming API, report integration
URL: http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=10578
Printed Date: 18 May 2024 at 2:42pm


Topic: if-else
Posted By: Di!!
Subject: if-else
Date Posted: 20 Jul 2010 at 12:14am
ok so i have to create a report
 
there are 4 categories. 1,2 ,3 ,4
 
i want to print the count of all request from category 1, 2, 3 but not 4
 
how do i do that..
 
i tried using if else but im not sure how to print the final value???



Replies:
Posted By: Emir_W
Date Posted: 20 Jul 2010 at 2:18am
you can do these:
- right click on Detail Section
- select 'Section Expert...'
- click on 'x-2' for 'Suppress (No-Drill-Down)
- put {tbl.categoryfield}='4'
 
then you'll get only Category 1,2 and 3.
 
 
hope it help.
 


-------------
Emir W



Print Page | Close Window