StayInSync Property (ADO)

Microsoft ActiveX Data Objects (ADO)

ADO 2.5 API Reference

StayInSync Property

Indicates, in a hierarchical Recordset object, whether the reference to the underlying child records (that is, the chapter) changes when the parent row position changes.

Settings and Return Values

Sets or returns a Boolean value. The default value is True. If True, the chapter will be updated if the parent Recordset object changes row position; if False, the chapter will continue to refer to data in the previous chapter even though the parent Recordset object has changed row position.

Remarks

This property applies to hierarchical recordsets, such as those supported by the Microsoft Data Shaping Service for OLE DB, and must be set on the parent Recordset before the child Recordset is retrieved. This property simplifies navigating hierarchical recordsets.

See Also

Visual Basic Example

Microsoft Data Shaping Service for OLE DB

Applies To: Recordset Object

© 1998-2003 Microsoft Corporation. All rights reserved.