I'm trying to use the SQL Database Browse functionality to populate a combobox with a list of databases when the user clicks the combobox drop down arrow. Consider the attached example.
Everything works if the sql browse execution (and respective dialog refresh) is tied to the "Search" button. However, if I tie them to the combobox control, the databases don't seem to get loaded into the combobox correctly. Only a single database is loaded into the combobox, even though the listbox above it is populated with all the databases in the SQL server (I have the listbox tied to the same sql browse execution as the combobox). So, it's clear that the databases exist and can be found, but I don't understand why they aren't being loaded into the combobox correctly. Is this a bug? I experienced the same (or similar) issue when trying to use the method here. Possibly related to this post.