473,405 Members | 2,171 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,405 software developers and data experts.

Database design - help getting started

I need help designing a database that keeps up with a point system we
have here at work. I'll tell you what I know.

First, I have a list of all the employee names for a table.

Second, for various reasons that I don't want to go in to, people can
earn points, in half point increments, toward a reward.

Now for the tricky part. The points are calculated on a 12 month
rolling sum. For every 3 months that an employee goes without getting
any points, a point is dropped from their total. Also, at the 13th
month, any points earned during the first month are dropped from their
total.

Given these rules, here is what I need out of this database. Every
day, the supervisors will need to open the database, and use a form to
pick the user's name, enter a date, points earned, and any comments.
Then, they should run one of three reports - 1) show me all of the
names and how many points they currently have, and 2) show me the
people that have gone 3 months without earning any points, and 3) show
me the people that have gone all 12 months without earning any points.

So, I know I will need a table of employee names, and a table to hold
the data that is entered by the supervisors. It's the rest of it... I
can't figure out how to get started.

Any help is appreciated. Please write if you need more information
about any part of this.

Thanks!
Tim

Jan 11 '07 #1
1 1510
2 Tables

1 Employees - Fixed information - EmployeeID as the key (Autonumber) then
LastName, FirstName etc etc etc

2) Points - PointID as the key (Autonumber) EmployeeID Long Number, Points,
Date, Comment etc

Enforce a relationship between the 2 tables

Then your information will be obtained by selecting the appropriate date
range. Generally you will not delete points at the end of 12 months, but
your rolling period is just found by changing the dates so last month you
want SumOfPoints from Dec 1st 2005 to Nov 30th 2006, This month you want
SumOfPoints from Jan 1st 2006 to Dec 31st 2006.

At the end of each month, say Last December you run the report based on
SumOfPoints from Oct 1st 2006 to Dec 31st 2006 where SumOfPoints = 0 and
either manually or using VBA code add a -1 point to the points table.

Rough outline of where to start

HTH Phil

<Ti***********@gmail.comwrote in message
news:11*********************@i39g2000hsf.googlegro ups.com...
>I need help designing a database that keeps up with a point system we
have here at work. I'll tell you what I know.

First, I have a list of all the employee names for a table.

Second, for various reasons that I don't want to go in to, people can
earn points, in half point increments, toward a reward.

Now for the tricky part. The points are calculated on a 12 month
rolling sum. For every 3 months that an employee goes without getting
any points, a point is dropped from their total. Also, at the 13th
month, any points earned during the first month are dropped from their
total.

Given these rules, here is what I need out of this database. Every
day, the supervisors will need to open the database, and use a form to
pick the user's name, enter a date, points earned, and any comments.
Then, they should run one of three reports - 1) show me all of the
names and how many points they currently have, and 2) show me the
people that have gone 3 months without earning any points, and 3) show
me the people that have gone all 12 months without earning any points.

So, I know I will need a table of employee names, and a table to hold
the data that is entered by the supervisors. It's the rest of it... I
can't figure out how to get started.

Any help is appreciated. Please write if you need more information
about any part of this.

Thanks!
Tim

Jan 11 '07 #2

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

Similar topics

1
by: vwhk | last post by:
Dear All, I new in Oracle. I would like to have your advice that how can I create a new oracle database in AIX. I've tried using "svrmgrl" on terminal but couldn't connect as "connect...
9
by: Big Slim | last post by:
I'm working on a web application that makes heavy use of CSS, but I would like users to have a degree of control over some of the classes and attributes. To accomplish this, I want to store my CSS...
5
by: Don Vaillancourt | last post by:
Hello all, Over the years as I design more database schemas the more I come up with patterns in database design. The more patterns I recognize the more I want to try to design some kind of...
5
by: Paul H | last post by:
How do you folks get a reliable and complete brief of what is required before development starts? I am forever going back to a client once a project has started saying "Hang on, now that I've...
7
by: News | last post by:
Hello, I have to build a program with the future in mind and I need a bit of guidance from a guru or two. My program will start as a multi-user Windows Application built with VB.Net and using an...
29
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...
10
by: Paul H | last post by:
I am trying to get the spec for a database. The trouble is the client frequently blurts out industry jargon, speaks insanely quickly and is easily sidetracked. They are currently using around 30...
3
by: gmwebay | last post by:
I'm a physician and I need to keep track of the 10 procedures or so I do every day. I want to build an access database and have started. (Access 2003). I find the tutorials and help way beyond my...
1
by: | last post by:
Hi. This is a a semi-newbie question about how to store arbitrary information about my apps such that I can code quickly, mimizing complexity and the number of things I have to hold in my brain. I...
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: 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
0
BarryA
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...
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
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...
0
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
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,...

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.