Using Access 2010 I have an unbound combo on my form, it looks like this...
RowSource: SELECT EventID, DocRef FROM Events
BoundColumn: 1
ColumnCount: 2
ColumnWidths: 0cm;2cm
setting the combo value in vba (MyCombo="23") only works if the bound column is visible. When i set columnWidth="0cm;2cm" the assignment no longer works.
Sub Form_Open()
evt = Me.OpenArgs
If evt > "" Then
MyCombo = evt
' MyCombo.Value = evt
Call MyCombo_AfterUpdate
End If
End Sub
How can i select the combo row without showing the eventIDs ?