J
Jason
Hi,
I have this code which populates values in comboboxes. The problem is
that i want it to do it only in comboboxes within the pages of a
tabcontrol. Is this possible?
Here's the codesnippet:
For Each ctl In Me.Controls
With ctl
If .ControlType = acComboBox Then
Me.Controls(.Name).RowSourceType = "Value List"
Me.Controls(.Name).RowSource = <result of some function>
End If
End With
Next
I have this code which populates values in comboboxes. The problem is
that i want it to do it only in comboboxes within the pages of a
tabcontrol. Is this possible?
Here's the codesnippet:
For Each ctl In Me.Controls
With ctl
If .ControlType = acComboBox Then
Me.Controls(.Name).RowSourceType = "Value List"
Me.Controls(.Name).RowSource = <result of some function>
End If
End With
Next