Quantcast
Channel: SCN : Unanswered Discussions - SAP Crystal Reports
Viewing all articles
Browse latest Browse all 4814

Bracket Use

$
0
0

I have a report that uses the following select criteria:

 

{Hospital_Privileges.Ending_Date} >= currentdate and

{?Department}={Hospital_Privileges.Department} and

{Hospital_Privileges.Professional_Staff_Category} in ["ACTIVE", "ASSOCIATE", "MOD-ACTIVE", "TERM"] and

{Hospital_Privileges.Hospital_Position_Number} <> "" and

isnull({Hospital_Secretary_Info.Ending_Date})

 

The purpose of my report is to provide a list of individuals and their current secretary names.  If they have had a previous secretary who has resigned, my select criteria of ignores anyone who an end date.

 

However, with the above select criteria, if an individual has never had a secretary, they will not appear on my report at all.  I suspect that I need to add some additional backets. I tried modifing my select criteria by adding some brackets (below criteria), however, it still does not work accurately.

 

(({Hospital_Privileges.Ending_Date} >= currentdate and
{?Department}={Hospital_Privileges.Department} and
{Hospital_Privileges.Professional_Staff_Category} in ["ACTIVE", "ASSOCIATE", "MOD-ACTIVE", "TERM"] and
{Hospital_Privileges.Hospital_Position_Number} <> "") and'

 

(isnull({Hospital_Secretary_Info.Ending_Date})))

 

Any help would be greatly appreciated.


Viewing all articles
Browse latest Browse all 4814

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>