Microsoft SDK for Java

getActiveCommand

This method of the Recordset class finds the associated Command object when you are given only the resulting Recordset object.

Syntax

public Command getActiveCommand();

Return Value

Returns a Variant containing a Command object. Default is a Null object reference.

Remarks

The getActiveCommand method returns a read-only value.

If a Command object was not used to create the current Recordset, a Null object reference is returned.

Use getActiveCommand to find the associated Command object when you are given only the resulting Recordset object.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.