Treeview vs databinding

M

Marc R.

Hi all,

I need help (again). (sorry for my english, it is not my first language)

I was successfull by my own to create the treeview nodes from data into a
table

by using a dataview and rowfilters, and a recursive function call, now my
treeview is all correctly loaded, (position wise and nodes wise)

Each nodes into mytreeview represent a "service" object wich have more
information as fields.

those fields I would like to bound them with some other control (the fields
are also from the same table), like Combobox and textbox.

How the can I accomplish the Binding betwen my service object (the nodes)
and a textbox ?

Marc R.
 
M

Marc R.

I guess I got it working, I found an interesting way to make it work with
much less operation :

I did create a Dataview for operations only.

Into Treeview.afterselect :
DVserviceOpertaion.rowfilter = "ser_id = " & Ctype(e.node, Service).id
'this way I got only 1 row as a return into DVServiceOperation
'then I bind all textboxes and other control from form to that dataview
instead
afterwards, It is working with a normal dataview bound to normal control.

I hopes It helps someone.

Marc R.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top