Navigation: Templates > Templates by Topic > ADO > ADO Extensions >====== ADO Login Extension Template ====== | |
The ADO Login Extension template is used with the ADO Login procedure to establish the method and source of connecting to an ADO source.
The following template prompts are provided:
Login Procedure builds the connection string from:
There are essentially two sources of Connection String storage.
1.Select UserID, Password, and Server prompt at runtime if the user will be required to login each time the application is loaded (the ADO Login procedure is always the first procedure called by default).
Login details
Number of retries allowed
Enter a number here to set the number of user login attempts.
Display a message if retries exceeded
Check this box to pop up a message box if the user has exceeded the number of login attempts.
Message Box caption
Enter text that will be displayed in the message window's title bar.
Message Text
Enter the message text to display to the user when login attempts have been exceeded.
Return from procedure after Message call
Check this box to automatically return after closing the message window
Connection string data
After the User is validated, the connection string is generated from one of the following methods:
From Dictionary
Select a table name from the drop list provided. If the table is a valid ADO file type, the connection string will automatically be read and displayed in the text box the follows.
From UDL file
If the user login is successful, the ADO connection string will be read from an external UDL (Universal Data Link) file name that you specify here. Manually enter a valid UDL file, or use the ellipsis to select one from the popup file dialog.
Connection Builder
Select this option, and press the Connection Builder button to invoke the data link properties interface and build your ADO con