[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
Re: columns
Aaron -
Can you send a snippet of your column syntax?
We use columns here with no problem. Here is a sample of how we are
using. . .hope it helps
------------------
Columns 1 31 !Start my columns at
position 1, 45, and 90 - making col 45 = col 1 in middle. . .
Begin-Procedure print-some-junk
Begin-Select
col1 &col1 ( , 1 ) Edit 999
col2 &col2 ( , 7 ) Edit 999,999,999.99
col3 &col3 ( , 24, 4)
position (+1 )
next-column at-end=newline ! will print data across
columns
from table
where conditions. . .
End-Select
End-Procedure
The results would look like:
1 2 3 4 5 6
123456789012345678901234567890123456789012345678901234567890
111 123,456,789.00 text 112 987,654,321.00 text
113 444,444,444.44 rept 114 666,666,666.66 xxxx
and so on. . .
To print columns down the page, substitute a call like this for
next-column line. . .
next-column goto-top=6 at-end=newpage ! 6 is an arbitrary
number.
The results would look like:
1 2 3 4 5 6
123456789012345678901234567890123456789012345678901234567890
111 123,456,789.00 text 114 666,666,666.66 xxxx
112 987,654,321.00 text
113 444,444,444.44 rept
<bottom of page>
and so on. . .
next-column goto-top=6 At-end=newpage !will print data down page to
end, then go to top of page and start on line 6 in next column.
-----Original Message-----
From: Aaron Solomon [SMTP:aaron.solomon@GS.COM]
Sent: Wednesday, November 19, 1997 9:03 AM
To: Multiple recipients of list SQR-USERS
Subject: columns
Can anyone help me out with printing in different columns?
I have tried messing around with them, but it never seems to
work right.
I am trying to print landscape on a page with 176 columns.
For kicks I created 3 columns, all of size 20 - just to see it
print right.
Well, when I do all my printing, everything goes into the 2nd
column,
regardless of whether I use the use-column or nex-column
command.
SQR seems to be ignoring it. What am I doing wrong?
Any suggestions,
Aaron