I have one table that I want a user to be able to select multiple options from a list to "add" to the table.
Therefore I created a third table that will have two colums: 1 for the unique ID from table 1 and one for the unique ID from table 2. No primary key will be chosen as multiple table2's can be attached to multiple table1's and vise versa.
In the form I want the user to be able to see a list of all the items from table 2 and be able to select multiple rows and click "add" to add the unique id's from the list (The user see's text but I need the id to be inserted instead) into table 3 thus creating a link between table 1 and 2.
So far I have gotten was being able to show the user a subform with a list of items from table 2 to add using the list box. However I can only highlight one record at a time and want to have the user be able to select multiple items and hit a button to add them.
Attached is my DB I am trying to use. The "SARF TABLE" table needs to be able to have multiple "SIAF" items to it through the "SIAF_SARF" table.
If you look at the form SIAF you will see the idea I am getting at. The original idea is to have this as a sub-form of the "assets" form where the user looking at a "SARF TABLE" item will be able to add multiple "SIAF" items by just slecting the name.
The SIAF table is not ideal I know but please help me
I was given this project from someone who doesn't understand databases (I do but just not ACCESS) so I need help^^
Therefore I created a third table that will have two colums: 1 for the unique ID from table 1 and one for the unique ID from table 2. No primary key will be chosen as multiple table2's can be attached to multiple table1's and vise versa.
In the form I want the user to be able to see a list of all the items from table 2 and be able to select multiple rows and click "add" to add the unique id's from the list (The user see's text but I need the id to be inserted instead) into table 3 thus creating a link between table 1 and 2.
So far I have gotten was being able to show the user a subform with a list of items from table 2 to add using the list box. However I can only highlight one record at a time and want to have the user be able to select multiple items and hit a button to add them.
Attached is my DB I am trying to use. The "SARF TABLE" table needs to be able to have multiple "SIAF" items to it through the "SIAF_SARF" table.
If you look at the form SIAF you will see the idea I am getting at. The original idea is to have this as a sub-form of the "assets" form where the user looking at a "SARF TABLE" item will be able to add multiple "SIAF" items by just slecting the name.
The SIAF table is not ideal I know but please help me
Attachments
Last edited: