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  

Forms or Tables



 
 
Thread Tools Display Modes
  #1  
Old June 4th, 2010, 06:21 PM posted to microsoft.public.access.forms
Rach
external usenet poster
 
Posts: 17
Default Forms or Tables

I'm currently working on a new form, in my table I have combo boxes but some
of my questions need to allow users to select more than one answer - how
should I go about setting this up?
  #2  
Old June 4th, 2010, 07:14 PM posted to microsoft.public.access.forms
Jeff Boyce
external usenet poster
 
Posts: 8,621
Default Forms or Tables

Rach

If you have "comboboxes in your table", you probably used the lookup
datatype. This can cause you headaches later on because Access stores one
thing (the primary key of the looked-up value), but displays something else
(the looked-up value). Confused yet?!

One way to reduce the confusion, both for you and for anyone who needs to
maintain the db after you (or you, after a few months), would be to only
store the primary key in the table, then use a combobox in a form for
selecting the lookup value.

Second question/point ... selecting more than one answer ...

A common way to handle having more than one answer/criterion/field/etc.
selected can be found in the wizards in Access. They use "paired
listboxes". Generically, the left listbox holds all possible choices
(except those already chosen), while the right listbox holds those already
chosen.

Is this what you were after?

Regards

Jeff Boyce
Microsoft Access MVP

--
Disclaimer: This author may have received products and services mentioned
in this post. Mention and/or description of a product or service herein
does not constitute endorsement thereof.

Any code or pseudocode included in this post is offered "as is", with no
guarantee as to suitability.

You can thank the FTC of the USA for making this disclaimer
possible/necessary.


 




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 05:02 PM.


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