N
NielsE
I am building a new DB for humanitarian projects. I will create a main
tablerojects that will have a unique key for each project. it will contain
fields like title, region, budget, etc.
The projects can deal with more than one subject each, eg. child labour,
migrants, etc. These subjects will be in a separate table, also with a unique
key. Same for target groups, each project can have several targets groups and
they will be in a separate table with unique key as well.
My first question is how do I link the tables? Do I need to have a link
table between the project table and each of the tables containing the
variables?
Second question, I want the user to be able to enter all relevant data for
each project through a form. It is easy with the values in the main project
table. But can I enter, for example, two, three or four different subjects
for each project from a multi-select list? How and where to do I direct the
values? Or is there a another way to enter these multi values?
Thanks in advance. Niels
tablerojects that will have a unique key for each project. it will contain
fields like title, region, budget, etc.
The projects can deal with more than one subject each, eg. child labour,
migrants, etc. These subjects will be in a separate table, also with a unique
key. Same for target groups, each project can have several targets groups and
they will be in a separate table with unique key as well.
My first question is how do I link the tables? Do I need to have a link
table between the project table and each of the tables containing the
variables?
Second question, I want the user to be able to enter all relevant data for
each project through a form. It is easy with the values in the main project
table. But can I enter, for example, two, three or four different subjects
for each project from a multi-select list? How and where to do I direct the
values? Or is there a another way to enter these multi values?
Thanks in advance. Niels