Mar 4, 2010 #1 willpp MIS Joined Feb 12, 2010 Messages 7 Location GB if isnull({CLCONT.Type}) or {CLCONT.Type} <> "UDES" then "" else {CLCONT.Type} something like this {CLCONT.Date of Contact} >= Date (2010, 02, 01) any help would Grateful PW
if isnull({CLCONT.Type}) or {CLCONT.Type} <> "UDES" then "" else {CLCONT.Type} something like this {CLCONT.Date of Contact} >= Date (2010, 02, 01) any help would Grateful PW
Mar 4, 2010 1 #2 Madawc Programmer Joined Sep 5, 2002 Messages 7,628 Location GB I'd have thought Code: if (isnull({CLCONT.Type}) or {CLCONT.Type} <> "UDES") and {CLCONT.Date of Contact} >= Date (2010, 02, 01) then "" else {CLCONT.Type} What's the problem? If the data is not what you expect, try Code: {CLCONT.Date of Contact} >= Date (2010, 02, 01) as a separate formula. Put it with the data, maybe in a test section, and see if it works OK. Madawc Williams (East Anglia, UK). Using Crystal 10 & 11.5 with Windows XP Upvote 0 Downvote
I'd have thought Code: if (isnull({CLCONT.Type}) or {CLCONT.Type} <> "UDES") and {CLCONT.Date of Contact} >= Date (2010, 02, 01) then "" else {CLCONT.Type} What's the problem? If the data is not what you expect, try Code: {CLCONT.Date of Contact} >= Date (2010, 02, 01) as a separate formula. Put it with the data, maybe in a test section, and see if it works OK. Madawc Williams (East Anglia, UK). Using Crystal 10 & 11.5 with Windows XP
Mar 4, 2010 Thread starter #3 willpp MIS Joined Feb 12, 2010 Messages 7 Location GB thanks Madawc did not think to put the Bracket before the isull Upvote 0 Downvote