Hey,
I have a database that I use for time budgeting in a school. I have a table with the activities, the teacher, number of hours in each week ond much more. The teacher field is related to a teachers table. Sometimes i have to put two ore more teachers on one activity. A simple example of the table could look like this:
ID Activity Teacher Hours W1 Hours W2 Hours W3 1 Math John 6 6 2 2 Economy Adam 4 4 6 3 Project John,Adam 12
At the moment I use a multi valued fielt for the teacher, and that works for now. But it is a problem for me, that the only way I can populate the teacher field is by using the mouse in a combo box. I would like to be able to just enter "John,Adam" in the field, og maybe insert values from the clipboard for fast editing.
So question 1 is:
Is there a way of populating a multivalued field without having to use a combobox in the form?
I've read many places, that multivalued fields is a bad solution, that can cause problems on the long term. So I've tried to use a many to many relationship instead. The database design works fine, bud the problem again is the list form. All the videos I've watched about the subject shows how to build a form with a subform. And that works fine, but again - I want to be able to simply enter the data in a field separated with a comma.
Question 2:
Is it possible to populate a fiels with comma saparated values i a form, and that way select values in a many to many relationship?
Erik