Can anyone tell me how to properly pass the login information to the TSQLConnection component from a custom created dialog box?
I know that to pass login information to TSQLConnection, the LoginPrompt must be set to “true”, and the login information is passed through the “OnLogin” event handler, but the problem is that the OnLogin handler is not reading the information.
If I set LoginPrompt to “true” and leave the OnLogin handler blank, I get the default login prompt and will not have any problem. Any and all authorized users can login; however, when I set the LoginPrompt to “true” and add the information passed from a custom login prompt, I get the custom login dialog box, but it ignores the information completely. The application still launches, but it logs in with the params values entered in design mode.
I've been battling this problem for a couple weeks, any assistance would be greatly appreciated.
I know that to pass login information to TSQLConnection, the LoginPrompt must be set to “true”, and the login information is passed through the “OnLogin” event handler, but the problem is that the OnLogin handler is not reading the information.
If I set LoginPrompt to “true” and leave the OnLogin handler blank, I get the default login prompt and will not have any problem. Any and all authorized users can login; however, when I set the LoginPrompt to “true” and add the information passed from a custom login prompt, I get the custom login dialog box, but it ignores the information completely. The application still launches, but it logs in with the params values entered in design mode.
I've been battling this problem for a couple weeks, any assistance would be greatly appreciated.