$PBExportHeader$dw_pr_credencemx_bak.srd $PBExportComments$By Kivens.Jiang(kivens@21cn.com) release 9; datawindow ( units=0 timer_interval=0 color=16777215 processing=1 print.documentname="" print.orientation=0 print.margin.left=110 print.margin.right=110 print.margin.top=96 print.margin.bottom=96 print.paper.size=0 print.paper.source=0 grid.lines=0 selected.mouse=yes row.resize=1) header(height=92 color="536870912" ) summary(height=76 color="536870912" ) footer(height=0 color="536870912" ) detail(height=116 color="553648127" height.autosize=yes) table(column=(type=char(255) updatewhereclause=yes name=brief dbname="cw_credencemx.brief" ) column=(type=char(255) updatewhereclause=yes name=cw_subject_subid dbname="cw_subject.subid" ) column=(type=decimal(2) updatewhereclause=yes name=debit dbname="cw_credencemx.debit" ) column=(type=decimal(2) updatewhereclause=yes name=credit dbname="cw_credencemx.credit" ) column=(type=long updatewhereclause=yes name=cw_credencemx_fuluno dbname="cw_credencemx.fuluno" ) retrieve=" SELECT cw_credencemx.brief, cw_subject.displaycode as subid, case cw_credencemx.debit when 0 then null else cw_credencemx.debit end as debit, case cw_credencemx.credit when 0 then null else cw_credencemx.credit end as credit, cw_credencemx.fuluno FROM cw_credencemx,cw_subject WHERE ( cw_credencemx.accsetid = :arg_accsetid ) AND ( cw_credencemx.credid = :arg_credid ) and ( :arg_printrow = :arg_printrow ) and ( :arg_top = :arg_top ) and ( cw_credencemx.accsetid = cw_subject.accsetid ) AND ( cw_credencemx.subid = cw_subject.subid ) union all SELECT TOP :arg_top null, null, null, null,1000 FROM cw_subject where accsetid = :arg_accsetid " arguments=(("arg_credid", number), ("arg_printrow", number), ("arg_accsetid", number), ("arg_top", number)) sort="cw_credencemx_fuluno A" ) group(level=1 header.height=0 trailer.height=0 by=("pageprint" ) header.color="536870912" trailer.color="536870912" newpage=yes ) text(name=debit_t band=header font.charset="134" font.face="黑体" font.family="0" font.height="-12" font.pitch="2" font.weight="700" background.mode="1" background.color="536870912" color="0" alignment="2" border="0" x="2235" y="12" height="72" width="517" text="借方金额" ) text(name=credit_t band=header font.charset="134" font.face="黑体" font.family="0" font.height="-12" font.pitch="2" font.weight="700" background.mode="1" background.color="536870912" color="0" alignment="2" border="0" x="2761" y="12" height="72" width="517" text="贷方金额" ) text(name=cw_subject_subid_t band=header font.charset="134" font.face="黑体" font.family="0" font.height="-12" font.pitch="2" font.weight="700" background.mode="2" background.color="16777215" color="0" alignment="2" border="0" x="859" y="12" height="72" width="1367" text="会计科目" ) text(name=cmpl1_t band=header font.charset="134" font.face="黑体" font.family="0" font.height="-12" font.pitch="2" font.weight="400" background.mode="1" background.color="536870912" color="0" alignment="2" border="0" x="9" y="12" height="72" width="841" text="摘要" ) text(name=hj band=summary font.charset="134" font.face="黑体" font.family="0" font.height="-11" font.pitch="2" font.weight="700" background.mode="1" background.color="536870912" color="0" alignment="2" border="0" x="859" y="4" height="68" width="1367" text="合 计" ) compute(name=sumdebit band=summary font.charset="134" font.face="宋体" font.family="0" font.height="-11" font.pitch="2" font.weight="700" background.mode="1" background.color="536870912" color="0" x="2235" y="4" height="68" width="517" format="#,##0.00" expression="sum(debit for all)" alignment="1" border="0" crosstab.repeat=no ) compute(name=sumcredit band=summary font.charset="134" font.face="宋体" font.family="0" font.height="-11" font.pitch="2" font.weight="700" background.mode="1" background.color="536870912" color="0" x="2761" y="4" height="68" width="517" format="#,##0.00" expression="sum(credit for all)" alignment="1" border="0" crosstab.repeat=no ) column(name=debit tag="借方金额" band=detail id=3 x="2235" y="8" height="96" width="517" color="0" border="0" alignment="1" format="#,##0.00" edit.focusrectangle=no edit.autohscroll=yes edit.autoselect=yes edit.autovscroll=no edit.case=any edit.codetable=no edit.displayonly=no edit.hscrollbar=no edit.imemode=0 edit.limit=0 edit.password=no edit.vscrollbar=no edit.validatecode=no edit.nilisnull=no edit.required=no criteria.required=no criteria.override_edit=no crosstab.repeat=no background.mode="1" background.color="536870912" font.charset="134" font.face="宋体" font.family="0" font.height="-11" font.pitch="2" font.weight="700" tabsequence=0 ) column(name=credit tag="贷方金额" band=detail id=4 x="2761" y="8" height="96" width="517" color="0" border="0" alignment="1" format="#,##0.00" edit.focusrectangle=no edit.autohscroll=yes edit.autoselect=yes edit.autovscroll=no edit.case=any edit.codetable=no edit.displayonly=no edit.hscrollbar=no edit.imemode=0 edit.limit=0 edit.password=no edit.vscrollbar=no edit.validatecode=no edit.nilisnull=no edit.required=no criteria.required=no criteria.override_edit=no crosstab.repeat=no background.mode="1" background.color="536870912" font.charset="134" font.face="宋体" font.family="0" font.height="-11" font.pitch="2" font.weight="700" tabsequence=0 ) column(name=cw_subject_subid height.autosize=yes band=detail id=2 x="859" y="8" height="96" width="1367" color="0" border="0" alignment="0" format="[general]" edit.autohscroll=no edit.autoselect=yes edit.autovscroll=no edit.case=any edit.codetable=no edit.displayonly=no edit.hscrollbar=no edit.imemode=0 edit.limit=0 edit.password=no edit.vscrollbar=no edit.validatecode=no edit.nilisnull=no edit.required=no criteria.required=no criteria.override_edit=no crosstab.repeat=no background.mode="1" background.color="536870912" font.charset="134" font.face="宋体" font.family="0" font.height="-9" font.pitch="2" font.weight="400" tabsequence=0 ) compute(name=cmpl1 height.autosize=yes band=detail font.charset="134" font.face="宋体" font.family="0" font.height="-9" font.pitch="2" font.weight="400" background.mode="2" background.color="16777215" color="0" x="9" y="8" height="96" width="841" format="[general]" expression=" f_dwnewline(30,brief) " alignment="0" border="0" crosstab.repeat=no ) compute(name=pageprint visible="1 0" band=foreground font.charset="134" font.face="宋体" font.family="0" font.height="-9" font.pitch="2" font.weight="400" background.mode="2" background.color="16777215" color="0" x="5874" y="208" height="96" width="46" format="[general]" expression="ceiling(getrow()/ arg_printrow )" alignment="0" border="0" crosstab.repeat=no ) htmltable(border="1" cellPadding="0" cellSpacing="0" generateCSS="no" noWrap="yes" ) htmlgen() export.xml(metadatatype=0 savemetadata=0 ) import.xml() export.pdf(method=0 )