Print Page | Close Window

Based on Field type summarise that particular fiel

Printed From: Crystal Reports Book
Category: Crystal Reports 9 through 2020
Forum Name: Tips and Tricks
Forum Discription: Have you learned some great tricks to share with the group? Post them here!
URL: http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=3847
Printed Date: 18 May 2024 at 11:35am


Topic: Based on Field type summarise that particular fiel
Posted By: r_vidhyain
Subject: Based on Field type summarise that particular fiel
Date Posted: 30 Jul 2008 at 10:05am
I have 4 fields in a report. 2 string fields and 2 integer fields. I need to add the sum only if the integer field is there. This has to be done dynamically. Can anybody help me out?

-------------
Thanks & Regards,
Vidhya R



Replies:
Posted By: hilfy
Date Posted: 12 Aug 2008 at 12:51pm
I don't really understand what you're trying to do.  Do you mean that you only want to count if the integer field is > 0?  if so, you can do this using a running total.  Just set Evaluate to "Use a Formula" and put something like this in the formula:
 
{table.integer_field} > 0
 
-Dell


-------------
Proviti, Data & Analytics Practice
http://www.protiviti.com/US-en/data-management-advanced-analytics - www.protiviti.com/US-en/data-management-advanced-analytics



Print Page | Close Window