Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: variables and returning their data Post Reply Post New Topic
Author Message
blandow
Newbie
Newbie


Joined: 22 Apr 2011
Online Status: Offline
Posts: 8
Quote blandow Replybullet Topic: variables and returning their data
     Posted: 22 Apr 2011 at 6:05am
Hello,


In the past I have only created reports that use crystals basic  sql functionality to determine the return results. I now have to create a formula(?) that will say if field x from table a = field x from table b, then (newvariable) = Y, else (newvariable) = N


Help?
IP IP Logged
lockwelle
Moderator
Moderator


Joined: 21 Dec 2007
Online Status: Offline
Posts: 4374
Quote lockwelle Replybullet Posted: 22 Apr 2011 at 10:37am
I am assuming that the tables are linked so that they change together...
 
if {tableA.fieldX} = {tableB.fieldX} then
  "Y"
else
  "N"
IP IP Logged
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