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

Problem with Group

Status
Not open for further replies.

rnooraei

Programmer
Apr 5, 2005
74
CA
I have the following formula which is attached to a group. The ELSE part is not working. It supposes to check for CONTACT_ID and if there is no CONTACT_ID, it should show "Not Assigned" but in my case it doesn't show any title for this group. any help appreciated.

if not isnull ({RPH_007_.CONTACT_ID}) then {RPH_007.NAME.B} else "Not Assigned";
 
Probably {RPH_007.NAME.B} is null or spaces. Try
Code:
if isnull ({RPH_007_.CONTACT_ID}) then "Not Assigned"
else if isnull ({RPH_007.NAME.B}) 
     or {RPH_007.NAME.B} = " "
     then "No Name"
     else {RPH_007.NAME.B}

[yinyang] Madawc Williams (East Anglia, UK). Using Windows XP & Crystal 10 [yinyang]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top