drgsolutions
IS-IT--Management
I'm using Crystal Reports 11/XI
I have a report that has 7 parameters which a user can select any or all. I would like to show the user's selection criteria on the report or page header. I wrote the following into a formula that was in that report header.
If {?Gender} <> "All" Then "Gender; " & {?Gender} and
If {?Sponsor} <> "All" Then "Sponsor: " & {?Sponsor}
But got this error
"A boolean is required here" with the "Gender; " & {?Gender} section highlighted. It works fine with only a single IF statement but has problems when you add multiple IF statements; does anyone know why?
I have a report that has 7 parameters which a user can select any or all. I would like to show the user's selection criteria on the report or page header. I wrote the following into a formula that was in that report header.
If {?Gender} <> "All" Then "Gender; " & {?Gender} and
If {?Sponsor} <> "All" Then "Sponsor: " & {?Sponsor}
But got this error
"A boolean is required here" with the "Gender; " & {?Gender} section highlighted. It works fine with only a single IF statement but has problems when you add multiple IF statements; does anyone know why?