Adding up years of service

F

Freddo

I'm setting up a registration database for soccer but need to tally each
players years in service. So when they register next season it adds another
year to their service record but also shows what years they ? How do I do
this without making the form cumbersome. Should there be a table that is
linked to the main database that shows their service record and if so how
would I set it up.
 
V

Vincent Johns

Freddo said:
I'm setting up a registration database for soccer but need to tally each
players years in service. So when they register next season it adds another
year to their service record but also shows what years they ? How do I do
this without making the form cumbersome. Should there be a table that is
linked to the main database that shows their service record and if so how
would I set it up.

Yes, you could do it that way. I can think of a couple of ways; for
example, each record in the new table could consist of 2 fields:
player's identity (= many-to-one link to the main [Players] table), and
season identifier (could be the year number, such as 2004).

Or, each record could include the player's identity (1-to-1 link) and a
collection of checkboxes (yes/no values), one for each possible year.
But it would be a little trickier to add up total years with this design.

What you show on the form should be a subset, I think, assuming that
most of the records that you add this year will be for this year, not
prior ones. You could have a form that asks the user to select a set of
names (each of which will consequently be added to the new table with
this year's date).

-- Vincent Johns <[email protected]>
Please feel free to quote anything I say here.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top