Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Treeview - trying to display contents of dbf
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Titre:
Treeview - trying to display contents of dbf
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Divers
Thread ID:
01020950
Message ID:
01020950
Vues:
77
New to TREEVIEW
Node_1 = THISFORM.AddNode(.NULL.)
Node_1.Text = "All Accounts"
Node_1.Expanded = .T.

The first node above shows


Code 1 Code2 Code3 Name Relationhsip

A1 John James Parent
A1 1 Sarah Johnson Child of A1
A1 1 1 Jeff Johnson Child of A1 -1
A1 1 2 Joe Johson Child of A1 -1
A1 2 Richard James Child of A1
A2 Robert Smith Parent
A2 1 Richard Smith Child of A2
A2 1 1 Carol Smith Child of A2 - 1
A2 1 2 Jess Smith Child of A2 - 1
A2 2 Phil Smith Child of A2



If I had a dbf set up with the above fields and records.

How would I set up the tree view?

OleTree.Nodes.Add(, tvwFirst, code1+code2+code3, Name, cImage1, cImage2)

The records keep comming up with exception error after 1st node called all accounts
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform