Thanks OldPro,
I think I'm beginning to understand.
My query returns several records, each record has the boolean field which is
either 'Yes' or 'No' ( as well as several other fields as well).
Right now, the combo boxe options for each record are hard coded on the
form for just two options (this is obviously wrong). The third option never
shows up.
I think I need a rowSource to populate the box instead, as you suggested.
Right now, all information comes from a simple query: 'Select * from tableX'.
How would I go about creating this separate rowSource that you spoke of to
fill the combo box based on the True or False value stored in the tableX
query. Should this be another query, should I create another table or should
I make my original query more complicated?
I am very new at this,what is the easiest solution. Thanks so much for your
patience.
OldPro wrote:
>On Oct 10, 8:22 am, "dufnobles via AccessMonster.com" <u37896@uwe>
wrote:
>I have a form that displays a dropdown box. The options in the drop down
vary according to a value queried from a database boolean (Yes/No) field. I
[quoted text clipped - 17 lines]
>--
Message posted via AccessMonster.comhttp://www.accessmonster.com/Uwe/Forums.aspx/databases-ms-access/2007...
So, is there just one record in the query? Or is the boolean value
the same in all records? Or does the user select one of the records
before clicking on the combo box? Combo boxes can take a SQL string
as a rowsource. Are the options part of a table, or are they
hardwired? Combo boxes can take a literal string or a recordset as
the rowsource; just change the RowSourceType to the one you want.
--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/For...ccess/200710/1