Skip to Content
0
Former Member
Jul 03, 2007 at 11:56 AM

WRITE statement question

13 Views

Is it possible (using the WRITE statement) to write on the 1st line, then the 2nd line, then the 3rd line and then go back to the 1st line again?

I have got a report which I need to look like the following (¦ being the symbol for the column splits):

1100 ¦ 1200

_____¦______

5 ¦ 6

10 ¦ 54

I would like to write the 1100 columns first and then the 1200 column, but I am unsure if I can go back to the 1st line once I have written on more lines.

i.e.

WRITE (line1)(1) '1100'

WRITE (line2)(1) '----'

WRITE (line3)(1) '5'

WRITE (line4)(1) '10'

WRITE (line1)(6) '1200'

WRITE (line2)(6) '----'

WRITE (line3)(6) '5'

WRITE (line4)(6) '10'

Kind Regards

Carly