Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
TreeView Populate from Cursor?
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00264044
Message ID:
00264098
Views:
26
>Hi Steve.
>
>> ThisForm.oleMSTreeView.Nodes.add;
>> (TView.cRelative,4,TView.cIndexKey,TView.cDescText)
>
>I'm guessing you need to ALLTRIM() the values from the cursor, since the spaces are likely messing things up. ie.
>
>
ThisForm.oleMSTreeView.Nodes.add;
>  (alltrim(TView.cRelative, 4, alltrim(TView.cIndexKey), alltrim(TView.cDescText))
Doug


Alltrim() did it!

Thanks!

:)
Previous
Reply
Map
View

Click here to load this message in the networking platform