Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Stripping TABs
Message
De
06/10/2008 17:45:18
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Stripping TABs
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Divers
Thread ID:
01353152
Message ID:
01353152
Vues:
61
This is in a loop. I'm trying to indent with TABs according to the number of LoopLevel. What happens though is as it loops through, more tabs are added to the beginning than I want. In fact, I would like to strip out any tabs in the beginning when the looping is completed. It could be none, or it could be 20. Is there a way to do that? I only include this code because the actual loop contains a lot more code than is needed here.
SELE X12Message
SCAN
	Do bunches of stuff
	oResponse.EligReport = ;
		REPLICATE(CHR(9),X12Message.LoopLevel) + ;
		oResponse.EligReport + ALLTRIM(oDetails.Desc) + ': ' + ALLTRIM(oDetails.FieldVal) + CHR(13)
ENDSCAN
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform