[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
Keeping WRAP-ed columns on the same page
Hi there,
I've come across this problem before, but can't remember how I got
around it. I've got a tabular report with about 13 columns on it. One of
those columns needs to use the WRAP feature in order to display the complete
text. Here's the code:
!print out the detail records
print $prod_code (+1,{HEAD_COL1})
print $plane_code (,{HEAD_COL3})
print &planedesc (,{HEAD_COL4})
print $dim_code (,{HEAD_COL5})
print $size_code (,{HEAD_COL6}) underline
print $processed_flag (,{DTL_COL7}) underline
print $pkms_onhand (,{HEAD_COL8})
print $pkms_qual_aud (,{HEAD_COL9})
print $pkms_not_avail (,{HEAD_COL10})
print $omnia_onhand (,{HEAD_COL11})
print $omnia_qual_aud (,{HEAD_COL12})
print $omnia_not_avail (,{HEAD_COL13})
print $diff_onhand (,{HEAD_COL14})
print $diff_qual_aud (,{HEAD_COL15})
print $diff_not_avail (,{HEAD_COL16})
print &proddesc (,{HEAD_COL2}) WRAP 19 2
The problem is that sometimes if the last detail line on a page has a
&proddesc that wraps, the second line prints up in the header of the next
page. I've tried using next-listing need=2, and that doesn't work for me.
Firstly, because then it double-spaces ALL the detail lines regardless of
whether that field wraps to 2. Secondly, even if it does wrap it's still
printing up in the header of the next page. Any suggestions?
Thanks,
Todd