Freigeben über


CDaoQueryDef::IsOpen

Call this member function to determine whether the CDaoQueryDef object is currently open.

BOOL IsOpen( ) const;

Return Value

Nonzero if the CDaoQueryDef object is currently open; otherwise 0.

Remarks

A querydef must be in an open state before you use it to call Execute or to create a CDaoRecordset object. To put a querydef into an open state call either Create (for a new querydef) or Open (for an existing querydef).

Requirements

Header: afxdao.h

See Also

Reference

CDaoQueryDef Class

Hierarchy Chart