![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I am trying to get an event to work so that when a user hits a toggle button, there are 5 toggle buttons in a frame a unique value list is populated in a combo.box. However I end up with the text value not the tblvalues in the combo box. What do I need to do. Private Sub TogProgramming_GotFocus() cbxSubCategory.RowSource = "tblprogramming" End Sub |
#3
| |||
| |||
|
|
flebber wrote: I am trying to get an event to work so that when a user hits a toggle button, there are 5 toggle buttons in a frame a unique value list is populated in a combo.box. However I end up with the text value not the tblvalues in the combo box. What do I need to do. Private Sub TogProgramming_GotFocus() * *cbxSubCategory.RowSource = "tblprogramming" End Sub It sounds like the combo box's properties do not reflect what the row source table/query is returning. *Check the BoundColumn, ColumnCount and ColumnWidths properties against tblprogramming's field list. Maybe all you need to do is use a query to select just the two fields the combo box needs? -- Marsh |
#4
| |||
| |||
|
|
On Jan 9, 3:22*pm, Marshall Barton wrote: flebber wrote: I am trying to get an event to work so that when a user hits a toggle button, there are 5 toggle buttons in a frame a unique value list is populated in a combo.box. However I end up with the text value not the tblvalues in the combo box. What do I need to do. Private Sub TogProgramming_GotFocus() * *cbxSubCategory.RowSource = "tblprogramming" End Sub It sounds like the combo box's properties do not reflect what the row source table/query is returning. *Check the BoundColumn, ColumnCount and ColumnWidths properties against tblprogramming's field list. Maybe all you need to do is use a query to select just the two fields the combo box needs? What is the "boundcolumn". Where do I find its properties? |
![]() |
| Thread Tools | |
| Display Modes | |
| |