Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to do this?
Message
De
18/08/2008 02:33:55
 
 
À
18/08/2008 02:24:08
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows XP
Database:
MS SQL Server
Divers
Thread ID:
01339448
Message ID:
01339450
Vues:
17
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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform