Hello all:
I have a created a junction table that links my employee table with the
function table (function = 'legal', 'admin', 'finance', etc). [It is a
many-to-many as one person can have many functions and one function can have
many people.]
I would like to use a multi select list box to enter this data. I have read
other posts on the subject but can't determine if I need VBA or a sub-form or
some other mechanism to store this data in the table I have created.
Any thoughts, suggestions would be greatly appreciated!
|
|
0
|
|
|
|
Reply
|
Utf
|
11/26/2007 8:34:18 PM |
|
The usual way to handle many-to-many is with a form and subform.
You can have the parent form bound to your employee table, and have the
subform bound to your junction table. On the subform, you can have a combo
box that has the function table as its row source, and bound to the function
id field in the junction table. This would mean that you could select from a
list of functions, and the appropriate id would be stored in the junction
table.
--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)
"Huber57" <Huber57@discussions.microsoft.com> wrote in message
news:47324B5F-D9C6-4680-96A7-82CFC527A6A2@microsoft.com...
> Hello all:
>
> I have a created a junction table that links my employee table with the
> function table (function = 'legal', 'admin', 'finance', etc). [It is a
> many-to-many as one person can have many functions and one function can
> have
> many people.]
>
> I would like to use a multi select list box to enter this data. I have
> read
> other posts on the subject but can't determine if I need VBA or a sub-form
> or
> some other mechanism to store this data in the table I have created.
>
> Any thoughts, suggestions would be greatly appreciated!
>
>
|
|
0
|
|
|
|
Reply
|
Douglas
|
11/26/2007 8:54:44 PM
|
|
Doug,
Thanks much. That worked perfectly.
"Douglas J. Steele" wrote:
> The usual way to handle many-to-many is with a form and subform.
>
> You can have the parent form bound to your employee table, and have the
> subform bound to your junction table. On the subform, you can have a combo
> box that has the function table as its row source, and bound to the function
> id field in the junction table. This would mean that you could select from a
> list of functions, and the appropriate id would be stored in the junction
> table.
>
> --
> Doug Steele, Microsoft Access MVP
> http://I.Am/DougSteele
> (no e-mails, please!)
>
>
> "Huber57" <Huber57@discussions.microsoft.com> wrote in message
> news:47324B5F-D9C6-4680-96A7-82CFC527A6A2@microsoft.com...
> > Hello all:
> >
> > I have a created a junction table that links my employee table with the
> > function table (function = 'legal', 'admin', 'finance', etc). [It is a
> > many-to-many as one person can have many functions and one function can
> > have
> > many people.]
> >
> > I would like to use a multi select list box to enter this data. I have
> > read
> > other posts on the subject but can't determine if I need VBA or a sub-form
> > or
> > some other mechanism to store this data in the table I have created.
> >
> > Any thoughts, suggestions would be greatly appreciated!
> >
> >
>
>
>
|
|
0
|
|
|
|
Reply
|
Utf
|
11/26/2007 9:15:01 PM
|
|
|
2 Replies
320 Views
(page loaded in 0.072 seconds)
Similiar Articles: Update table with Multi-select list box - microsoft.public.access ...Updating Many-to-Many via Multi-Select ListBox Updating Many-to-Many via Multi-Select ListBox Description. This ... event is used to retrieve the ListBox values and update ... NEED A SINGLE RECORD RETURNED FROM ONE TO MANY QUERY - microsoft ...Each investigator may have many projects, that is ... of INVESTIGATORS because they obviously work multiple PROJECTS. Here is the SQL from my query thus far: SELECT tbl ... Listbox w/many columns, need update all columns to table ...Update table with Multi-select list box - microsoft.public.access ... Listbox w/many columns, need update all columns to table ... Create Multi-Select List box ... Inserting data into a Many to Many relationship - microsoft.public ...I have a many to many relationship design that I need ... below: SET NOCOUNT ON if exists (select * from ... one one new owner, or are you trying to insert multiple ... how to scroll to a position in a multiselect list box ...I am working on creating a fairly friendly mechanism to allow the user to pop up a multi select box and choose multiple line items to group them together. How populate multi-column Listbox control? - microsoft.public ...Multi-select multi column list box - microsoft.public.access ... How populate multi-column Listbox control? - microsoft.public ... Multi-select multi column list box ... Multi Value Combo Boxes - microsoft.public.access.forms ...This shows the values with a checkbox and allows the user to select multiple items (i.e. select CA, OR, WA as states in which a business resides). Multiselect combobox - microsoft.public.accessThen you can select as many values as you want. If your plan is to write all this ... select multiple items from dropdown - microsoft.public.access ..... is that i select ... multiple cascading combo boxes* not the usual. - microsoft.public ...Is this the best option or is there a way to use a category combo box and a multi-select for the products below? Thanks in advance for any help you can provide ... select multiple items from dropdown - microsoft.public.access ...what i want to do is modify the form so that a user can select multiple items from the dropdown, but i havent been able fo find a way to do so. Multi-select Checkboxes and ListboxesA very simple technique for using checkboxes to create a multi-select list. Updating Many-to-Many Relations via Multi-Select ListBoxThe above example was created with CodeCharge Studio and is available in the following programming languages: ASP/VBScript, ASP.NET (C# and VB), PHP, Java Servlets ... Select multiple form fields - finding a better solution for ...Despite their important function, select multiple form fields are problematic. This article looks at the inherent problems with select multiple form fields, and talks ... Transform Multi-Select / Delimited fields into CRM Many-To-Many ...Microsoft Dynamics Community ... Customer Effective is a leading innovator in relationship management solutions (XRM) based on Microsoft Dynamics CRM. ADF Code CornerADF Code Corner 64. How-to implement a Select Many Shuttle with pre- selected values selected department as pre Abstract: The ADF binding layer currently only ... 7/16/2012 6:56:03 PM
|