如何在vb6中的树视图中排列数据 [英] How to Arrange Data in a Treeview in vb6
问题描述
大家好,我有点新编码,所以希望你们能帮助我。
我试图弄清楚如何使用treeview。我有一个包含许多字段的数据库,即记录ID,输入日期,名字,姓氏等。
我可以填充树视图但我不会创建一个树视图,显示全部在这些领域我,我可以做到这一点。我想要的是将它自定义为这样。
父母:输入的日期
然后我将那些记录的日期归结为同一天进入一个小组,在一个节点上显示我的记录ID,名字和姓氏。(我真的不确定你是不是我)
有点像这样
DATE输入
-------记录ID:1,然后是该人的姓名
-------记录ID:2, msgstr
----记录ID:2,James Cameron
19-Aug-2014
----记录ID:3,John Cater >
希望你们能提供帮助。
提前致谢
马里奥
Hi you all im kinda new to coding so was hoping you guys can help me.
Im trying to figure out how to use treeview. I have a database with lots of fields, namely Record ID, Date entered, First Name, Last name, etc.
I can populate a treeview me but i don't wana create a treeview thats shows all of these fields me, i can do that me. What i want is to customize it to be like this.
Parent: Date entered
And then i wana group those records that date the same day into a group showing me its Record ID, First Name and Last Name on a single node.(Im not really sure you guys me)
Kinda like this
DATE ENTERED
-------Record ID:1,Then the name of the person
-------Record ID:2,"" "" "" ""
EXAMPLE
18-Aug-2014
----Record ID:1,Charles Newton
----Record ID:2,James Cameron
19-Aug-2014
----Record ID:3,John Cater
Hope you guys can help.
Thanks in advance
Mario
推荐答案
请检查这个链接
vb6中的Treeview [ ^ ]
希望它会有所帮助..
Please check this link
Treeview in vb6[^]
Hope it will help..
这篇关于如何在vb6中的树视图中排列数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!