473,386 Members | 1,674 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Option box for choosing attendance input date

I would like to design a drop down option box on a form which gives me several choices for putting in an attendance date to record church attendance. Typically, a church secretary would record a member's attendance sometime after the date of attendance (eg. Monday or Tuesday after the Sunday's attendance). On my attendance form, I need to have an option box that would put in last Sunday's attendance date even though it's now Monday or Tuesday or even later in the week. That date would then be stored in the attendance table for attendance reports. Any suggestions on how to design such an option box?

I am using Windows XP with Access 2003.

Thanks for any help you can give,
Tim
Nov 2 '06 #1
2 2840
VALIS
21
I would like to design a drop down option box on a form which gives me several choices for putting in an attendance date to record church attendance. Typically, a church secretary would record a member's attendance sometime after the date of attendance (eg. Monday or Tuesday after the Sunday's attendance). On my attendance form, I need to have an option box that would put in last Sunday's attendance date even though it's now Monday or Tuesday or even later in the week. That date would then be stored in the attendance table for attendance reports. Any suggestions on how to design such an option box?

I am using Windows XP with Access 2003.

Thanks for any help you can give,
Tim
Try typing the following formula in the control source
=Now()-Weekday(Now(),1)-2
This should give you last Sundays date.
Nov 2 '06 #2
NeoPa
32,556 Expert Mod 16PB
You could try creating a TextBox on your form with a 'Default Value' of the previous Sunday and a 'Validation Rule' of must be a Sunday.
Expand|Select|Wrap|Line Numbers
  1. Set 'Default Value' to Date()+1-Weekday(Date())
  2. Set 'Validation Rule' to Weekday([FieldName])=1
The operator can change it on the rare occurrence that it is for an earlier Sunday.
Don't forget to enter a value in the 'Validation Text' property.
Nov 2 '06 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Kevin | last post by:
Hi, I have an attendance database that tracks when employees are present during the week. I have a two tables that have the following information: EmployeeTable with Fields EmployeeID, First...
2
by: crier_67 | last post by:
Hello all, I'm relatively new to Access and could use some direction on this task. I have a group with a FoxPro 2.6 for DOS membership & attendance database with about 200 member records. ...
6
by: rcamarda | last post by:
Hello, I need to find students that have 4 consecutive absences. When a student is absent 4 times in a row, they can be dropped from the class. My class attendance file contains each attendance...
11
by: SKBodner | last post by:
Hello, I'm stumped and I'm hoping someone could help me figure out the best way to track daily attendance for the next 6-4 months. I have a list of 80 or so participants who should be attended...
0
by: Bill | last post by:
I've searched comp.databases.ms-access for a solution and found help but still haven't got my problem solved. I want to record weekly attendance and print an attendance "check off" sheet where...
3
by: lucky33 | last post by:
My employer has asked me to create a database that will keep track of the employee attendance. Time off / Time earned, excused / unexcused, etc. At my company from the 6th month of employment to...
3
by: Arnold | last post by:
Hello; I really want to make an attendance database similar to A.D. Tejpal's Query_CrosstabAttendanceMarking, www.rogersaccesslibrary.com/OtherLibraries.asp, that, in addition to storing the date...
1
flexsingh
by: flexsingh | last post by:
Hello there I have kinda got gotten myself into a sticky situation. I am trying to do something which seams too big to do in my head but I feel I kinda know how to do it. My problem is I have a...
0
by: kaleria | last post by:
Please help me in implementing an attendance logic... My problem is that whenever an employee logs in or will just take a break or have lunch outside, they will only use login to in doing it....
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.