I am going crazy. I am helping a co-worker with a crystal report and here's what we're trying to do. Return data where noun_mod_2 <> 'ATTACHMENT 4'. The field noun_mod_2 also contains nulls, so we know we need to evaluate for those because they won't evaluate in the not equal. If I do this in SQL, it works fine. When I add it to the record selection formula, I am getting 0 records. I run the report with no criteria in the record selection and I get 72 records. I know, based on my db query, when I add this, I should get 30 records. So, this is what I add to the record selection:
({Command.NOUN_MOD_2} <> "ATTACHMENT 4" or isnull({Command.NOUN_MOD_2}))
I get 0 records. The corresponding line of SQL when I freehand it, looks like this:
AND (CAT1.NOUN_MOD_2 <> 'ATTACHMENT 4' or CAT1.NOUN_MOD_2 is null)
Any help would be much appreciated.
({Command.NOUN_MOD_2} <> "ATTACHMENT 4" or isnull({Command.NOUN_MOD_2}))
I get 0 records. The corresponding line of SQL when I freehand it, looks like this:
AND (CAT1.NOUN_MOD_2 <> 'ATTACHMENT 4' or CAT1.NOUN_MOD_2 is null)
Any help would be much appreciated.