>>I have a problem I'm trying to figure out how to resolve in Access. I
>>have a volunteer database for a project which occurs each year.
[quoted text clipped - 16 lines]
>
> mike
> Maybe I'm just thinking about it too much. A field "ProjectYear" would be
> fine, but if the database is used year after year, and one volunteer's
[quoted text clipped - 3 lines]
> question is, given a volunteer table (name, address, volunteer site, etc.)
> how do I relate the years participated?
You'd just copy the 2005 record and replace the year in the new record,
shirley?
Keith.
www.keithwilby.com
I think I get it. It sounds like you have a table that lists people and
also contains information about their participation in your program.
You should build a second table. one table will hold a list of the
people, and any information that describes those people. That table
will have an autonumber primary key (check help if those terms are new
to you). The second table will have information regarding the
participation of these people in your probram, including that field
ProjecYear.
For a great discussion of why this is the right approach, check out
Paul Litwin's article "The Fundamentals of Relational Database Design".
It's posted, with Paul's permission, on my old website at
http://www.abcdatabase.com, in the developers's section.
Jeremy
David W. Fenton - 19 Dec 2005 20:13 GMT
> I think I get it. It sounds like you have a table that lists
> people and also contains information about their participation in
[quoted text clipped - 4 lines]
> information regarding the participation of these people in your
> probram, including that field ProjecYear.
And this second table will have a record for each person for each
year they participated.

Signature
David W. Fenton http://www.dfenton.com/
usenet at dfenton dot com http://www.dfenton.com/DFA/
Kevin - 20 Dec 2005 04:04 GMT
>> I think I get it. It sounds like you have a table that lists people and
>> also contains information about their participation in your program. You
[quoted text clipped - 6 lines]
> And this second table will have a record for each person for each year
> they participated.
Seems like a lot of repeating data, but I guess that's the way to do
it.
each record holding something like:
id (key from first table)
year
date
site
Now, there's 3 events per year. Should I create a record for each event,
per year, per person? So potentially each person could have 3 records per
year. If I tried to combine one record per year I'd probably end up with
many null values. :\
Kevin
David W. Fenton - 20 Dec 2005 21:03 GMT
>>> I think I get it. It sounds like you have a table that lists
>>> people and also contains information about their participation
[quoted text clipped - 10 lines]
> Seems like a lot of repeating data, but I guess that's the way to
> do it.
Well, that's natural if you're not going to overwrite last year's
data with this year's. The only alternative is repeating fields
within the record, and that's obviously a bad choice.
> each record holding something like:
>
[quoted text clipped - 7 lines]
> 3 records per year. If I tried to combine one record per year I'd
> probably end up with many null values. :\
Well, now you've changed the definition of the problem.
But I dont' see that there's anything at all wrong with your
description here.

Signature
David W. Fenton http://www.dfenton.com/
usenet at dfenton dot com http://www.dfenton.com/DFA/
Kevin - 20 Dec 2005 04:00 GMT
On Mon, 19 Dec 2005 09:05:08 -0800, jeremygetsmail wrote:
> I think I get it. It sounds like you have a table that lists people and
> also contains information about their participation in your program. You
[quoted text clipped - 10 lines]
>
> Jeremy
Hit the nail on the head, Jeremy. I'll explore the second table. I do
know what an autonumber key is. ;) I'm no dummy, but I'm no DBA master
either that's for sure. My only practical experience was a college course,
and this database I built a couple of years back. :)
Thanks,
Kevin
Kevin - 20 Dec 2005 04:01 GMT
On Mon, 19 Dec 2005 09:05:08 -0800, jeremygetsmail wrote:
> For a great discussion of why this is the right approach, check out Paul
> Litwin's article "The Fundamentals of Relational Database Design". It's
> posted, with Paul's permission, on my old website at
> http://www.abcdatabase.com, in the developers's section.
All I get is : "this is the new server"
jeremygetsmail@gmail.com - 20 Dec 2005 19:48 GMT
Huh. Seems I was so spacey yesterday I typed in someone else's URL!
Sorry about that. You should have more luck at
http://www.abcdataworks.com.
Jeremy