Question

  Asked: Jan 15 2008   3:05 PM GMT
  Asked by: IT-Guy1509


Access 2007 refrence look up


Access, Microsoft Access, Microsoft Office, Microsoft Office 2007

Ok this question might sound kind of elementary but i just seem to be missing something.

I have a drop down box, within that combo box i want to display choices which consist of 3 cap letters then a "-" Then what the letters stand for.

when i choose a selection from the combo box i want it to display only the 3 cap letters on the form and in the table.

so could someone please give me a walk through in a manner of speaking to do so. I seem to going about it all wrong.

Thx Hope someone can help.

Subscribe to Alerts! Get questions and answers delivered to your Inbox.


E-mail me updates on this question



   SUBSCRIBE

hidden modal window

Answer Wiki (Improve, edit or add to this answer)


 RATE THIS ANSWER
+2
Click to Vote:
  •   2
  •  0



Make two columns in your combo box. The first is the three letters and the second is what they stand for.
The properties of the combo box should be:
ColumnCount=2,
BoundColumn=1,
ColumnWidths=.5";1.5" (these withds may need to be adjusted to show all info in the drop down)

If the row source type is "Value List", you must enter your data in the row source separated by commas. And it is based on the column count property. Example "ABC","ABC is this","DEF","DEF is that","GHI","GHI is the next thing". So since the column count is 2, "ABC" will be the first column of the first row and "ABC is this" will be the second column of the first row. "DEF" will be the first column of the second row, etc.

If the row source type is "Table/Query", you need to select two columns from the table query. The first is the letters and the second is the description.

Good Luck
  • AddThis Social Bookmark Button

Browse more Questions and Answers on Database and Microsoft Windows.

Looking for relevant Database Whitepapers? Visit the SearchOracle.com Research Library.


Discuss This Answer


You must be logged-in to discuss a question. Log-in/Register