League Standings

Aug 9, 2007

Hi everyone, im new to this forum as well as MS Access. Over the past week or so Ive been reading through a lot of tutorials and watched a few videos on how to master Access. I've learned a handful of things, however its not enough, so i need some help.

Im trying to create a simple database for our local community football/soccer league. It's nothing fancy, just simple information to keep things tidy and organised.

The main features include Keeping a track of all results and outputting an up-to-date league standings, so it can be printed and available for everyone to see.

Few details: in soccer, there are 3 possibile outcomes of a match (win,draw,lose). Each win earns a team 3 points, draw 1, lose 0. Of course, the standings table will be sorted by the amount of total points each team has uptodate (descending order). Oh, and the goals scored - goals conceded should also be summed up for each team and displayed.

In theory, it sounded easy to me, but when i actually started doing it, i got stuck right at the beginning... :confused: So, here's what i got so far:
tblResults table that collects the following information: Date, TeamAName, TeamBName, TeamAGoals, TeamBGoals (the last two collect how many goals team a and b scored)

...well, thats pretty much it... lol :o

I've been experimenting with queries for a while but feel without some help i wont get it sorted...
Would appreciate if anyone could point me in the right direction... :)

View Replies


ADVERTISEMENT

Append Query Out Of My League...

Sep 26, 2005

Hi there.

I am trying to create an append query that will update employee time cards for holiday hours without having to enter each time card individually.

* I have an employee table which has the employee id, first name, last name and so on.

* I have a timecard table which holds the employee id, date and time card ID.

* I have a time card hours table which holds the time card detail ID, time card id, work order id, job code id, reg hours, ot hours, holiday hours, etc

* I have a time card expense table which holds the time card expense id, time card id, work order id, inventory item id, cost, total, etc

I need to create a form with a multiselect list containing a list of the employees and a box for the date and for holiday hours. I need to be able to select the employees, enter the date, enter the holiday hours and append it to the time card table AND the time card hours table.

For example I need to append and create new records from the form: the employee id (from the multi-select combo list) and date (txtDate) would pass to the time card table and the holiday hours (txtHours) needs to pass to the time card hours table.

I cannot for the life of me figure this out...it doesn't seem like it should be too hard.

Can anyone help?

View 3 Replies View Related

Squash League Ladder

Jan 10, 2005

Hi does anyone know of a system out there in MS Access that can do what this program does in word. i have been using this word version but i wanted to keep a history of records...

I use this for Badminton and not squash, so if anyone wants a game i am happy to play

anyway have a look and let me know how hard this would be to achieve.

cheers

Andy

View 4 Replies View Related

Mildly Stumped League Tables,

Jun 3, 2005

I've been asked to collate some information based on a kid league, I am trying to sort out how precisely it works

the data I have is this

finish position, name, club

I need to calculate the best kiddie based on 3 of a possible 6 races

So tbls

tblResults
fldSeries
NAME
CLUB
Pos(isition)

tblScores
fldID
pos
Points

query1
SELECT tblResults.fldSeries, tblResults.NAME, tblResults.CLUB, Sum(fldScore.Points) AS SumOfPoints
FROM tblResults LEFT JOIN fldScore ON tblResults.Pos = fldScore.Pos
GROUP BY tblResults.fldSeries, tblResults.NAME, tblResults.CLUB, tblResults.Pos
HAVING (((tblResults.fldSeries)="220-2005") AND ((tblResults.Pos)<51))
ORDER BY Sum(fldScore.Points) DESC;

I need this to be changed to only pick up athletes with only the best three scores?

any hints?

STuart

View 3 Replies View Related

General :: Possible To Have A Query To Calculate League Table

Sep 5, 2013

I have created a database that records the scores of each player etc and puts them in league table like structure.

Within this database which I would like to extend I would like to know if its possible to have a query to calculate a league table for the teams if home team overal score is greater than away team home team get 2 points for win 1 for draw no points of loss and same if away team won.I also want to be able to change it to a web database and add club address details like contact list to it.

View 1 Replies View Related

Queries :: TOP N Subquery (Scores) For Each Member In Race League

Jan 5, 2014

I have a race league, I want to select the top 10 point scores for each member.

I have read the Allen Browne article (and many others) and tried many variations on his code but cannot get this working.

I face two issues
- The ORDER by clause has no effect, points are not sorted with largest first
- Access being unable to differentiate between scores with the same value and returning additional records. I have added an "Event" field to make the record unique, but this does not seem to work.

Query code is

SELECT qLeague.Member, qLeague.Event, qLeague.Points
FROM qLeague
WHERE qLeague.Points IN
(SELECT TOP 10 Points
FROM qLeague AS Dupe
WHERE Dupe.Points= qLeague.Points
ORDER BY Dupe.Member, Dupe.Points DESC
)
ORDER BY qLeague.Member ASC, qLeague.Points;

This returns more than 10 results per member:

Member Event Points
Alex Peters SDMC North Weald Sprint 3
Alex Peters HCAAC Debden May 3
Alex Peters GB/Harrow TAMS NW Sprint 4
Alex Peters HCAAC Debden Sprint 5
Alex Peters Llys y Fran Hillclimb 6

etc ....

View 10 Replies View Related

Tables :: Setting Up A Soccer League Database To Track Attendance

Dec 7, 2012

I run a soccer league where we track players attendance for each game. I currently do it on a spreadsheet where each game date is a column and each player is a row. We also track which team they play on at each game (they can play on different teams different weeks). I currently have a second tab in the spreadsheet to record which team a person plays on each week.

Setting up a table of fields for this is relatively easy. The problem comes to data entry. I want to be able to visually see the data like I can in a spreadsheet (names in rows, dates in columns, intersections containing either team name or whether attended) and whilst a cross-tab query gives me the layout, I cannot input data in a cross-tab query.

View 1 Replies View Related

Football League Table From Fixtures Table

Feb 10, 2008

Hi i am wandering if anyone can help me complete this problem:

i have a table full of fixtures/results in the following form:

tblFixtures
fixtureID*
compID
fixDate
fixTime
HomeTeamID
AwayTeamID
HomeScore
AwayScore
PitchID
RefereeID

is it possible to create a league table on those results.

1. There is more than one competition in the table so it would have to be by compID
2. There is fixtures without results so they would have to be excluded as well.

Any help?

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved