OpenRecordset(query)

Returns a recordset (the Recordset object) containing records of the query connected with the features of the featureset. The featureset must contain features of the same type (see the property Featureset::FeatureType). The root table of the query must be linked with a feature type (link descriptor based on the root table must belong to the FeatureType::DataLinks collection) or if the query is a cataloged query from an external database it must be directly linked with a feature type (link descriptor based on the cataloged query from external database must belong to the FeatureType::DataLinks collection). The return recordset is in the active state (see the Recordset::IsActive property).