Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to do this?
Message
From
18/08/2008 02:33:55
 
 
To
18/08/2008 02:24:08
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows XP
Database:
MS SQL Server
Miscellaneous
Thread ID:
01339448
Message ID:
01339450
Views:
18
This message has been marked as a message which has helped to the initial question of the thread.
Something like this, not tested
lcReturn=''
#Define crlf chr(13)+chr(10)
For x=1 to Getwordcount(lcPath)
   lcReturn=lcReturn+crlf+replicate(' ',2*(x-1))+getwordnum(lcPath,x,'\')
Endfor
Return lcReturn
>Hi all.
>
>To view chart of accounts i m using the treeview. The treeview returns the fullpath of the selected node
>I want to change the string returned by Node.FullPath.
>Like:
>
>If fullpath is:
>"Asset\Current Assets\Bank & Cash\Bank\HSBC"
>
>Output required:
>
>"Asset
>    Current Assets
>       Bank & Cash
>          Bank
>             HSBC"
>
>
>If fullpath is:
>"Asset\Current Assets\Bank & Cash\Bank"
>
>Output required:
>
>"Asset
>    Current Assets
>       Bank & Cash
>          Bank"
>
>and so on...........
>
>
>Please help.
Previous
Reply
Map
View

Click here to load this message in the networking platform