tags:

views:

260

answers:

4

How can I get hierachy recordset in ms access through select statement?

+1  A: 

DAO doesn't support Hierarchical recordsets. You may be able to use ADO in access, but I'm not certain.

theo
You can use ADO in access by adding a reference to the ADO library through the visual basic for applications editor.
ranomore
A: 

What kind of hierarchy? Parent-child or nested sets?

ranomore
+1  A: 

ADO 2.0 support MSDataShape - an OLEDB provider.

Check out data shaping at http://microsoft.apress.com/asptodayarchive/72268/data-shaping-with-ado-part-1

Ash Kim
A: 

This article on Managing Hierarchical Data in MySQL should also be suitable for Access.

You may also wish to read this article, it offers a different approach.

Remou