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. Currently
I have to go in and wipe out the data each year to start new. I want to
somehow be able to incorporate the year's info into the database.
For instance, keep 2005's information, and add 2006's. So next year I can
pull up 2005 and say "oh yeah, so-and-so participated that year". Any
ideas?
Kevin 11 1544
On Mon, 19 Dec 2005 06:27:13 GMT, Kevin <wi******@hotmail.com> wrote: 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. Currently I have to go in and wipe out the data each year to start new. I want to somehow be able to incorporate the year's info into the database.
For instance, keep 2005's information, and add 2006's. So next year I can pull up 2005 and say "oh yeah, so-and-so participated that year". Any ideas?
Kevin, this is such a trivial matter that I must not be understanding
your question. You have a table. That table has information in it.
You add a field called "ProjectYear". You enter a year (2004, 2005,
etc.) into that field.
Your database now has the ability to distinguish based on the year.
What am I missing?
mike
I think maybe I'm missing something, why don't you add a field to the
relevant tables and store the year in it ?
--
Terry Kreft
"Kevin" <wi******@hotmail.com> wrote in message
news:pa****************************@hotmail.com... 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. Currently I have to go in and wipe out the data each year to start new. I want to somehow be able to incorporate the year's info into the database.
For instance, keep 2005's information, and add 2006's. So next year I can pull up 2005 and say "oh yeah, so-and-so participated that year". Any ideas?
Kevin
On Mon, 19 Dec 2005 09:31:06 +0000, Mike Preston wrote: On Mon, 19 Dec 2005 06:27:13 GMT, Kevin <wi******@hotmail.com> wrote:
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. Currently I have to go in and wipe out the data each year to start new. I want to somehow be able to incorporate the year's info into the database.
For instance, keep 2005's information, and add 2006's. So next year I can pull up 2005 and say "oh yeah, so-and-so participated that year". Any ideas?
Kevin, this is such a trivial matter that I must not be understanding your question. You have a table. That table has information in it. You add a field called "ProjectYear". You enter a year (2004, 2005, etc.) into that field.
Your database now has the ability to distinguish based on the year.
What am I missing?
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
data is in there from the previous year, it would already say "2005" for
example. What happens the next year? If I change it to "2006", I no
longer have a record of them taking part in 2005. So, I guess the
question is, given a volunteer table (name, address, volunteer site, etc.)
how do I relate the years participated?
Kevin
"Kevin" <wi******@hotmail.com> wrote in message
news:pa****************************@hotmail.com... On Mon, 19 Dec 2005 09:31:06 +0000, Mike Preston wrote:
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 data is in there from the previous year, it would already say "2005" for example. What happens the next year? If I change it to "2006", I no longer have a record of them taking part in 2005. So, I guess the 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 je************@gmail.com wrote in
news:11**********************@g14g2000cwa.googlegr oups.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.
And this second table will have a record for each person for each
year they participated.
--
David W. Fenton http://www.dfenton.com/
usenet at dfenton dot com http://www.dfenton.com/DFA/
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 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
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
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"
On Mon, 19 Dec 2005 14:13:14 -0600, David W. Fenton wrote: je************@gmail.com wrote in news:11**********************@g14g2000cwa.googlegr oups.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.
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
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
Kevin <wi******@hotmail.com> wrote in
news:pa**************************@hotmail.com: On Mon, 19 Dec 2005 14:13:14 -0600, David W. Fenton wrote:
je************@gmail.com wrote in news:11**********************@g14g2000cwa.googlegr oups.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. 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.
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:
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. :\
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.
--
David W. Fenton http://www.dfenton.com/
usenet at dfenton dot com http://www.dfenton.com/DFA/ This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Shock |
last post by:
Hello all,
I am doing some research on database conversions. Currently, I am
interested in any information that would help me convert a database from
one schema to another. This could be...
|
by: SuryaPrakash Patel via SQLMonster.com |
last post by:
Dear Reader
I am trying to design a database. How can I make best Judgement that Indexing (which I am trying to fix during Diagram Desingning process)is ok.
I am able to identify the best...
|
by: cjl |
last post by:
Hey all:
I know that it is silly in the age of Google to 'lose' something on the
internet, but I recently checked out a project that had implemented a
database with a subset of SQL in pure...
|
by: Corinne |
last post by:
I have a database that contains the details of pupils in a school.
What I would like to do may not be possible but I thought I would ask
anyway. Each year the pupils move to a different class,...
|
by: lorirobn |
last post by:
Hello,
I'd be curious to hear other thoughts on my database and table design.
My database is for 'space use' in a lodging facility - will hold all
spaces, like rooms (lodging rooms, dining...
|
by: MP |
last post by:
Greets,
context: vb6/ado/.mdb/jet 4.0 (no access)/sql
beginning learner, first database, planning stages
(I think the underlying question here is whether to normalize or not to
normalize this...
|
by: John |
last post by:
hi Everybody,
I'm working on a Web site that reads a simple database file created in
Access.
The Web site has an asp page called results.asp and I used Frontpage to
design it. Part of the asp...
|
by: John |
last post by:
can somebody tell me what's wrong wth this code ?
IF Request.QueryString("YEAR") <"" THEN
SELECT * FROM tblMatches ORDER BY Year DESC,
END IF
I'm getting an error message: "Server error:...
|
by: Jo |
last post by:
Hi there,
I'm Jo and it's the first time I've posted here. I'm in process of creating
a database at work and have come a little unstuck.....I'm a bit of a novice
and wondered if anyone could...
|
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
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
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...
|
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,...
|
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: 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...
|
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,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
| |