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?
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?