Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Help On text Merge Command
Message
De
20/07/2013 03:43:08
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Help On text Merge Command
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows XP
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01578948
Message ID:
01578948
Vues:
77
I am using the following code to generate a text file from the records of BILLS.DBF. BILLS.DBF has a filed PS.

I am getting the file correctly but the problem is that before each line starts I am getting one extra Blank space at the extreme Left (i.e from where the text of each line starts).

How to Ignore That, I do not any blank space before the line start. Here is my code.

I tried using ALLTRIM, LTRIM but it didn't worked.

I also tried using remove '/' but in that case the file does not works for me.
Set Textmerge On
Set Textmerge To '&Newpath' Noshow
Select Bills
Go Top
Scan
\\ << TRIM(PS) >> && I tried alltrim, LTRIM but didn't worked
\ && I tried to remove this also
Endscan
Set Textmerge To
Set Textmerge Off
Kindly Help





Harsh
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform