Compile Method

English Query

English Query

Compile Method

Performs all object validation checks on each object in the project and returns a collection of any errors, warnings, and hints that are found.

Applies To

EQModel Object

Syntax

EQModel.Compile([SQLConnection], [OLAPConnection])

Parts

EQModel

Object variable into which model information is loaded.

SQLConnection

An object variable that represents the Microsoft® ActiveX® Data Objects (ADO) connection object to use for executing SQL queries against the target database. Optional.

Note  Although this argument is optional, if you want to load values from the database, you must include it.

OLAPConnection

An object variable that represents the ADO connection object to use for executing Microsoft SQL Server™ 2000 Analysis Services (OLAP) queries against the target database. Optional.

Note  Although this argument is optional, if you want to load values from the database, you must include it.

Remarks

The compiled project is loaded into the English Query engine, along with vocabulary from the database.

The errors encountered while compiling the English Query project are placed in EQModel.Errors.

See Also

Compile-Time Error Messages (Authoring Object Model)

Build Method

EQError Object