I have an application that is currently using Microsoft SQL Server Lite, however I'm building a Microsoft Access database to replace the SQL Server Lite so that I can use Pivot Table Queries. For the time being, I'm working in Microsoft Access until I get the database setup the way I want it.
I have three tables tables, Players, Coaches, Ratings. Each coach must rate each player, therefore I have the following relationships:
Coaches --> Ratings
Players --> Ratings
Each coach may only rate each player once, and I want a crosstab view that will show the players as rows and the coaches as columns so that the ratings can be entered in the cells of the table.
Creating the crosstab query was easy enough to do, however it won't allow me to enter data in the cells. I'm pretty sure that this is happening because of the One-to-Many relationship. Each coach must rate multiple players, and each player must be rated by multiple coaches, so they must be one-to-many relationships in both cases. That said, each coach will only rate each player once.
Is there a way to create a compound primary key, something I need to do differently in the relationships or maybe a preliminary query that would solve this?
Thank you.