WebFocus, two title columns and merging cells -
if have table in webfocus raport design
+--------+---------+--------+---------+ | left_1 | right_1 | left_2 | right_2 | +--------+---------+--------+---------+ | v11 | p11 | v21 | v21 | +--------+---------+--------+---------+ | v12 | p12 | v22 | v22 | ....
how such table syllabus column titles:
+-------+-------+-------+-------+ | 1 | 2 | +-------+-------+-------+-------+ | left | right | left | right | +-------+-------+-------+-------+ | v11 | p11 | v21 | v21 | +-------+-------+-------+-------+ | v12 | p12 | v22 | v22 | ....
thank you
sorry delay of answer :)
to rename columns, command. example:
table file systable print name compute left1/a3 = 'v11'; 'left'; compute right1/a3 = 'p11'; 'right'; compute left2/a3 = 'v21'; 'left'; compute right2/a3 = 'p21'; 'right'; if recordlimit eq 10 end
to put heading columns, can work across command more tricky if u use subhead. same example:
table file systable print name noprint compute left1/a3 = 'v11'; 'left'; compute right1/a3 = 'p11'; 'right'; compute left2/a3 = 'v21'; 'left'; compute right2/a3 = 'p21'; 'right'; if recordlimit eq 10 on table subhead "<+0>one<+0> two" on table pchold format html on table set htmlcss on on table set style * units=in, pagesize='letter', leftmargin=0.500000, rightmargin=0.500000, topmargin=0.500000, bottommargin=0.500000, squeeze=on, grid=off, orientation=landscape, $ type=report,font='arial',size=9,$ type=tabheading,headalign=body,$ type=tabheading, line=1, item=1, colspan=2, squeeze=on,$ type=tabheading, line=1, item=2, colspan=2, squeeze=on,$ endstyle end
hope helps!
Comments
Post a Comment