tedkilroy said:
Developing a form with combo boxes for a medical document. When i
click on the arrow it will list all options (left to right) and they
are all highlighted. No matter what choice I make the first option is
always placed in the box. Can't figure this out, this is my first DB.
Any suggestions?
A combo box is designed to place just one item in a field.
Usually this should be the key to the record you are showing.
The additional information is for "your" use, not the machines.
Here's two records. (names are real, I worked in a store one summer where
both these guys worked.)
ID Last First Middle phone
1111 Smith Donald Leroy 555-1234
2222 Smith Donald Leroy 555-6483
The combo would only show
Smith Donald Leroy 555-1234
Smith Donald Leroy 555-6483
You can only tell which one you want by the phone number in this case.
If this was for a prescription the only information you would add to the
Prescription table would be the ID of the patient you want.
Your form would be based on a query relating the prescription information to
the Patient table.
When you selected 1111 the query would automatically display the proper
name.