suoirotciv
Programmer
I would really appreciate if some can help on my problem. And please bear with my explanation.
I have an array that holds 2 data (actually 3, but Level is for tracking only), one is the Manager and the other is the Agent. But that agent can also be under the Manager have agents under it. Its like a networking system. So I don't know how deep my treeview will look like.
Example:
MANAGER > AGENT
Username1 > Username2
Username2 > Username3
Username3 > Username4
. . . etc
I need to show this record in my treeview as follows
Username1
> Username2
> Username3
> Username4
Username2
> Username3
> Username4
Username3
> Username4
========================================
I kept my Job because of TEK-TIPS
Thanks a lot to all who keeps on helping others.
I have an array that holds 2 data (actually 3, but Level is for tracking only), one is the Manager and the other is the Agent. But that agent can also be under the Manager have agents under it. Its like a networking system. So I don't know how deep my treeview will look like.
Example:
MANAGER > AGENT
Username1 > Username2
Username2 > Username3
Username3 > Username4
. . . etc
I need to show this record in my treeview as follows
Username1
> Username2
> Username3
> Username4
Username2
> Username3
> Username4
Username3
> Username4
Code:
Option Explicit
Private Type Agent
AgentID As String
NetworkLevel As Long
IncentiveAmount As Currency
End Type
Private Type Level
Level As String
Agent() As Agent
End Type
Private Type Manager
ManagerName As String
Level() As Level
End Type
Dim Manager() As Manager
========================================
I kept my Job because of TEK-TIPS
Thanks a lot to all who keeps on helping others.