Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: formulas? Post Reply Post New Topic
Author Message
ajnewuser
Newbie
Newbie
Avatar

Joined: 15 Apr 2009
Location: United States
Online Status: Offline
Posts: 3
Quote ajnewuser Replybullet Topic: formulas?
    Posted: 15 Apr 2009 at 1:07pm

I'm trying to get a report from some data.  The ship to state in my table is sometimes blank, in which case I would need to use the bill to state.  How do I write the formula so that if the ship to is blank, use the bill to, otherwise, use the ship to?

thanks
IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 15 Apr 2009 at 1:11pm
If isnull({table.ship_to_state_datefield}) then {table.bill_to_state_datefield} else {table.ship_to_state_datefield})
IP IP Logged
ajnewuser
Newbie
Newbie
Avatar

Joined: 15 Apr 2009
Location: United States
Online Status: Offline
Posts: 3
Quote ajnewuser Replybullet Posted: 15 Apr 2009 at 1:24pm
that worked great...thank you!Smile
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.