I am using the SQL server connection dialog. The next button will be enable only if the SQL connection and user has sysadmin rights passes, afterwards if there is any text changed in the username and password fields the next button will be disabled. This is working as expected except under the following scenario:
When the “test sql connection” button is click it will enable the next button if the test connection passes and if the user has sysadmin rights. This works as expected, set by the 2nd and 3rd conditions, see next button image.
The first condition on the next button will disable it if either the password or username fields have a text changed. Again this works without any issues.
The problem is once the next button is disable by any text change in the username and or password and you retype the same username and password the next button will not be enable by the “test sql connection” button event.
The original username and password will worked if you type a different username and password and then trigger the “test connection button event”, afterwards repeat with the original username and password.
From looking on the log file it seems that the XRESULT_COLUMN_PROP and XsqlConnectionOK are not being set by the “test sql connection” events unless the username and password fields have actually changed from the last time the “test sql connection” button is press. Is this a bug? Any suggestions?
Thank you,
Diego
FOLLOW US
Get the latest news in Application Packaging