Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Treeview blues ;(
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00096055
Message ID:
00096175
Views:
14
>Hello Ray,
>
>>I believe you get that error when you add a node and the key you use is already in the treeview ( not unique ).
>It happens only on particular comps, so, I think that it isn't the cause of
>problem. Anyway, thatnks for the thoughts.

I just spent a couple of hours trying to understand TreeView, and found that I'll get the number when the index can be interpreted as a number. I had to force a non-numeric "_" character into every key (yes, I finally have it all working). If your keys are random, or based upon machine name, this could be the cause.

I'm appending from a cursor into TreeView, and I found it helpful to browse the cursor for suspicious values when I got such messages during testing.

FWIW
Kogo Michael Hogan

"Pinky, are you pondering what I'm pondering?"
I think so Brain, but "Snowball for Windows"?

Ideate Web Site
Previous
Reply
Map
View

Click here to load this message in the networking platform