SaveModule Method

English Query

English Query

SaveModule Method

Saves the contents of a module in the XMLDOMdocument object into the specified module file.

Applies To

EQModel Object

Syntax

EQModel.SaveModule(ModuleID, [SaveAsName])

Parts

EQModel

Object variable into which model information is loaded.

ModuleID

String variable containing the module ID.

SaveAsName

A string variable containing the path and file name of the module to which you want to save the module. Optional.

Note  If this argument is omitted, SaveModule uses the path and file name specified by the contents of the MODULE element that defines the module in the XMLDOMDocument object.

Remarks

ModuleID is stored as an attribute of the MODULE element in the XMLDOMDocument object.

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

See Also

Compile-Time Error Messages (Authoring Object Model)

EQError Object

OpenModule Method