I have a report that is used to print address labels. It currently prints only the left side of the paper. I want to know if it is possible to print multiple columns of addresses rather than just 1.
Here is my code
define
variable userbdate date
variable useredate date
end
input
prompt for userbdate using "Enter beginning date: "
prompt for useredate using "Enter ending date: "
end
output
top margin 0
bottom margin 0
left margin 0
page length 6
end
select *
from tcc_shop
where expir_date >= $userbdate
and expir_date <= $useredate
order by zip
end
format
on every row
print expir_date,2 spaces,mail_rt,2 spaces,"W/S ",ws_no,1 space,ws_ltr
print name
print attn
print address
print city,1 space,state,1 space,zip
skip 2 lines
on last row
skip 10 lines
print "Label count: ", count using "####"
end
Here is my code
define
variable userbdate date
variable useredate date
end
input
prompt for userbdate using "Enter beginning date: "
prompt for useredate using "Enter ending date: "
end
output
top margin 0
bottom margin 0
left margin 0
page length 6
end
select *
from tcc_shop
where expir_date >= $userbdate
and expir_date <= $useredate
order by zip
end
format
on every row
print expir_date,2 spaces,mail_rt,2 spaces,"W/S ",ws_no,1 space,ws_ltr
print name
print attn
print address
print city,1 space,state,1 space,zip
skip 2 lines
on last row
skip 10 lines
print "Label count: ", count using "####"
end