Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: A formula quesiton Post Reply Post New Topic
Author Message
crystal2012
Newbie
Newbie


Joined: 17 Apr 2012
Online Status: Offline
Posts: 36
Quote crystal2012 Replybullet Topic: A formula quesiton
    Posted: 17 Apr 2012 at 3:06am
How to create a formula to do the following job?
 
If a database field = ‘a’ then fill back color in text box background, else don’t fill color in text box background.
 
Thanks!
IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 17 Apr 2012 at 3:48am
right click ont he field
select format field
select border tab
select background formula (x-2 button)
if table.field='a' then crBlack else crNoColor
 
IP IP Logged
crystal2012
Newbie
Newbie


Joined: 17 Apr 2012
Online Status: Offline
Posts: 36
Quote crystal2012 Replybullet Posted: 17 Apr 2012 at 5:56am

It works. Thanks!

IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.016 seconds.