Hello All,
I'm currently developing a football team website and I'm created a player profile bit of the website linking to my Access Database.
Currently I have the following :
selectCommand="SELECT [playername], [favouriteposition], [picture] FROM [player] WHERE [playername] ='Smith J'
This means I can display John Smiths Name, Fav Position and his Picture from my player table.
I also want to count his stats (goals, starts, subs) but am not sure how to do this.
I have a table called playermatchevents which records matchID, playerID, shirtnumber, goals, starts, subs, mom
goals is a straightforward Number datatype field, whereas starts,subs and mom are a Yes/No datatype field.
Basically I want to keep my select query, but I also want to add to it that it COUNTS the number of starts, subs, goals and mom that that player has.
Pardon me if I haven't used the correct wording, I'm still quite new to all of this.
I would be very grateful for any help.
Thanks,
covcitydv
I'm currently developing a football team website and I'm created a player profile bit of the website linking to my Access Database.
Currently I have the following :
selectCommand="SELECT [playername], [favouriteposition], [picture] FROM [player] WHERE [playername] ='Smith J'
This means I can display John Smiths Name, Fav Position and his Picture from my player table.
I also want to count his stats (goals, starts, subs) but am not sure how to do this.
I have a table called playermatchevents which records matchID, playerID, shirtnumber, goals, starts, subs, mom
goals is a straightforward Number datatype field, whereas starts,subs and mom are a Yes/No datatype field.
Basically I want to keep my select query, but I also want to add to it that it COUNTS the number of starts, subs, goals and mom that that player has.
Pardon me if I haven't used the correct wording, I'm still quite new to all of this.
I would be very grateful for any help.
Thanks,
covcitydv