Topic: Treeview and dbsql - dbsqlexecute
Is it possible to use the functions dbsql and dbsqlexecute with treeview ?
i'd like to assign a different parent_id during runtime ... is that possible?
Thanks
My Visual Database → General → Treeview and dbsql - dbsqlexecute
Is it possible to use the functions dbsql and dbsqlexecute with treeview ?
i'd like to assign a different parent_id during runtime ... is that possible?
Thanks
Please describe your question in more details.
Sorry for my late reply but i was a little busy
My question was a little misleading sorry for that.
I was wondering if i could change the parent_id in the treeviewcomponent during runtime so i can assign a different Sorting order by using two different Parent_id's.
let's say Parent_id1 is the sortorder where every Person is a basicnode, and Parent_id2 is the sortorder where every Person is shown in the order to which departement (departement is the basicnode) they belong.
Standard view Parent_id1
Person1
Person2
Person3
.....
Switched view by changing the Parent_id to Parent_id2
Departement1
- Person1
- Person2
Departement2
- Person3
Hope this is more clear
Thank you
Check it out
Form1.TreeView1.dbFieldParentID := 'Parent_id1';
Form1.TreeView1.dbUpdate;
My Visual Database → General → Treeview and dbsql - dbsqlexecute
Powered by PunBB, supported by Informer Technologies, Inc.
Theme Hydrogen by Kushi