• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 894
  • Last Modified:

Is there a beter solution for insert data into MSComctlLib.TreeCtrl.2

Dear members,

I use the function Set nNode = oTV.Nodes.Add(CStr(rst("XRELATIVE")), tvwChild, CStr(rst("XKEY")), rst("XTEXT")) for adding nodes to my treeview.

But I have a lage number of rows and prepaire the keys in a stored procedure (create a table with the records I need)

Is there a better solution for adding my nodes faster than this?
0
beidebenen
Asked:
beidebenen
1 Solution
 
Scott McDaniel (Microsoft Access MVP - EE MVE )Infotrakker SoftwareCommented:
AFAIK, there is NO other method to add Nodes. The treeview you're using is a pretty simple control, and has no extended features. There are treeviews out there to which you could pass a Recordset or array but this isn't one of them.
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now