UseAliasTable (Property)

Applies To:

QueryOptions object

Description:

Display aliases when performing database retrievals rather than database member names. Aliases are alternate names for database members. Using an alias table, you can retrieve data that uses the database name, which is often a stock number or product code, or an alias. Aliases can be more descriptive than database member names. An exception is thrown if this property is modified when the query is disconnected.

Action:

Read-write, Boolean

Example:

This example shows how to enable the UseAliasTable (Property) when a check box is checked.

if (ActiveDocument.Sections["QueryOptions - AliasTables"].Shapes["CheckBox1"].Checked)
{
	ActiveDocument.Sections["Query"].QueryOptions.UseAliasTable = true
}
else
{ActiveDocument.Sections["Query"].QueryOptions.UseAliasTable = false}