473,385 Members | 1,593 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,385 software developers and data experts.

PT Tables

I have a application for army pt program. I have an age field, pushup rep,
situps rep and 2-mile run-time. After enter the reps I wanna calculate how
many points they will have for each event. i have three dif tables. One -
Pushups, two- Situps and three - 2mile run
on each table I have age, rep and score. ie If i have a soldier that score 45
pushups, 50 situps and 1500 min run and 19 years he'll have 75 poinst for
Pushups, 76 points for situps and 80 points for the 2mile run. but first
need to be calculate by age. Thanks if you need more info let me know.
--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/For...ccess/200510/1
Nov 13 '05 #1
3 1282
DFS
Marcelino Benitez via AccessMonster.com wrote:
I have a application for army pt program. I have an age field, pushup
rep, situps rep and 2-mile run-time. After enter the reps I wanna
calculate how many points they will have for each event. i have
three dif tables. One - Pushups, two- Situps and three - 2mile run
on each table I have age, rep and score. ie If i have a soldier that
score 45 pushups, 50 situps and 1500 min run and 19 years he'll have
75 poinst for Pushups, 76 points for situps and 80 points for the
2mile run. but first need to be calculate by age. Thanks if you
need more info let me know.

Try a db structure more like this:

Exercise
------------
ExerciseID
ExerciseDesc

Soldier
-----------
SoldierID
Name
Age

ExerciseRepsPoints
-------------------
ExerciseID
AgeStart
AgeEnd
Reps
Points
SoldierExercise
------------------
SoldierID
ExerciseID
Date
Reps

Nov 13 '05 #2
It might also be wise to put in a soldier's date of birth rather than age,
and calculate the age on the fly. Otherwise you'll have to update it every
time they have a birthday!

"DFS" <nospam@dfs_.com> wrote in message news:_r***************@fe06.lga...
Marcelino Benitez via AccessMonster.com wrote:
I have a application for army pt program. I have an age field, pushup
rep, situps rep and 2-mile run-time. After enter the reps I wanna
calculate how many points they will have for each event. i have
three dif tables. One - Pushups, two- Situps and three - 2mile run
on each table I have age, rep and score. ie If i have a soldier that
score 45 pushups, 50 situps and 1500 min run and 19 years he'll have
75 poinst for Pushups, 76 points for situps and 80 points for the
2mile run. but first need to be calculate by age. Thanks if you
need more info let me know.

Try a db structure more like this:

Exercise
------------
ExerciseID
ExerciseDesc

Soldier
-----------
SoldierID
Name
Age

ExerciseRepsPoints
-------------------
ExerciseID
AgeStart
AgeEnd
Reps
Points
SoldierExercise
------------------
SoldierID
ExerciseID
Date
Reps

Nov 13 '05 #3
DFS
Bruce Rusk wrote:
It might also be wise to put in a soldier's date of birth rather than
age, and calculate the age on the fly. Otherwise you'll have to
update it every time they have a birthday!
Yes. Good catch.


"DFS" <nospam@dfs_.com> wrote in message
news:_r***************@fe06.lga...
Marcelino Benitez via AccessMonster.com wrote:
I have a application for army pt program. I have an age field,
pushup rep, situps rep and 2-mile run-time. After enter the reps I
wanna calculate how many points they will have for each event. i
have three dif tables. One - Pushups, two- Situps and three -
2mile run on each table I have age, rep and score. ie If i have a
soldier that score 45 pushups, 50 situps and 1500 min run and 19
years he'll have 75 poinst for Pushups, 76 points for situps and 80
points for the 2mile run. but first need to be calculate by age.
Thanks if you need more info let me know.

Try a db structure more like this:

Exercise
------------
ExerciseID
ExerciseDesc

Soldier
-----------
SoldierID
Name
Age

ExerciseRepsPoints
-------------------
ExerciseID
AgeStart
AgeEnd
Reps
Points
SoldierExercise
------------------
SoldierID
ExerciseID
Date
Reps

Nov 13 '05 #4

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

Similar topics

44
by: Mariusz Jedrzejewski | last post by:
Hi, I'll be very grateful if somebody can explain me why my Opera 7.23 (runing under linux) doesn't show me inner tables. Using below code I can see only "inner table 1". There is no problem with...
3
by: Random Person | last post by:
Does anyone know how to use VBA to relink tables between two MS Access databases? We have two databases, one with VBA code and the other with data tables. The tables are referenced by linked...
11
by: dskillingstad | last post by:
I've been struggling with this problem for some time and have tried multiple solutions with no luck. Let me start with, I'm a novice at Access and I'm not looking for someones help to design my...
2
by: Jill Elaine | last post by:
I am building an Access 2002 frontend with linked tables to an encrypted Paradox 7 database. When I first create these linked tables, I'm asked for the password to the encrypted Paradox database,...
1
by: Shelby | last post by:
Problem: My company generates its own data export from a propietary database. These (free) tables can be read in C#.NET using a Visual FoxPro driver (vfpoledb). I can read each of the six tables...
59
by: phil-news-nospam | last post by:
In followups by Brian O'Connor (ironcorona) to other posts, he repeats the idea that using tables in CSS is not something that should be done because IE doesn't support it. Of course I'm not happy...
5
by: rdemyan via AccessMonster.com | last post by:
I have a need to add another field to all of my tables (over 150). Not data, but an actual field. Can I code this somehow. So the code presumabley would loop through all the tables, open each...
4
by: db2admin | last post by:
Hello, I want to plan rearranging tables in our database according to business areas. say all tables in business area A will be in seperate tablespace or tablespaces. I am planning to monitor...
25
by: bubbles | last post by:
Using Access 2003 front-end, with SQL Server 2005 backend. I need to make the front-end application automatically refresh the linked SQL Server tables. New tables will be added dynamically in...
11
by: shriil | last post by:
Hi I have this database that calculates and stores the incentive amount earned by employees of a particular department. Each record is entered by entering the Date, Shift (morn, eve, or night)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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:
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...

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.