Build Method

English Query

English Query

Build Method

Builds an English Query compiled (*.eqd) model from the current project.

Applies To

EQModel Object

Syntax

EQModel.Build(Filename, [SQLConnection], [OLAPConnection])

Parts

EQModel

Object variable into which model information is loaded.

Filename

String containing the full path and file name of the English Query model to which the model is written.

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

Errors generated by the Build method are the same as the errors generated by the Compile method.

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

See Also

Compile-Time Error Messages (Authoring Object Model)

Compile Method

Data Connection Tab (Project Properties Dialog Box)

EQError Object