$PBExportHeader$dw_email_view_inout.srd release 9; datawindow(units=0 timer_interval=0 color=16777215 processing=1 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 hidegrayline=no grid.lines=0 selected.mouse=no ) header(height=72 color="536870912" ) summary(height=0 color="536870912" ) footer(height=64 color="536870912" ) detail(height=76 color="536870912" height.autosize=yes) table(column=(type=long updatewhereclause=yes name=id dbname="u_email_msg.ID" ) column=(type=long updatewhereclause=yes name=mailid dbname="u_email_msg.mailid" ) column=(type=char(255) updatewhereclause=yes name=mailaddress dbname="u_email_msg.mailaddress" ) column=(type=char(10) updatewhereclause=yes name=mailtype dbname="u_email_msg.mailtype" ) column=(type=char(255) updatewhereclause=yes name=subject dbname="u_email_msg.subject" ) column=(type=long updatewhereclause=yes name=priority dbname="u_email_msg.priority" ) column=(type=datetime updatewhereclause=yes name=senddate dbname="senddate" ) column=(type=decimal(5) updatewhereclause=yes name=mailsize dbname="u_email_msg.mailsize" ) column=(type=char(6) updatewhereclause=yes name=fjtype dbname="fjtype" ) column=(type=char(10) updatewhereclause=yes name=opemp dbname="u_email_msg.opemp" ) column=(type=datetime updatewhereclause=yes name=opdate dbname="u_email_msg.Opdate" ) retrieve=" SELECT DISTINCT u_email_msg.ID, u_email_msg.mailid, u_email_msg.mailaddress, u_email_msg.mailtype, u_email_msg.subject, u_email_msg.priority, case when u_email_msg.mailtype = '收件' then u_email_msg.revdate else u_email_msg.senddate end as senddate, u_email_msg.mailsize, case when u_email_msg.mailtype = '收件' then '收件' when u_email_msg.mailtype = '发件' then '发件' else '已发件' end as fjtype, u_email_msg.opemp, u_email_msg.Opdate FROM u_email_msg LEFT OUTER JOIN u_email_sendmx ON u_email_msg.ID = u_email_sendmx.sendid where u_email_msg.mailID = :arg_mailid and (u_email_msg.sendaddress = :arg_address OR u_email_sendmx.revaddress = :arg_address) " arguments=(("arg_mailid", number),("arg_address", string)) sort="senddate D " ) text(band=header alignment="2" text="类型" border="0" color="33554432" x="9" y="8" height="56" width="206" html.valueishtml="0" name=fjtype_t visible="1" font.face="宋体" font.height="-9" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" ) text(band=header alignment="2" text="主题" border="0" color="33554432" x="224" y="8" height="56" width="622" html.valueishtml="0" name=subject_t visible="1" font.face="宋体" font.height="-9" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" ) text(band=header alignment="2" text="发送/接收时间" border="0" color="33554432" x="855" y="8" height="56" width="526" html.valueishtml="0" name=senddate_t visible="1" font.face="宋体" font.height="-9" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" ) text(band=header alignment="2" text="大小(K)" border="0" color="33554432" x="1390" y="8" height="56" width="347" html.valueishtml="0" name=mailsize_t visible="1" font.face="宋体" font.height="-9" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" ) text(band=header alignment="2" text="建立人" border="0" color="33554432" x="1746" y="8" height="56" width="347" html.valueishtml="0" name=opemp_t visible="1" font.face="宋体" font.height="-9" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" ) text(band=header alignment="2" text="建立时间" border="0" color="33554432" x="2103" y="8" height="56" width="704" html.valueishtml="0" name=opdate_t visible="1" font.face="宋体" font.height="-9" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" ) column(band=detail id=7 alignment="0" tabsequence=32766 border="0" color="33554432" x="855" y="4" height="68" width="526" format="yyyy-mm-dd hh:mm" html.valueishtml="0" name=senddate visible="1" height.autosize=yes edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="宋体" font.height="-9" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) column(band=detail id=5 alignment="0" tabsequence=32766 border="0" color="33554432" x="224" y="4" height="68" width="622" format="[general]" html.valueishtml="0" name=subject visible="1" height.autosize=yes edit.limit=100 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="宋体" font.height="-9" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) column(band=detail id=10 alignment="0" tabsequence=32766 border="0" color="33554432" x="1746" y="4" height="68" width="347" format="[general]" html.valueishtml="0" name=opemp visible="1" height.autosize=yes edit.limit=50 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="宋体" font.height="-9" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) column(band=detail id=8 alignment="1" tabsequence=32766 border="0" color="33554432" x="1390" y="4" height="68" width="347" format="##,##0" html.valueishtml="0" name=mailsize visible="1" height.autosize=yes edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="宋体" font.height="-9" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) column(band=detail id=11 alignment="0" tabsequence=32766 border="0" color="33554432" x="2103" y="4" height="68" width="704" format="yyyy-mm-dd hh:mm" html.valueishtml="0" name=opdate visible="1" height.autosize=yes edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="宋体" font.height="-9" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) column(band=detail id=9 alignment="2" tabsequence=32766 border="0" color="33554432" x="9" y="4" height="68" width="206" format="[general]" html.valueishtml="0" name=fjtype visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="宋体" font.height="-9" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) compute(band=footer alignment="2" expression="count( id )"border="0" color="8388608" x="224" y="4" height="56" width="622" format="[GENERAL]" html.valueishtml="0" name=compute_1 visible="1" font.face="宋体" font.height="-9" font.weight="700" font.family="0" font.pitch="2" font.charset="134" background.mode="2" background.color="16777215" ) htmltable(border="1" ) htmlgen(clientevents="1" clientvalidation="1" clientcomputedfields="1" clientformatting="0" clientscriptable="0" generatejavascript="1" encodeselflinkargs="1" netscapelayers="0" ) export.xml(headgroups="1" includewhitespace="0" metadatatype=0 savemetadata=0 ) import.xml() export.pdf(method=0 distill.custompostscript="0" xslfop.print="0" )