ftbadolato
Programmer
I have a parameter field called Last. The user has the option of filling in this field, or leaving it blank. If they fill it in, the report works great, but if they leave it blank, I get no results. What I want to happen is that if they leave it blank, I get ALL the records in the table. I created a record selection formula for the report to try and do this, but I am having problems. Here is the formula:
IF {?Last} <> '' OR NOT(ISNULL({?Last})) THEN
{Table.LastName} = {?Last}
ELSE
.......
I tried creating this without the else, but I still get no records, so I think I need to somehow specify that ?Last equals everything in an ELSE. How do I do this? If I am way off on how this should be accomplished, please let me know.
Thanks!
IF {?Last} <> '' OR NOT(ISNULL({?Last})) THEN
{Table.LastName} = {?Last}
ELSE
.......
I tried creating this without the else, but I still get no records, so I think I need to somehow specify that ?Last equals everything in an ELSE. How do I do this? If I am way off on how this should be accomplished, please let me know.
Thanks!