CR 8.5 (I'm stuck with it at the moment) I am either stoopid or simply having a brain cramp. But I'll be darned if I can figure out how to simply, include records where a parameter value might be null?
In this report, I have two parameter elements, one a number and the other a letter. In my dataset, there will ALWAYS be a number. There WON'T always be a letter.
My selection criteria currently look like:
(If {?pTheTitleAlpha} <> "ALL"
Then
{vTitleAndSection.Title_Alpha} = {?pTheTitleAlpha}
Else
{vTitleAndSection.Title_Alpha} Like "*") and
{vTitleAndSection.Title} = {?pTheTitle}
I've tried everything in that IF statement, IsNull, = "", = " ". I've added "ALL" as one of the possible values for the parameter. But at BEST I get ONLY those records where the letter actually has a value, not the ones where it's null.
In this report, I have two parameter elements, one a number and the other a letter. In my dataset, there will ALWAYS be a number. There WON'T always be a letter.
My selection criteria currently look like:
(If {?pTheTitleAlpha} <> "ALL"
Then
{vTitleAndSection.Title_Alpha} = {?pTheTitleAlpha}
Else
{vTitleAndSection.Title_Alpha} Like "*") and
{vTitleAndSection.Title} = {?pTheTitle}
I've tried everything in that IF statement, IsNull, = "", = " ". I've added "ALL" as one of the possible values for the parameter. But at BEST I get ONLY those records where the letter actually has a value, not the ones where it's null.