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) >>
\
Endscan
Set Textmerge To
Set Textmerge Off
Kindly Help
Harsh