A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Multiple selections from list box



 
 
Thread Tools Display Modes
  #1  
Old April 3rd, 2008, 07:12 PM posted to microsoft.public.access.forms
dan
external usenet poster
 
Posts: 1,408
Default Multiple selections from list box

I have a form with combo box to select one person. Now, it looks like I need
a list box to select 2-4 persons and make them part of the record. Can anyone
give me some direction on this?
  #2  
Old April 3rd, 2008, 08:11 PM posted to microsoft.public.access.forms
John W. Vinson
external usenet poster
 
Posts: 18,261
Default Multiple selections from list box

On Thu, 3 Apr 2008 11:12:00 -0700, Dan wrote:

I have a form with combo box to select one person. Now, it looks like I need
a list box to select 2-4 persons and make them part of the record. Can anyone
give me some direction on this?


You cannot and should not put multiple persons into one field, or into one
record.

If you have a one to many relationship, model it as a one to many
relationship, with a SECOND TABLE containing links to the primary keys of your
current table and the table of people. You can use a Subform to add people to
this table using a combo box.
--

John W. Vinson [MVP]
  #3  
Old April 3rd, 2008, 08:30 PM posted to microsoft.public.access.forms
dan
external usenet poster
 
Posts: 1,408
Default Multiple selections from list box

Thank you. Will do.

"John W. Vinson" wrote:

On Thu, 3 Apr 2008 11:12:00 -0700, Dan wrote:

I have a form with combo box to select one person. Now, it looks like I need
a list box to select 2-4 persons and make them part of the record. Can anyone
give me some direction on this?


You cannot and should not put multiple persons into one field, or into one
record.

If you have a one to many relationship, model it as a one to many
relationship, with a SECOND TABLE containing links to the primary keys of your
current table and the table of people. You can use a Subform to add people to
this table using a combo box.
--

John W. Vinson [MVP]

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 06:04 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.