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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top