I'm using SQL Database Browse functionality to populate a combo box when it is pressed. Similar to what's in this post
It is working as expected when authentication information is correct.
Problem is when user typed in incorrect credentials, pressed the combo box, met with the error dialog, typed in the correct credentials then pressed the combo box but nothing happened. I guess it is due to Windows Installer not automatically refresh combo box control without switching to a different dialog as stated here.
How can I make it to repopulate databases into the combo box after user has corrected the credentials information?
Another question: When executing ShowDatabases with incorrect credentials, user is met with error "ODBC Connect: timeout exceeded." instead of something like "Login failed for user ..". Is there a way to have it display the correct error similar to when using the "Test Connection" button ?
I'm using AI 16.7 Architect.