Originally Posted by
ranman256
Instead of using the table, build a query called qsActiveMembers
select * from tMembers where [enddate] is null or [EndDate] <= date()
This way all your future queries would run off qsActiveMembers.
Now for scheduling,
Select * from qsActiveMembers, tSchedules,tDates INNER JOIN tSchedules ON tMembers.ClientID = tSchedules.ClientID
you would list the days of the week along with the dates of the member's schedule with the [endDate].
If the DateOfWeek <= [EndDate] then youd show Swimming, else show EXPIRED.