Question : query

Please find the attached table
In the table for every clientid , has a date of unit entry  and date of release  (date of release may be blank)

for a given time period ( date1 to date2)  Let us assume date1 and date2 comes from  a form "frmA"

I want to find no: of days the client has stayed  from  Date of Unit Entry to either date2 OR the  Date of Release (whichever came first).

 number of days each client has stayed from date1 or  Date of Unit Entry (whichever is later) to either the date2 OR the Date of Release (whichever came first).

date of unit entry <=date2
date of release >=date1 or null

Answer : query

You cannot use both versions of Outlook though - you have to pick one
Random Solutions  
programming4us programming4us