Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Help On text Merge Command
Message
From
20/07/2013 03:43:08
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Help On text Merge Command
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows XP
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01578948
Message ID:
01578948
Views:
79
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
Next
Reply
Map
View

Click here to load this message in the networking platform