Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to do this?
Message
From
18/08/2008 02:44:35
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
 
 
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:
01339454
Views:
18
This message has been marked as the solution to the initial question of the thread.
Zahid,

for example
lcIn = "Asset\Current Assets\Bank & Cash\Bank\HSBC"
lcOut = ''
FOR lnLine = 1 TO ALINES(laLines,lcIn,1,'\')
 lcOut = lcOut+SPACE(lnLine)+laLines(lnLine)+CHR(13)+CHR(10)
ENDFOR &&lnLine

?lcOut
HTH
Agnes
>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.
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform