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

how do i add a date of >= to this formula 1

Status
Not open for further replies.

willpp

MIS
Feb 12, 2010
7
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
 
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.

[yinyang] Madawc Williams (East Anglia, UK). Using Crystal 10 & 11.5 with Windows XP [yinyang]
 
thanks Madawc
did not think to put the Bracket before the isull
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top