Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

boolean problem : Crystal XI 1

Status
Not open for further replies.

ianholmes

Programmer
Mar 24, 2001
61
GB
My Report accesses an SP rather than a table.
The field I need is defined {FieldName}: Boolean
When I move it directly to Detail, the values returned are either "True" or "False".
I need to change this into "Yes" or "No".
I have tried creating a Formula with

If {{SPName};1.{FieldName}} = "False" then
"No"
Else
"True"
but get "A boolean is required here" error message against "False".

Can someone please give me the correct syntax for such boolean handling above ?

Many thanks
 
get rid of the quotes around False.

Software Sales, Training, Implementation and Support for Macola, eSynergy, and Crystal Reports

"If you have a big enough dictionary, just about everything is a word"
--Dave Barry
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top