Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Treeview
Message
 
À
25/07/2005 09:20:59
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Titre:
Versions des environnements
Visual FoxPro:
VFP 6
OS:
Windows 2000
Network:
Windows NT
Database:
Visual FoxPro
Divers
Thread ID:
01035667
Message ID:
01035669
Vues:
24
This message has been marked as the solution to the initial question of the thread.
>Treeview - trying to display contents from a dbf
Nothing easier :o)
But can you post the structure of the DBF and how you want the treeview looks like?
Most simple way:
thisform.oleTree.Nodes.Add(,1,"RootDBFNode","YourDBF Name",,)
SELECT YourDbf
SCAN
   oNode = thisform.oleTree.nodes.add("RootDBFNode",4,SYS(2015), ALLTRIM(Name),,) && Supposing NAME is field from your DBF
ENDSCAN
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform