Hello,
Using CRXI r2 w/SQL Svr.
I've got a report that displays auths, tx codes, begindate, enddate and clients with a parms for dates created through a sql command. On the front end, I've got additional parms for Report Content, Sort by (uses @GroupName) and AgencyName with the Record Select:
The report works fine.
Until I created the last parm, {?ClientID}, static string, (None) for the value field, default = -Any Value- and set to allow custom and discrete values.
I then changed the Record Select:
The idea, is for the end user to pick a client if they so choose or to get all client data for the other parameters they choose.
My guess is that Crystal is thinking it's dealing with a NULL and therefore doesn't know what to do.
Any ideas?
Using CRXI r2 w/SQL Svr.
I've got a report that displays auths, tx codes, begindate, enddate and clients with a parms for dates created through a sql command. On the front end, I've got additional parms for Report Content, Sort by (uses @GroupName) and AgencyName with the Record Select:
Code:
({?AgencyName}='All' or {?AgencyName}='--Any Value--' or
{Command.Agency} = {?AgencyName})
Until I created the last parm, {?ClientID}, static string, (None) for the value field, default = -Any Value- and set to allow custom and discrete values.
I then changed the Record Select:
Code:
(
{?ClientID} = '-Any Value-' and
(
{?AgencyName}='All' or
{?AgencyName}='--Any Value--' or
{Command.Agency}={?AgencyName}
)
)
or
(
{Command.ClientID}={?ClientID} and
(
{?AgencyName}='All' or
{?AgencyName}='--Any Value--' or
{Command.Agency} = {?AgencyName}
)
)
The idea, is for the end user to pick a client if they so choose or to get all client data for the other parameters they choose.
My guess is that Crystal is thinking it's dealing with a NULL and therefore doesn't know what to do.
Any ideas?