Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

multiple criteria formula need help with

Status
Not open for further replies.

jedder18

Technical User
Mar 4, 2013
29
US
scenario

clients who <= {@enddate}
clients have null value for @dischdate

or

clients who <= {@enddate}
client have value in @dischdate between @startdate and @enddate

I need clients who fit either scenario to show on report



Help Please!



Jedder

 
Try this:
Code:
(
   IsNull( {YourTable.DischargeDate} ) 
AND 
   {YourTable.SomeClientDate} <= {?YourEndDateParameter}
)
OR
(
   {YourTable.SomeClientDate} <= {?YourEndDateParameter}
AND
   {YourTable.DischargeDate} in {?YourStartDateParameter} to {?YourEndDateParameter}
)


Bob Suruncle
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top