I have an unbound combo box on a form.
I assign a query programatically to the combo box row source
The pull down of the combobox shows the query has behaved correctly but the combobox is blank.
The combo box query has 5 columns
The bound column is column 4
All columns in the query are populated with a value (no nulls or empty strings)
The value assigned to the unbound combo box is taken from the underlying recordset.
eg me.cmbMyUnbound = me.recordset!MyUnbound
If I trace the above step then hovering the cursor shows each side of the statement to be different before execution and the same after execution (the value of me.recordset!Myunbound is copied to me.cmbMyunbound)
So why is the combo box showing blank?
I understand about the bound column and displayed column not needing to be the same.
I'm completely confused.
Can anyone point me to the utterly obvious mistake I'm making?
I assign a query programatically to the combo box row source
The pull down of the combobox shows the query has behaved correctly but the combobox is blank.
The combo box query has 5 columns
The bound column is column 4
All columns in the query are populated with a value (no nulls or empty strings)
The value assigned to the unbound combo box is taken from the underlying recordset.
eg me.cmbMyUnbound = me.recordset!MyUnbound
If I trace the above step then hovering the cursor shows each side of the statement to be different before execution and the same after execution (the value of me.recordset!Myunbound is copied to me.cmbMyunbound)
So why is the combo box showing blank?
I understand about the bound column and displayed column not needing to be the same.
I'm completely confused.
Can anyone point me to the utterly obvious mistake I'm making?