次の方法で共有


Chapter Columns

The consumer obtains chapter handles by calling IRowset::GetData with an appropriate accessor. For example, the rowset Customer has a chapter-valued column order_rows containing chapter handles referring to rows in the Orders rowset. The order_rows column in Customer has DBCOLUMNFLAGS_ISCHAPTER set in its column information. Chapter handles are DWORD values of type DBTYPE_HCHAPTER. The chapter values obtained from Customer are used to navigate rows in the Orders rowset, and the chapter values from Customer work as long as the Orders rowset remains active.