473,480 Members | 1,876 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Membership & attendance db - table structure?

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. The group operates on a 28
week schedule, with meetings once each week. At the end of 6 months
they create a new 28 week schedule, but preserve the prior 6 month
attendance values. They view & edit attendance records for the
"current period" and the "previous period". They do not need to retain
records prior to the previous 6 month period, nor do they require the
records to be deleted from the database. They do not always have
entries for all 28 weeks; they just begin their new 28 week period
between June/July and December/January. They might only have entries
up through week 20.

In the current FoxPro database, there are 56 fields in the membership
table labeled A1 - A28 and B1 - B28 which correspond with weeks 1-28
for each period. These fields hold the values of Present, Absent, or
Excused. There is a function in the database to reinitialize a new 28
week schedule but I am not clear on how it works. Reinitializing
clears the form that allows the user to enter the dates for weeks 1-28,
but I do not know how it 'moves' between the A & B fields. (so that
the "current period" is B1-B28 instead of A1-A28)

I originally thought I'd create tables MEMBERS, CURRENT_PERIOD,
PREVIOUS_PERIOD, and then at the end of each 28 weeks I'd use a query
to delete the records from PREVIOUS_PERIOD, copy records from
CURRENT_PERIOD to PREVIOUS_PERIOD, then delete the records in
CURRENT_PERIOD. The more I think about it, the more I think I'm on the
wrong track with this. Should I keep the extra 56 fields relating to
attendance in the membership table? Or should I break the attendance
data out into a new table and use an ID # to create a relationship
between the member & the member's attendance? Is there another
solution I'm not thinking of?

(Hope all that made sense.)

I am building the new db in Access 2003.

I have searched through a lot of posts on attendance databases but
still need some help. So I appreciate your input.
Thanks!

Nov 13 '05 #1
2 2831
Suggest you have 3 tables
TblMembers with key of MemberID and things like Name Address, Phone
TblPeriods with a key of PeriodID, PeriodName FromDate and ToDate
JnTblMemberPeriod with a combined key of MemberID and PeriodID and a field
for Present,Absent or Excused (Default being absent)
Depending how you want to input your data, you would have a main form with a
combo box to select the current period and a subform based a query with the
JnTblMemberPeriod and TblMembers for the members showing their names and you
would then input their attendance details
Easy to do reports on any series of periods you want as you have the date
range. You can delete the records from the JnTblMemberPeriod whenever you
fancy

Phil

<cr******@yahoo.com> wrote in message
news:11**********************@z14g2000cwz.googlegr oups.com...
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. The group operates on a 28
week schedule, with meetings once each week. At the end of 6 months
they create a new 28 week schedule, but preserve the prior 6 month
attendance values. They view & edit attendance records for the
"current period" and the "previous period". They do not need to retain
records prior to the previous 6 month period, nor do they require the
records to be deleted from the database. They do not always have
entries for all 28 weeks; they just begin their new 28 week period
between June/July and December/January. They might only have entries
up through week 20.

In the current FoxPro database, there are 56 fields in the membership
table labeled A1 - A28 and B1 - B28 which correspond with weeks 1-28
for each period. These fields hold the values of Present, Absent, or
Excused. There is a function in the database to reinitialize a new 28
week schedule but I am not clear on how it works. Reinitializing
clears the form that allows the user to enter the dates for weeks 1-28,
but I do not know how it 'moves' between the A & B fields. (so that
the "current period" is B1-B28 instead of A1-A28)

I originally thought I'd create tables MEMBERS, CURRENT_PERIOD,
PREVIOUS_PERIOD, and then at the end of each 28 weeks I'd use a query
to delete the records from PREVIOUS_PERIOD, copy records from
CURRENT_PERIOD to PREVIOUS_PERIOD, then delete the records in
CURRENT_PERIOD. The more I think about it, the more I think I'm on the
wrong track with this. Should I keep the extra 56 fields relating to
attendance in the membership table? Or should I break the attendance
data out into a new table and use an ID # to create a relationship
between the member & the member's attendance? Is there another
solution I'm not thinking of?

(Hope all that made sense.)

I am building the new db in Access 2003.

I have searched through a lot of posts on attendance databases but
still need some help. So I appreciate your input.
Thanks!

Nov 13 '05 #2
cr******@yahoo.com wrote:
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. The group operates on a 28
week schedule, with meetings once each week. At the end of 6 months
they create a new 28 week schedule, but preserve the prior 6 month
attendance values. They view & edit attendance records for the
"current period" and the "previous period". They do not need to retain
records prior to the previous 6 month period, nor do they require the
records to be deleted from the database. They do not always have
entries for all 28 weeks; they just begin their new 28 week period
between June/July and December/January. They might only have entries
up through week 20.

In the current FoxPro database, there are 56 fields in the membership
table labeled A1 - A28 and B1 - B28 which correspond with weeks 1-28
for each period. These fields hold the values of Present, Absent, or
Excused. There is a function in the database to reinitialize a new 28
week schedule but I am not clear on how it works. Reinitializing
clears the form that allows the user to enter the dates for weeks 1-28,
but I do not know how it 'moves' between the A & B fields. (so that
the "current period" is B1-B28 instead of A1-A28)

I originally thought I'd create tables MEMBERS, CURRENT_PERIOD,
PREVIOUS_PERIOD, and then at the end of each 28 weeks I'd use a query
to delete the records from PREVIOUS_PERIOD, copy records from
CURRENT_PERIOD to PREVIOUS_PERIOD, then delete the records in
CURRENT_PERIOD. The more I think about it, the more I think I'm on the
wrong track with this. Should I keep the extra 56 fields relating to
attendance in the membership table? Or should I break the attendance
data out into a new table and use an ID # to create a relationship
between the member & the member's attendance? Is there another
solution I'm not thinking of?

(Hope all that made sense.)

I am building the new db in Access 2003.

I have searched through a lot of posts on attendance databases but
still need some help. So I appreciate your input.
Thanks!


Your second idea is a more appropriate relational design. Based on what
you've said I would dump the 56 field table and create

tblMembers
MemberID
Name
etc.

tblAttendance
PK
fkMemberID
WeekID
AttendanceValue

HTH
--
Smartin
Nov 13 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

11
30652
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...
3
6439
by: gold casper | last post by:
Hi I'm working in oracle9i form developer and report developer I'm doing school attendance system to take the attendance for students but I don't know how many tables I need and how to make all...
1
1285
by: Griff | last post by:
Hi We are re-writing an old classic ASP system and I've been doing some reading up of the new security features in ASP.NET and I'm not sure that they're suitable for me...but perhaps I've got...
2
2846
by: timgeitz | last post by:
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...
1
3476
by: mazdotnet | last post by:
Hi guys, I've just started using ASP.NET's membership feature and it all seems pretty good. However, I need to have additional fields such as Address, Postal Code, Country, State, City...etc......
4
1691
by: alexandis | last post by:
We have tables of logins (users), that differs much from standard microsoft structure - we don't use control question/answer, date fields, etc. But instead we have several additional fields. I...
1
2991
by: =?Utf-8?B?ZVByaW50?= | last post by:
Asp.Net v2.0 I have created a web application and I am using it from a single website and database. The web application has different ‘portals’ – each independent and I am using the...
2
1194
by: gnewsgroup | last post by:
I am working on a membership web application, The logic is like this: 1. All logged-in users can visit Folder1, Folder2, Folder3, but only administrators can access the Admin folder. ...
1
2191
by: Dale | last post by:
Access 2003 I am trying to figure out how to develop a report that will display students in 1st column, dates across the top, and "P" or "A" for the data. I have a crosstab that displays what I...
0
6918
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
7057
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
7102
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...
1
6756
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5357
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
3008
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1310
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
570
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
199
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.