我的交叉表中有 20 列和 1 行,其中以纵向 8" x 13" 显示,现在当我打印出前 14 列时显示在第 1 页的第一行,那么接下来的第 14 列显示在第一行的下一页。
任何想法如何显示超出的第 14 列在交叉表的前 14 列下方的下一行继续。
任何想法都非常感谢。
这是我的数据窗口交叉表源代码:
release 10.5;
datawindow(units=0 timer_interval=0 color=1073741824 processing=4 HTMLDW=no
print.printername="" print.documentname="" print.orientation = 0 print.margin.left
= 110 print.margin.right = 110 print.margin.top = 96 print.margin.bottom = 96
print.paper.source = 0 print.paper.size = 0 print.canusedefaultprinter=yes
print.prompt=no print.buttons=no print.preview.buttons=no print.cliptext=no
print.overrideprintjob=no print.collate=yes print.preview.outline=yes hidegrayline=no
crosstab.dynamic = yes grid.lines=1 grid.columnmove=no selected.mouse=no )
header[1](height=0 color="536870912" )
header[2](height=132 color="536870912" )
summary(height=0 color="536870912" )
footer(height=0 color="536870912" )
detail(height=60 color="536870912" )
table(column=(type=char(20) updatewhereclause=yes name=substr dbname="substr" )
column=(type=char(20) updatewhereclause=yes name=val dbname="val" )
retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"public.product~" )
TABLE(NAME=~"public.product_parts~" ) COLUMN(NAME=~"public.product_parts.part_name~")
COLUMN(NAME=~"public.product_parts.part_no~") COMPUTE(NAME=~"SUBSTR(public.product.codeno,LENGTH(public.product.codeno),LENGTH(public.pro duct.codeno))~") COMPUTE(NAME=~"'' as itemhead~") COMPUTE(NAME=~"'' as imagepath~")
JOIN (LEFT=~"public.product.codeno~" OP =~"=~"RIGHT=~"public.product_parts.codeno~"
)WHERE( EXP1 =~"public.product_parts.codeno~" OP =~"like~" EXP2 =~":codeno~" )
) ARG(NAME = ~"codeno~" TYPE = string) " arguments=(("codeno", string)) sort="substr
A " )
text(band=header[2] alignment="0" text="@product_parts_part_no" border="0" color="0"
x="146" y="68" height="52" width="137" html.valueishtml="0" name=val_t visible="1"
font.face="Tahoma" font.height="-8" font.weight="700" font.family="2" font.pitch="2"
font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=1 alignment="0" tabsequence=32766 border="0" color="33554432"
x="9" y="4" height="76" width="128" format="[general]" html.valueishtml="0"
name=substr visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no
edit.autoselect=no edit.autohscroll=yes font.face="Tahoma" font.height="-9"
font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1"
background.color="536870912" )
column(band=detail id=2 alignment="0" tabsequence=32766 border="0" color="33554432"
x="146" y="0" height="76" width="137" format="[general]" html.valueishtml="0"
name=val visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no
edit.autoselect=no edit.autohscroll=yes crosstab.repeat=yes font.face="Courier New"
font.height="-10" font.weight="400" font.family="1" font.pitch="1" font.charset="0"
background.mode="1" background.color="536870912" )
crosstab(band = foreground crosstabonly = yes
columns = "product_parts_part_no" rows = "substr" values = "case (
product_parts_part_no when product_parts_part_no then product_parts_part_name )"
sourcenames = "product_parts_part_name, product_parts_part_no, substr, itemhead,
imagepath")htmltable(border="0" cellpadding="1" cellspacing="1" )
htmlgen(clientevents="1" clientvalidation="1" clientcomputedfields="1"
clientformatting="0" clientscriptable="0" generatejavascript="1"
encodeselflinkargs="1" netscapelayers="0" pagingmethod=0 generatedddwframes="1" )
xhtmlgen() cssgen(sessionspecific="0" )
xmlgen(inline="0" )
xsltgen()
jsgen()
export.xml(headgroups="1" includewhitespace="0" metadatatype=0 savemetadata=0 )
import.xml()
export.pdf(method=0 distill.custompostscript="0" xslfop.print="0" )
export.xhtml()
我的数据窗口交叉表中的所需输出:
1 2 3 4 5 6 7 8 9 10 11 12 13 14
A MGY RBLS WISHI. MILES AND MILES CX FF RVS PCS ADM DROP NOT CS
15 16 17 18 19 20
PHIL AUS GER FRA BULL 1.5oX
谢谢,乔恩戴夫