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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

IF-THEN-ELSE EASY QUESTION

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
This is an inserted formula field. @t_f
This seems very simple! If the first set of conditions is met, I get "T" as expected however, if they ar not met, I get a blank instead of "F" Any ideas why?
IF
{Pre Case.PROVIDER ID} = {Preference Header.PROVIDER ID} AND
{Preference Header.DELETE FLAG} <> &quot;X&quot; and
{Pre Case.MAIN PROCEDURE ID} = {Preference Header.PROCEDURE ID}
THEN
&quot;T&quot;
ELSE
&quot;F&quot;
 
Probably a null value in one of the fields.
If any field in the formula is null on that record, the formula will return null.

Try the menu options File-Report Options
and check off &quot;Convert Null field to default&quot;.


Ken Hamady
Crystal Reports Training and a
Quick Reference Guide to VB/Crystal
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top