Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Conditional Data Display in Crystal Report

Posted on 2012-03-24
3
Medium Priority
?
508 Views
Last Modified: 2012-03-24
I have a Report.
Data I am getting from table CKAmt.
In this report there is two fields.
1 - Amount.
2 - Mode.

Now What i want is,
if Mode is PAID then Amount should be ZERO.
ELSE Amount is whatever.
0
Comment
Question by:crystal_Tech
  • 2
3 Comments
 
LVL 77

Accepted Solution

by:
peter57r earned 1400 total points
ID: 37761058
Create a formula field as follows and add it to your report...

If {ckamt.Mode}="paid" then
0
else
{ckamt.amount}
0
 
LVL 1

Author Comment

by:crystal_Tech
ID: 37761154
Thanks Peter
Its working like charm. :-)
0
 
LVL 1

Author Closing Comment

by:crystal_Tech
ID: 37761156
Thanks for Quick Reply.
0

Featured Post

[Webinar] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In real business world data are crucial and sometimes data are shared among different information systems. Hence, an agreeable file transfer protocol need to be established.
Make the most of your online learning experience.
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Progress

580 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question