Thread: Forms or Tables
View Single Post
  #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.


Ads