Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: help with formula Post Reply Post New Topic
Author Message
sanchezgmc06
Senior Member
Senior Member
Avatar

Joined: 21 Jan 2011
Online Status: Offline
Posts: 107
Quote sanchezgmc06 Replybullet Topic: help with formula
     Posted: 18 May 2011 at 7:00am
hi
i am working on a report for which i need to tell crystal to select from 6 guarantors
I only need crystal to look at guarantor number 1 if it equals "blue insurance" value
 
I have two fields i need to use-one is the guarantor order and the other is the guarantor name
 
i know i need to enter this formula in the select expert, the question is what would be formula look like
 
so i want crystal to pick guarantor 1 and only display if the guarantor name is "blue insurance"
 
i tried
table.guarantor = "1" and table.guarantor name= "blue insurance"
 
.but that did not work
 
help!
IP IP Logged
CircleD
Senior Member
Senior Member
Avatar

Joined: 11 Mar 2011
Location: United States
Online Status: Offline
Posts: 251
Quote CircleD Replybullet Posted: 18 May 2011 at 2:43pm
There should either be an underline or no space in the table name (Table.Guarantor_Name or Table.GuarantorName) No spaces are allowed.



IP IP Logged
comatt1
Senior Member
Senior Member
Avatar

Joined: 19 May 2011
Online Status: Offline
Posts: 337
Quote comatt1 Replybullet Posted: 19 May 2011 at 9:53am
as far as I can tell, assuming the table name was misspelled with an extra space between guarantor/name it isn't wrong.

Is Guarantor a number field? Dont put in quotes then.
IP IP Logged
Dewald
Groupie
Groupie
Avatar

Joined: 02 Jun 2011
Location: South Africa
Online Status: Offline
Posts: 47
Quote Dewald Replybullet Posted: 03 Jun 2011 at 12:42am
Your formula should look something like this
{table.guarantor} = "1" and {table.guarantor name}= "blue insurance"
Dewald Botha
http://www.ITClarity.co.za
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