Rogue Wave banner
Previous fileTop of DocumentContentsIndex pageNext file
Objective Grid User's Guide
Rogue Wave web site:  Home Page  |  Main Documentation Page

21.5 ADOEngines

21.5.1 CGXADOEngine

The CGXADOEngine implements CGXDBEngine and binds it to an ADORecordset.

Pass an ADORecordset via the constructor while creating the engine.

There are also member-function variants for this constructor that you can use to re-initialize the engine at a later time.


If any of these re-initializing calls change the schema of the result set, then you will need to re-initialize the grid to reflect this new schema with a call to InitFromEngine().

21.5.2 CGXHierADOEngine

The CGXHierADOEngine derives from CGXADOEngine and creates a child during a call to GetChildAt(). It checks if there are any adChapter type fields available. If it finds any, it creates a child off the recordset to which it points. It also keeps the child recordset synchronized with the child engines. It is fairly complex, because all the children share the same underlying child recordset.

Use this engine when binding it to a hierarchical DBEGrid.

Please refer to the sample located at <stingray-installdir>\Samples\Grid\ Database\AdoHier.



Previous fileTop of DocumentContentsNo linkNext file

Copyright © Rogue Wave Software, Inc. All Rights Reserved.

The Rogue Wave name and logo, and Stingray, are registered trademarks of Rogue Wave Software. All other trademarks are the property of their respective owners.
Provide feedback to Rogue Wave about its documentation.