Results 1 to 4 of 4
  1. #1
    Rabihk is offline Novice
    Windows 8 Access 2013
    Join Date
    Aug 2015
    Location
    Lebanon
    Posts
    2

    Printing Daily Report for Existing Members

    Dears,

    I have a kids club which do lots of functions for kids, to monitor the members and who is in and out I did a small access data base with details of Start date of the function and end date for each member.

    I want to make a daily report showing only the active members in today date only for example:

    Jack have swimming every Saturday, Monday and Wednesday Between 14 July 2015 till 14 August 2015
    Jill have swimming every Sunday, Tuesday and Thursday Between 14 July 2015 till 14 August 2015

    today is 11 August 2015 and I want to report to mention just who is active today only.

    Please advise. and Thank you.

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,525
    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 along with the [endDate].
    If the DateOfWeek <= [EndDate] then youd show Swimming, else show EXPIRED.

  3. #3
    Rabihk is offline Novice
    Windows 8 Access 2013
    Join Date
    Aug 2015
    Location
    Lebanon
    Posts
    2
    Quote Originally Posted by ranman256 View Post
    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.

    Thanks ranman. Do you mean i have to make seperat table for schedules and another table for tables?

  4. #4
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,525
    no 1 table for persons
    1 table for schedules

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 5
    Last Post: 01-31-2015, 02:44 PM
  2. Replies: 2
    Last Post: 10-31-2014, 06:51 AM
  3. Replies: 24
    Last Post: 02-04-2014, 07:26 PM
  4. Auto email a pdf report daily from ACCESS
    By wsm_al in forum Access
    Replies: 7
    Last Post: 10-20-2011, 09:35 AM
  5. Daily Sales Report
    By bayswatergirl in forum Reports
    Replies: 1
    Last Post: 06-02-2011, 12:27 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums