| re: Combo Box Problem
Ah, the dreaded "combo box in a continuous form" problem... I see the
trouble. Here's my recommendation: First, join to your meds table in
the source for your continuous form so you can display a field with the
full name of the medication. No combo box required. This field will not
be editable, however. What I often do in this case is to put a very
narrow combo box just to the right of this field, one that I adjust the
rowsource of depending upon the row the user is on and that is bound to
the underlying field. BUT, you've got a problem in that you want them
to type in and have the source limited... argh.
At this point I see a couple options: a little "edit" (or "find" or
something) button next to the drug name that pops up a small form for
selecting the drug, where you can use the type-ahead thing we talked
about. Or, you could change things around so that editing of these
records doesn't happen in the continuous form, but in a little
one-record form you place below your continous form. A bunch of work
and not nearly as elegant, though.
I hope these ideas help you come up with something... like a letter to
MS for a sexier combo box control that will handle these very common
cases...
-tom |