Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Drag and drop between two Treeviews

Status
Not open for further replies.

Flippertje

Technical User
Mar 12, 2004
118
0
0
NL
Hello all,

after many hours of reading about treeviews in TekTips i finally give up and post a question.

I have a form with two treeviews (Treeview0 and Treeview2). Both trees are populated by (difficult) queries. I have build a table in which i have two fields Id_Group and Id_Child. In this table i assign Child Id's to Group Id's.

I'm at a total loss why i can't get it all to work.

My trees are like this:

Treeview0:

TasksPlanner:
|- Produce productioninfo
|- Joppie-Produce info machine A (10-04-2006)
|- Jaqueline - Produce info machine G (15-04-2006)

Treeview2:

TasksAll
|- Joppie
|- Produce info machine A (10-04-2006)
|- Produce info machine D (12-04-2006)
|- Produce info machine Q (18-04-2006)
|- Jaqueline
|- Produce info machine C (09-02-2006)
|- Produce info machine G (15-04-2006)

The queries that populate these Treeviews are build on the same table that has these fields:

Id_A
ForeName
InfoDescription

The Id_A is the ID used in The assign table with the Id_Group and Id_Child.

I hope anyone can help me and would take the time to read this.

Many many thanks!!!!!!

Flippertje
 
OK ... but what are trying to do?

Your post says Drag and drop between two Treeviews so what do you want to drag and drop and what do you expect to happen when you do?

Given that these two views are just different arrangements of the same table, it would seem that adding records (for example) is not the intent.

[small]No! No! You're not thinking ... you're only being logical.
- Neils Bohr[/small]
 
Oops that what one gets reading all day...

I'm trying to populate the table with Id_Group and Id_Child thus assigning a persons task to a product that has to be made. A product can exist of more tasks than one.

This assigntable is used in the query to populate Treeview0.

I hope i'm complete this time ?

Thanks!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top