can't update combo box Row Source

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am trying to change the table that a combo box is populated based on a user
selection. Basically, I am just changing the variable 'strKits' and
executing the following code:

obj.cboKit_PN.RowSource = "SELECT [" & strKits _
& "].KITGROUP1 + [" & strKits _
& "].KITITEM FROM [" & strKits & "];"
obj.cboKit_PN.Requery

Unfortunately, this doesn't do anything: the combo box remains unchanged.
What should I be doing?
 
I just found the problem. The Row Source was updating OK; it's just the
current selection that needs automatic updating.
 
Back
Top