dw_email_view_inout.srd 7.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. $PBExportHeader$dw_email_view_inout.srd
  2. release 9;
  3. 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 )
  4. header(height=72 color="536870912" )
  5. summary(height=0 color="536870912" )
  6. footer(height=64 color="536870912" )
  7. detail(height=76 color="536870912" height.autosize=yes)
  8. table(column=(type=long updatewhereclause=yes name=id dbname="u_email_msg.ID" )
  9. column=(type=long updatewhereclause=yes name=mailid dbname="u_email_msg.mailid" )
  10. column=(type=char(255) updatewhereclause=yes name=mailaddress dbname="u_email_msg.mailaddress" )
  11. column=(type=char(10) updatewhereclause=yes name=mailtype dbname="u_email_msg.mailtype" )
  12. column=(type=char(255) updatewhereclause=yes name=subject dbname="u_email_msg.subject" )
  13. column=(type=long updatewhereclause=yes name=priority dbname="u_email_msg.priority" )
  14. column=(type=datetime updatewhereclause=yes name=senddate dbname="senddate" )
  15. column=(type=decimal(5) updatewhereclause=yes name=mailsize dbname="u_email_msg.mailsize" )
  16. column=(type=char(6) updatewhereclause=yes name=fjtype dbname="fjtype" )
  17. column=(type=char(10) updatewhereclause=yes name=opemp dbname="u_email_msg.opemp" )
  18. column=(type=datetime updatewhereclause=yes name=opdate dbname="u_email_msg.Opdate" )
  19. retrieve=" SELECT DISTINCT u_email_msg.ID,
  20. u_email_msg.mailid,
  21. u_email_msg.mailaddress,
  22. u_email_msg.mailtype,
  23. u_email_msg.subject,
  24. u_email_msg.priority,
  25. case when u_email_msg.mailtype = '收件' then u_email_msg.revdate
  26. else u_email_msg.senddate
  27. end as senddate,
  28. u_email_msg.mailsize,
  29. case when u_email_msg.mailtype = '收件' then '收件'
  30. when u_email_msg.mailtype = '发件' then '发件'
  31. else '已发件'
  32. end as fjtype,
  33. u_email_msg.opemp,
  34. u_email_msg.Opdate
  35. FROM u_email_msg LEFT OUTER JOIN u_email_sendmx
  36. ON u_email_msg.ID = u_email_sendmx.sendid
  37. where u_email_msg.mailID = :arg_mailid and
  38. (u_email_msg.sendaddress = :arg_address OR u_email_sendmx.revaddress = :arg_address)
  39. " arguments=(("arg_mailid", number),("arg_address", string)) sort="senddate D " )
  40. 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" )
  41. 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" )
  42. 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" )
  43. 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" )
  44. 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" )
  45. 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" )
  46. 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" )
  47. 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" )
  48. 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" )
  49. 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" )
  50. 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" )
  51. 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" )
  52. 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" )
  53. htmltable(border="1" )
  54. htmlgen(clientevents="1" clientvalidation="1" clientcomputedfields="1" clientformatting="0" clientscriptable="0" generatejavascript="1" encodeselflinkargs="1" netscapelayers="0" )
  55. export.xml(headgroups="1" includewhitespace="0" metadatatype=0 savemetadata=0 )
  56. import.xml()
  57. export.pdf(method=0 distill.custompostscript="0" xslfop.print="0" )