To create a database query before you configure a Database Query Placeholder:
- Click Control Panel.
-
Select the Queries tab:
-
Click New Query:
-
The New Database Query dialog box is displayed:
-
Enter the appropriate information in the fields provided. The fields are detailed in the following table.
Option
Description
Name
Assign a name for the query.
Note:This field is limited to 40 characters when using a database that supports ANSI characters. When using a database that supports Unicode characters, this field is limited to 20 characters.
Text Box
Type the SQL Query that will pull information from the database you are connecting to.
Click Insert Placeholder to select an existing placeholder to add to the SQL Query.
Datasource
Type the data source name.
Note:This field is limited to 100 characters when using a database that supports ANSI characters. When using a database that supports Unicode characters, this field is limited to 50 characters.
Username
Type the user name that will be used to access the datasource.
Note:This field is limited to 75 characters when using a database that supports ANSI characters. When using a database that supports Unicode characters, this field is limited to 37 characters.
Password
Type the password, if applicable, that corresponds to the user name you specified.
Note:This field is limited to 200 characters when using a database that supports ANSI characters. When using a database that supports Unicode characters, this field is limited to 100 characters.
- Click OK.
-
The query you created is displayed:
-
To edit a query, select the query and click Edit Query:
Enter the appropriate information into the fields provided. To update the password that corresponds to the user name you specified, click Reset Password and enter the new password into the Password field.
Note:This field is limited to 200 characters when using a database that supports ANSI characters. When using a database that supports Unicode characters, this field is limited to 100 characters.
-
To delete a query, select the query and click Delete Query:
-
To show configured queries as a list, right-click and select Show as List. To show configured queries as a tree view, right-click and select Show as Tree.
-