For the second or third time since I started this project, I am trying to get a combo box to work properly. I have two tables JMPMAIN and JMPSTATUS. JMPMAIN has a field called STATUSCD (WS, PP, EM, etc) JMPSTATUS has a field called STCODE (WS, PP, EM, etc) and one called STDESC ('Will Serve', 'Postponed', 'Excused Medical', etc).
What I would like to happen isn't really that difficult. I want the combo box on my form to display the Descriptions for the user to select from, but update the database with the Status code.
I have tried creating both DBLookupListBox and DBLookupComboBox with a lookup field defined in the qryJurorSearch to get the StatusDescription, but when the query becomes active I get an error message stating 'Capability not supported'. So I changed it from a lookup field in the query to using the ListSource & DataSource properties of the lookup boxes, which I can kinda get to work. The problems with the "working" example:
1. it does not display the selected text in the combo box (all I get is a blank combo box)
2. it only displays 2 rows of choices, even though the DropDownRows is set to 7
3. I tried to change the height (thinking that would allow more choices to show) from 24 to anything, but it's stuck on 24
If anyone has any suggestions on how to get this working properly, I would gladly try them! Thanks!
Leslie
landrews@metrocourt.state.nm.us
There are 10 types of people in the world -
those who understand binary
and
those who don't!
What I would like to happen isn't really that difficult. I want the combo box on my form to display the Descriptions for the user to select from, but update the database with the Status code.
I have tried creating both DBLookupListBox and DBLookupComboBox with a lookup field defined in the qryJurorSearch to get the StatusDescription, but when the query becomes active I get an error message stating 'Capability not supported'. So I changed it from a lookup field in the query to using the ListSource & DataSource properties of the lookup boxes, which I can kinda get to work. The problems with the "working" example:
1. it does not display the selected text in the combo box (all I get is a blank combo box)
2. it only displays 2 rows of choices, even though the DropDownRows is set to 7
3. I tried to change the height (thinking that would allow more choices to show) from 24 to anything, but it's stuck on 24
If anyone has any suggestions on how to get this working properly, I would gladly try them! Thanks!
Leslie
landrews@metrocourt.state.nm.us
There are 10 types of people in the world -
those who understand binary
and
those who don't!