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!

Date and Day

Status
Not open for further replies.

Brogrim

Technical User
Jul 28, 2000
184
IE
I have a table called member attendance

MemberID, Number
Mon Boolean (Yes, No)
Tues Boolean (Yes, No)
Wed Boolean (Yes, No)
Thurs Boolean (Yes, No)
Fri Boolean (Yes, No)
Sat Boolean (Yes, No)
Sun Boolean (Yes, No)

I then print a report off by date, example Tuesday 1st August.

When I produce an attendance report I only want members marked in as attending on a Tuesday to appear on the list.

Am I correct in thinking it would be an if Statement

If the date is a Tuesday then only show records where the field Tues is = true

Any Ideas greatly appreciated
 
Thanks

can you be more specific or are you advising me to start learning database design.

thanks

 
Your member attendance table is NOT normalised ...

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 



Hi,

Where is the DATE in your table? Your design needs a bit of work as PHV has implied.

Skip,
[sub]
[glasses] [red][/red]
[tongue][/sub]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top