Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
TreeView
Message
 
 
À
19/10/2001 14:33:43
Douglas Salla
Folhamatic Sistemas
Americana, Brésil
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Titre:
Divers
Thread ID:
00571058
Message ID:
00571076
Vues:
100
>Good afternoon the whole ones.
>I set up a TreeView starting from a table, only that if that table has TreeView more than 1000 registrations he/she gives the following mistake:OLE IDispatch exception code 0 from Nodes: Invalid Key..., then I ask: does TreeView have limits of registrations?, is that limit of 1000 registrations?, if he/she has limits is there some form of outlining that?
>
>Will it be that anybody could help me?
>
>Thank you very much for the help of everybody.

Douglas,
I haven't found a limit yet and I have tested with over 5500 nodes so far (4500 first level nodes and then child nodes).

It sounds like you are violating the uniqueness of the Index. This is the 3rd parameter in the Nodes.Add method. If you specify a key value that already exists, it throws an error about an invalid key.

HTH.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform