ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Treeview Control populating (https://www.excelbanter.com/excel-programming/297171-treeview-control-populating.html)

Joe O.

Treeview Control populating
 
I am trying to populate a treeview control in excel using a
SQL Server record set and not getting it to work.

Any help or direction would be appreciated.

Juan Pablo González

Treeview Control populating
 
Can you post the code that is not working, and explain why is it not working
?

--
Regards

Juan Pablo González

"Joe O." wrote in message
...
I am trying to populate a treeview control in excel using a
SQL Server record set and not getting it to work.

Any help or direction would be appreciated.




onedaywhen

Treeview Control populating
 
I assume we're talking about a hierarchical recordset created using
the MSDataShape provider? There's an example for a treeview control on
MSDN:

http://msdn.microsoft.com/library/de...ml/ivb00a1.asp

However, I recommend you consider another control, such as MSHFlexGrid
(hierarchical flexgrid control), at which you can point your
hierarchical recordset as a datasource i.e. don't need to create the
nodes yourself.

--

"Joe O." wrote in message ...
I am trying to populate a treeview control in excel using a
SQL Server record set and not getting it to work.

Any help or direction would be appreciated.



All times are GMT +1. The time now is 07:21 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com