I do not want to limit user the list box. I was under the impression that a
combo box should allow the user to input new information or choose from the
list. Is this not so?
It's so only in certain cases. You can allow the user to type data freely,
putting in a value which is not in the combo box, ONLY if the combo box is
storing the actual text value. If you have a lookup table with a numeric ID
(concealed) and a visible text field, you must leave Limit to List set to Yes
(because the user has no direct way to create a new number value).
If you do use Limit to List = No and a single field combo box, bear in mind
that the value that the user types will not automatically be added to the list
for future selection. What you may want to do is to leave Limit to List = Yes
and use the combo's "Not In List" event, with VBA code to add the user's new
entry to the lookup table. This is a bit more work up front for you but may be
the best approach.
On your previous message, when you said to set property " RowSource - a
query based on the lookup table, sorting the text alphabetically" what did
you mean by "a query based on the lookup table"? Do I have to create a query
of some sort?
Yes. If the combo box is based directly on the table, it will present the
entries in *numerical* order based on the numeric primary key. This is not
likely to be all that useful for the user! You don't need a separate stored
query; instead you can have the RowSource of each combo set to a SQL string
like
SELECT LookupID, LookupText FROM LookupTable ORDER BY LookupText;
to present the data in alphabetical order.
John W. Vinson [MVP]