Progress q?

Joel J.J. Heber

New Member
When I use the OUTPUT TO VALUE (blah) APPEND.
PUT...
OUTPUT CLOSE.

I get some odd results.

Here goes, I use this syntax to output column headings, then later on the same syntax to output values from a temp-table

but the first field is always
 

Joel J.J. Heber

New Member
oops

looks like this


aaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaa

it offsets it by a little, I added CHR(10) for the fun of it at the heading, and it does not help. If I add CHR(10) at the beginning of the dump it works

aaaaaaaaaaaa

aaaaaaaaaaaa

aaaaaaaaaaaa

but I now have spaces.....
anyone have 2cents on this one.
 

Joel J.J. Heber

New Member
OUTPUT TO VALUE(ws-delinquent-dump) APPEND .
PUT UNFORMATTED Prod_ID FORMAT "x(15)" CHR(9)
DESC_1 FORMAT "x(50)" CHR(9)
Qty_left CHR(10).
OUTPUT CLOSE.

theres the code

THe problem is that the first line
is tabbed over
as so

<tab>1234324234 description 0
123123312 descriptin 0
123421343
123412344

and so on

why is the first one cocked to the right,

at 1, does not work, and skip didn't change a thing

JOEL
thanks for the help by the way
 
Hi Joel,

To show tabs and spaces correctly use the Hash(#) button to insert monospace text into message eg:
Code:
    First Line      Field 2        Field 3
Second Line         Field 2-B      Field 3-B

Perhaps, as you are opening the file for append the tab is left over from the last time you ran. Check the file in a editor and ensure the last line doesn't have a line with a few spaces or a tab and no return.

Hope this helps.

Simon
 
Top