OpenQuery 

Syntax:             BOOL OpenQuery(LPCTSTR sConn, LPCTSTR sQry);

Return Value:    TRUE if the query has been opened successfully, otherwise FALSE.

Parameters:

                        sConn      Pointer to a string representing connection name.

sQry        Pointer to a string representing query name

Remarks:

Call this method to open specified query within the ELS-QB component.

Note:  To open query successfully the specified sConn and sQry must exist.

Example:

For Sample of OpenQuery () usage see the Example of GetSQLText()