0

i have 2 forms, one is Named With territory, where the territory description is given, and other form is Heirarchy, whre the tree will b shown,
when any one writes the description in territory, and presses update button, the Node should b created in heirachy...
can u help me plz...?

4
Contributors
10
Replies
11
Views
5 Years
Discussion Span
Last Post by debasisdas
0

Jaseem, we can not keep on showing you all the code. You have to start showing some effort from your side.

What code do you have so far?

0

Show the code that you are working on or just pay for the code you want ?

Coding is not a free service.

How much you can pay for the service ?

0

sorry i can't give u, becoz still i m student, not in a position to pay anyone..and also i dont have credit card...

0

Then you need to work on your own assignment. Students are supposed to do that. I also did that in those days.

Show some effort to get any soft of here form our exports.

0
Option Explicit
Private con As New ADODB.Connection
Public rs As New ADODB.Recordset
Private Sub Datacon()
If con.State = 1 Then con.Close
con.ConnectionString = "Provider=SQLOLEDB.1;Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=ISIS_157;Data Source=JASEEMAHMED"
con.Open
End Sub

Private Sub Form_Load()
Dim nodx As Node
Call Datacon
Set rs = New ADODB.Recordset
rs.Open "SELECT * From CC_ATTRIBUTE_TYPE_ID", con, adOpenStatic, adLockOptimistic
'Do While Not rs.EOF = True
TreeView1.Checkboxes = True
Set nodx = TreeView1.Nodes.Add(, , "Attributeid", rs.Fields(0))
Set nodx = TreeView1.Nodes.Add("Attributeid", tvwChild, "Child1", rs.Fields(1))
rs.MoveNext
rs.Update
rs.Close
con.Close
End Sub

this tree is showing the fields because i wrote there feilds(0) and (1)
how can i add records in this tree???

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.