groundclutter
Programmer
Here's the problem:
I have a parameter, e.g. {?BookName} that is set up to be a discrete, multiple-value parameter.
The selection criteria is set up so that {db.fieldname} = {?BookName}.
What if I want to "select all" book names? The only way I've been able to get this to work is by using an If-Else formula that either searches for the parameter value or searches for everything 'but' the parameter value. For example...
If {?BookName} <> "" Then
{db.fieldname} = {?BookName}
Else
{db.fieldname} <> {?BookName}
This is "kind of kludgy" and would like to see a better solution as I have several parameters that this would be used for.
Thanks in advance!
BTW, I'm using Crystal 8.5 and the parameters will eventually be passed from a VB6 application.
Thanks again!
I have a parameter, e.g. {?BookName} that is set up to be a discrete, multiple-value parameter.
The selection criteria is set up so that {db.fieldname} = {?BookName}.
What if I want to "select all" book names? The only way I've been able to get this to work is by using an If-Else formula that either searches for the parameter value or searches for everything 'but' the parameter value. For example...
If {?BookName} <> "" Then
{db.fieldname} = {?BookName}
Else
{db.fieldname} <> {?BookName}
This is "kind of kludgy" and would like to see a better solution as I have several parameters that this would be used for.
Thanks in advance!
BTW, I'm using Crystal 8.5 and the parameters will eventually be passed from a VB6 application.
Thanks again!