Hi experts
Here I am with yet another problem.
I want to add data in a tree viewer controller dynamically from my database.
I am using ms-access as my back-end
Please help me ASAP.
Thank you in advance
ankush.mukherje
0
Junior Poster
Recommended Answers
Jump to PostHi,
Open Recordset, Loop thru and Add Nodes:
Add Root Node:
Trvw.Nodes.Add , , "N1","First Node"To Add Child to above Node:
TrVw.Nodes.Add "N1", tvwChild, "NC1", "ChildNode"Change Node text / Key to the values returnde from database..
Regards
Veena
Jump to PostThis might be helpful to you.
Jump to PostAnkush,
I suggest you ALWAYS use properties for controls...
VB not require it when you're coding, BUT assumes "default properties" in this case...Take a look:
'WITHOUT PROPERTY SPECIFICATION Text1 = "Um texto qualquer" 'WITH PROPERTY SPECIFICATION Text2.Text = "Um texto qualquer"
VB6 will "understand" …
All 9 Replies
QVeen72
104
Posting Shark
ankush.mukherje
0
Junior Poster
ankush.mukherje
0
Junior Poster
debasisdas
580
Posting Genius
Featured Poster
ankush.mukherje
0
Junior Poster
sidnei
12
Junior Poster in Training
ankush.mukherje
0
Junior Poster
ankush.mukherje
0
Junior Poster
ankush.mukherje
0
Junior Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.