Greetings.
I’m trying to figure out what the data modelling best practice is, regarding a situation where a table can be connected to several others using an “optional” foreign key.
To better illustrate the example, let say we have a TASKS table.
Each task is assigned to a user from the USERS table.
Each task can be related to either a Client, a Supplier, a Partner or a Prospect. That means at least 4 tables. CLIENTS, SUPPLIERS, PARTNERS, PROSPECTS
In this scenario, should I spit the tasks into different tables depending on their category? Use a union query to create reports and forms from a User (the person that the task is assigned to) point of view?
Or keep all the tasks in one table to be easier to manipulate the data? What about referential integrity between tables in this case? Perhaps creating a junction table?
Pros and cons of each approach?
Some guidance would be highly appreciated. I’m quite new to access and so far I’m loving it. Feels like playing with Legos to do grown up stuff!
I’m trying to figure out what the data modelling best practice is, regarding a situation where a table can be connected to several others using an “optional” foreign key.
To better illustrate the example, let say we have a TASKS table.
Each task is assigned to a user from the USERS table.
Each task can be related to either a Client, a Supplier, a Partner or a Prospect. That means at least 4 tables. CLIENTS, SUPPLIERS, PARTNERS, PROSPECTS
In this scenario, should I spit the tasks into different tables depending on their category? Use a union query to create reports and forms from a User (the person that the task is assigned to) point of view?
Or keep all the tasks in one table to be easier to manipulate the data? What about referential integrity between tables in this case? Perhaps creating a junction table?
Pros and cons of each approach?
Some guidance would be highly appreciated. I’m quite new to access and so far I’m loving it. Feels like playing with Legos to do grown up stuff!

Attachments
Last edited: