HDR*PowerBuilder0600]U7New RAPIDS reporting module.FRE*NOD*&'ENT*0600 Ms?"d_source_detail.srdENT*0600@3Ad_source_summary.dwoENT*0600C3Ad_source_detail.dwoENT*0600D^W@d_source_summary.srdENT*06008cV@d_process_rollup.srdENT*0600h{33Ad_stream_tracing.dwoENT*0600x3Ad_process_rollup.dwoENT*060001m96d_stream_tracing.srdENT*0600\w-V@d_device_rollup.srdENT*0600t3Ad_device_rollup.dwoENT*0600d:y@str_rpt_parms.srsENT*0600H(;d_device_connections_ora.srdENT*0600PAstr_rpt_parms.strENT*0600a#3Ad_device_connections_ora.dwoENT*0600\-b?:u_dw_reference_code.sruENT*0600(;&d_device_connections.srdENT*0600 PAu_dw_reference_code.udoENT*0600p#3Ad_device_connections.dwoENT*0600Bp'@d_county_rollup.srdENT*0600{q3Ad_county_rollup.dwoENT*0600RPe@w_report_body.srwENT*0600Np gw9d_county_breakdown.srdENT*0600r3Ad_county_breakdown.dwoENT*0600`)-b? w_report_print.srwENT*0600WQAw_report_print.winENT*0600bQAw_report_old.winENT*0600: 2f?w_report_old.srwENT*0600yQAw_report_body.winENT*0600aw_@d_source_rollup_old.srdENT*0600~u3Ad_source_rollup_old.dwoENT*0600vV@d_source_rollup.srdENT*0600Bu3Ad_source_rollup.dwoENT*0600 !]@d_process_rollup_old.srdENT*0600 x3Ad_process_rollup_old.dwoENT*06006 x+^@d_device_rollup_old.srdENT*0600 t3Ad_device_rollup_old.dwoENT*0600aq^@d_county_rollup_old.srdENT*0600 r3Ad_county_rollup_old.dwosrdsrdarm.srdarm.srdDAT*PDW0800pdwPl\h```` 7 F$nndDAT*  @xn+DAT* page< $0%  MS Sans SerifMS Sans Serif$ 2$-8$400$1$ 536870912$DAT*3767$20$@64$640& [general] [general]%!"('Page ' + page() + ' of ' + pageCount() ^#* ^$( ^%'& Page )  of n6,.03DAT*$-18$/421&12 dd-mmm-yyyy dd-mmm-yyyy()45today()`C+7:<>@< 8$9700$;7823$=212$?DAT*[347%AB Start Date: Start Date:`M67DFHJ$E71847$G$292$I512%KLUnits:Units:`SC7D<NP$O507DAT*%QRReference Code:Reference Code:`WM7:F>T%UV End Date: End Date:`dSX ,[]_a< Y 8$Z-12$\T84$^P8DAT* 0$`%4389%bcCounty Emissions BreakdownCounty Emissions BreakdownnvWef ln<0p start_date_c<g j %hiArialArial$k-10$m 16777215$o1170DAT*"()qrdate( left ( start_date, 11) )s `tu  &@n~dwf lnF0x end_date_c()yzdate( left ( end_date, 11) ){ `|}  &@vf l<(DAT*$ reference_code$7 2359~f lF(rap_units_name@X` l$1152$DAT*&452$ 3255%UDetailed Breakdown of Emissions by county and metric code for the current selection.UDetailed Breakdown of Emissions by county and metric code for the current selection.@ l stream_id$DAT*(1701$439 l  cmin_decode$[2139$238 l  value_type$I DAT**2377n   value_type_c$ 15793151$7 2615& [general] [general]$# if( isNull( value_type ), 0, 1)   ?n DAT*, $ 15780518$ 2981$#data_code_flag data_code_flagn  $ 3218$#value_type_flag value_type_flagDAT*. lcamount$ 3456$457&0.0####0.0####n7 stream_amount$ 12632256$[DAT*03931&0.0####0.0####$#+camount * data_code_flag * value_type_flag 0 0  data_code_flag value_type_flag$ 553648127@,@X`DAT*27,$219%Nation:Nation:P l$5$0$4$74407f l>DAT*4(2 nation_name$1755@% nation_name ,   @H`7,$DAT*6183%State:State:f l>(2 state_name@%   state_name ,b^_@[`DAT*87,$229%County:County:`7H$d100$475% METRIC CODE METRIC CODE`!7,%DAT*: MATERIAL CODEMATERIAL CODE`'7"$$#1042%%& COUNTY AMT COUNTY AMT`-!7(*$) 3493%+, PROCESS ID PROCESS ID`3'7DAT*<.0$/n3950%12 PROCESS AMT PROCESS AMTP4- l[[P73 l55$6164`=478:$9 2523DAT*>%;< DEVICE ID DEVICE ID`A77>%?@ DEVICE AMT DEVICE AMT`G=7BD$C1554%EF SOURCE ID SOURCE ID`MA7HJDAT*@$I2011%KL SOURCE AMT SOURCE AMTPRG lN[NP$O1024$Q188PUM lS[SP$T1536PXR lV[VP$WDAT*B 2505P[U lY[YP$Z 3474X\f l>(]2 county_name@%`a county_name 4 cw}@DAT*DHdtniec7 l"f county_amt$#gh!sum( stream_amount for group 4 )[Pndc lNjNl$k0$mh104Poic lDAT*FSjSPpnc lVjVPqoc lYjYtprc7 l,(s material_codequc7 lH(v metric_DAT*Hcode@x|Pyw lPzxw lNjNP{yw lSjSP|zw lVjVP{w lYjYDAT*J~ I % county_name %material_code % metric_code % county_name %material_code % metric_code 5 stream_amount4bDAT*L@HP lNjNlP lSjSP lVjVP lYjYn lHDAT* source_amt$#!sum( stream_amount for group 5 )[ lB( source_id@P lSP lDAT*Prelease 6; datawindow(units=0 timer_interval=0 color=16777215 processing=0 print.documentname="RAPIDS Report" print.orientation = 1 print.margin.left = 110 print.margin.right = 110 print.margin.top = 100 print.margin.bottom = 150 print.paper.source = 0 print.paper.size = 0 print.prompt=no print.buttons=no print.preview.buttons=no ) header(height=376 color="536870912" ) summary(height=0 color="536870912" ) footer(height=88 color="536870912" ) detail(height=4 color="553648127" ) table(column=(DAT*Rtype=char(50) updatewhereclause=yes name=nation_name dbname="v_rap_reports.nation_name" ) column=(type=char(50) updatewhereclause=yes name=state_name dbname="v_rap_reports.state_name" ) column=(type=char(50) updatewhereclause=yes name=county_name dbname="v_rap_reports.county_name" ) column=(type=char(15) updatewhereclause=yes name=source_id dbname="v_rap_reports.source_id" ) column=(type=char(50) updatewhereclause=yes name=source_name dbname="v_rap_reports.source_name" ) column=(type=chaDAT*Tr(4) updatewhereclause=yes name=sic_code dbname="v_rap_reports.sic_code" ) column=(type=char(15) updatewhereclause=yes name=device_id dbname="v_rap_reports.device_id" ) column=(type=char(15) updatewhereclause=yes name=device_code dbname="v_rap_reports.device_code" ) column=(type=char(50) updatewhereclause=yes name=device_name dbname="v_rap_reports.device_name" ) column=(type=char(15) updatewhereclause=yes name=process_id dbname="v_rap_reports.process_id" ) column=(type=char(15) updatewheDAT*Vreclause=yes name=process_code dbname="v_rap_reports.process_code" ) column=(type=char(50) updatewhereclause=yes name=process_name dbname="v_rap_reports.process_name" ) column=(type=char(10) updatewhereclause=yes name=scc_code dbname="v_rap_reports.scc_code" ) column=(type=char(20) updatewhereclause=yes name=stream_id dbname="v_rap_reports.stream_id" ) column=(type=char(12) updatewhereclause=yes name=material_code dbname="v_rap_reports.material_code" ) column=(type=char(12) updatewhereclDAT*Xause=yes name=metric_code dbname="v_rap_reports.metric_code" ) column=(type=char(12) updatewhereclause=yes name=reference_code dbname="v_rap_reports.reference_code" ) column=(type=char(3) updatewhereclause=yes name=value_type dbname="v_rap_reports.value_type" ) column=(type=char(26) updatewhereclause=yes name=start_date dbname="v_rap_reports.start_date" ) column=(type=char(26) updatewhereclause=yes name=end_date dbname="v_rap_reports.end_date" ) column=(type=char(30) updatewhereclause=yeDAT*Zs name=rap_units_name dbname="rap_units.name" ) column=(type=number updatewhereclause=yes name=camount dbname="amount" ) column=(type=char(4) updatewhereclause=yes name=cmin_decode dbname="min_decode" ) retrieve="SELECT v_rap_reports.nation_name, v_rap_reports.state_name, v_rap_reports.county_name, v_rap_reports.source_id, v_rap_reports.source_name, v_rap_reports.sic_code, v_rap_reports.device_id, v_rap_reports.device_code, v_rap_reports.device_name, v_rap_DAT*\reports.process_id, v_rap_reports.process_code, v_rap_reports.process_name, v_rap_reports.scc_code, v_rap_reports.stream_id, v_rap_reports.material_code, v_rap_reports.metric_code, v_rap_reports.reference_code, v_rap_reports.value_type, :fromDate ~"start_date~", :toDate ~"end_date~", rap_units_b.name, sum(v_rap_reports.value_amount * rap_units_a.conversion_factor_amt / rap_units_b.conversion_factor_amt) ~"amount~", IF v_rap_reports.data_code IS NULL THENDAT*^ :as_null ELSE IF v_rap_reports.data_code = 'RO' THEN :as_ro ELSE v_rap_reports.data_code ENDIF ENDIF ~"min_decode~" FROM v_rap_reports, rap_units rap_units_a, rap_units rap_units_b WHERE ( v_rap_reports.value_unit_code = rap_units_a.code ) AND ( rap_units_a.meas_code = rap_units_b.meas_code ) AND ( v_rap_reports.metric_code IN ('DISCHARGE', 'DOWNSTRMDIS', 'MASS FLOW')) AND ( ( v_rap_reports.value_type is null ) OR ( v_rap_reports.value_type in ( select type DAT*` from rap_value_types where name like 'SPECIATED FROM %' ) ) ) AND ( ( v_rap_reports.start_date BETWEEN :fromDate AND :toDate ) AND ( v_rap_reports.end_date BETWEEN :fromDate AND :toDate ) AND ( rap_units_b.code = :unitCode ) AND ( v_rap_reports.reference_code = :refCode ) AND ( v_rap_reports.material_code IN ( :matCode ) ) ) GROUP BY v_rap_reports.nation_name, v_rap_reports.state_name, v_rap_reports.county_name, v_rap_reports.source_id, v_rap_DAT*breports.source_name, v_rap_reports.sic_code, v_rap_reports.device_id, v_rap_reports.device_code, v_rap_reports.device_name, v_rap_reports.process_id, v_rap_reports.process_code, v_rap_reports.process_name, v_rap_reports.scc_code, v_rap_reports.stream_id, v_rap_reports.reference_code, v_rap_reports.material_code, v_rap_reports.metric_code, rap_units_b.name, v_rap_reports.data_code, v_rap_reports.value_type " arguments=(("al_nationArray", numberlist),("aDAT*dl_stateArray", numberlist),("al_countyArray", numberlist),("al_sourceArray", numberlist),("al_sourceSub1Array", numberlist),("al_sourceSub2Array", numberlist),("fromDate", datetime),("toDate", datetime),("as_null", string),("as_ro", string),("unitCode", string),("refCode", string),("matCode", stringlist)) sort="nation_name A state_name A county_name A material_code A metric_code A source_id A device_id A process_id A stream_id A cmin_decode A value_type A " ) group(level=1 header.height=88 trailDAT*fer.height=0 by=("nation_name" ) header.color="536870912" trailer.color="536870912" ) group(level=2 header.height=72 trailer.height=0 by=("state_name" ) header.color="536870912" trailer.color="536870912" ) group(level=3 header.height=168 trailer.height=0 by=("county_name" ) newpage=yes header.color="553648127" trailer.color="553648127" ) group(level=4 header.height=72 trailer.height=8 by=("county_name" , "material_code" , "metric_code" ) header.color="553648127" trailer.color="536870912" sort="DAT*hcounty_name A material_code A metric_code A " ) group(level=5 header.height=72 trailer.height=8 by=("source_id" , "material_code" , "metric_code" ) header.color="553648127" trailer.color="536870912" sort="source_id A material_code A metric_code A " ) group(level=6 header.height=72 trailer.height=8 by=("device_id" , "material_code" , "metric_code" ) header.color="553648127" trailer.color="536870912" sort="device_id A material_code A metric_code A " ) group(level=7 header.height=72 trailer.heigDAT*jht=0 by=("process_id" , "material_code" , "metric_code" ) header.color="553648127" trailer.color="553648127" sort="process_id A material_code A metric_code A " ) group(level=8 header.height=0 trailer.height=0 by=("stream_id" , "material_code" , "metric_code" ) header.color="553648127" trailer.color="553648127" sort="stream_id A material_code A metric_code A " ) group(level=9 header.height=0 trailer.height=0 by=("stream_id" , "material_code" , "metric_code" , "cmin_decode" ) header.color="55364DAT*l8127" trailer.color="536870912" ) compute(band=header alignment="1" expression="'Page ' + page() + ' of ' + pageCount()"border="0" color="0" x="3767" y="20" height="64" width="640" format="[general]" name=page font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) compute(band=header alignment="0" expression="today()"border="0" color="0" x="18" y="20" height="64" width="421" format="dd-mmmDAT*n-yyyy" font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) text(band=header alignment="0" text="Start Date:"border="0" color="0" x="823" y="212" height="64" width="347" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) text(band=header alignment="0" text="Units:"border="0" coloDAT*pr="0" x="1847" y="292" height="64" width="512" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) text(band=header alignment="0" text="Reference Code:"border="0" color="0" x="1847" y="212" height="64" width="507" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) text(band=headDAT*rer alignment="0" text="End Date:"border="0" color="0" x="823" y="292" height="64" width="347" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) text(band=header alignment="2" text="County Emissions Breakdown"border="0" color="0" x="18" y="84" height="80" width="4389" font.face="MS Sans Serif" font.height="-12" font.weight="700" font.family="2" font.pitch="2" font.charset="0" font.undeDAT*trline="1" background.mode="1" background.color="536870912" ) compute(band=header alignment="0" expression="date( left ( start_date, 11) )"border="0" color="0" x="1170" y="212" height="64" width="640" format="dd-mmm-yyyy" name=start_date_c font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) compute(band=header alignment="0" expression="date( left ( end_date, 11) )"border="0" color="0" x="1170" yDAT*v="292" height="64" width="640" format="dd-mmm-yyyy" name=end_date_c font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) column(band=header id=17 alignment="0" tabsequence=32766 border="0" color="0" x="2359" y="212" height="64" width="640" format="[general]" name=reference_code edit.limit=12 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes font.face="Arial" font.heiDAT*xght="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) column(band=header id=21 alignment="0" tabsequence=32766 border="0" color="0" x="2359" y="292" height="64" width="640" format="[general]" name=rap_units_name edit.limit=30 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2"DAT*z background.color="16777215" ) text(band=header.1 alignment="0" text="Nation:"border="0" color="0" x="18" y="20" height="64" width="219" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) line(band=header.1 x1="0" y1="4" x2="4407" y2="4" pen.style="0" pen.width="5" pen.color="0" background.mode="2" background.color="16777215" ) column(band=header.1 id=1 alignment="0" tabsequence=32766DAT*| border="0" color="0" x="347" y="20" height="64" width="1755" format="[general]" name=nation_name edit.limit=50 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) text(band=header.2 alignment="0" text="State:"border="0" color="0" x="18" y="4" height="64" width="183" font.face="MS Sans Serif" font.height="-8" font.weiDAT*~ght="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) column(band=header.2 id=2 alignment="0" tabsequence=32766 border="0" color="0" x="347" y="4" height="64" width="1755" format="[general]" name=state_name edit.limit=50 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="167DAT*77215" ) text(band=header.3 alignment="0" text="County:"border="0" color="0" x="18" y="4" height="64" width="229" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) text(band=header.3 alignment="0" text="METRIC CODE"border="0" color="0" x="512" y="100" height="52" width="475" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" bDAT*ackground.mode="1" background.color="536870912" ) text(band=header.3 alignment="0" text="MATERIAL CODE"border="0" color="0" x="18" y="100" height="52" width="475" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) text(band=header.3 alignment="1" text="COUNTY AMT"border="0" color="0" x="1042" y="100" height="52" width="439" font.face="MS Sans Serif" font.height="-8" font.weight="700" DAT*font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) text(band=header.3 alignment="0" text="PROCESS ID"border="0" color="0" x="3493" y="100" height="52" width="439" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) text(band=header.3 alignment="1" text="PROCESS AMT"border="0" color="0" x="3950" y="100" height="52" width="439" font.face="MSDAT* Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) line(band=header.3 x1="0" y1="84" x2="4407" y2="84" pen.style="0" pen.width="5" pen.color="0" background.mode="2" background.color="16777215" ) line(band=header.3 x1="0" y1="164" x2="4407" y2="164" pen.style="0" pen.width="5" pen.color="0" background.mode="2" background.color="16777215" ) text(band=header.3 alignment="0" text="DEVICE ID"border="0"DAT* color="0" x="2523" y="100" height="52" width="439" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) text(band=header.3 alignment="1" text="DEVICE AMT"border="0" color="0" x="2981" y="100" height="52" width="439" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) text(band=heDAT*ader.3 alignment="0" text="SOURCE ID"border="0" color="0" x="1554" y="100" height="52" width="439" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) text(band=header.3 alignment="1" text="SOURCE AMT"border="0" color="0" x="2011" y="100" height="52" width="439" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="DAT*1" background.color="536870912" ) line(band=header.3 x1="1024" y1="84" x2="1024" y2="188" pen.style="0" pen.width="5" pen.color="0" background.mode="2" background.color="16777215" ) line(band=header.3 x1="1536" y1="84" x2="1536" y2="188" pen.style="0" pen.width="5" pen.color="0" background.mode="2" background.color="16777215" ) line(band=header.3 x1="2505" y1="84" x2="2505" y2="188" pen.style="0" pen.width="5" pen.color="0" background.mode="2" background.color="16777215" ) line(band=header.DAT*3 x1="3474" y1="84" x2="3474" y2="188" pen.style="0" pen.width="5" pen.color="0" background.mode="2" background.color="16777215" ) column(band=header.3 id=3 alignment="0" tabsequence=32766 border="0" color="0" x="347" y="4" height="64" width="1755" format="[general]" name=county_name edit.limit=50 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2DAT*YjYP lNjNP lSjSP lVjV % source_id %material_code % metric_code %DAT*n@@)b?PAn@n@n@q'@@a3@@a<`@`@aFj@j@Tk@k@a`l@l@qtm@m@@@Q@@@@q@@q^@^@v@v@@ q@q@@ u_dw_reference_codedatawindowborderstyledwobjectstructuremailrecipientenvironmentmailfiledescriptionmailmessagedatawindowchildlistviewitemtreeviewitemconnectioninfopowerobjectd_reference_codesmessagetransactionsqlcaDAT*2 u_dw_reference_code , uf_get_reference_codes+constructor BL x _initsrcdatawindowu_dw_reference_codeborderstyledwobjectstructuremailrecipientenvironmentmailfiledescriptionmailmessagedatawindowchildlistviewitemtreeviewitemconnectioninfopowerobjectmessagetransactionTpubln ger oc@;lon[] //0te@il_b<il@rtRoEen@DAT* = 0Ot @sour]ay@_souiy @_emp}rn@end @ @@ @ourc co@ io@arra@il_say@ z%z11)88 "R9t069(DNRjd ls_ref_coDAT*`@y@PA `@`@`@ j@j@.k@k@:l@l@Nm@m@Z@@j@@w@@@@a@^@^@ str_rpt_parmsstructuremailrecipientenvironmentmailfiledescriptionmailmessagedatawindowchildlistviewitemtreeviewitemconnectioninfou_class_source_grouppowerobject F2  DAT* x structurestr_rpt_parmsmailrecipientenvironmentmailfiledescriptionmailmessagedatawindowchildlistviewitemtreeviewitemconnectioninfou_class_source_grouppowerobject@ @.@:@N@Z@j@w@  @@ @ @ DAT* 2  2  rptnamefromdatetodaterefcodeunitcodeas_nullas_romatcodei source_grouprollup_reportmatcode_blocksH    ( 1 69 H?-T ao-       1DAT* de 8 getitemstring5/is_ref_codeINE! 0 8)81<8 0848Yz%@8,v1,$,)8)8,)81)8,1 ,$. \ d dwc::messagesqlca<  co DAT*p@e@QA/p@p@p@q@@a"\@\@q-[@[@9c@c@aFU@U@aW`@`@qaj@j@ok@k@{l@l@m@m@@@@@@@@@^@^@@@@@"@@,@@7 n@@A@@M@@AV@@a@@@l@@v@@A@@Y@Y@A`@F@F@aq@q@ain+a@obmv@v@ada-rd@DAT*d@aO@O@aN@N@!@@0 :p@ : 2I w_report_bodywindowmenuwindowtypewindowstatewindowobjecttoolbaralignmentstructuremailrecipientenvironmentmailfiledescriptionmailmessagedatawindowchildlistviewitemtreeviewitemconnectioninfopowerobject icommandbuttonfontcharsetfontpitchfontfamilyu_dw_baseborderstyledwobjecthscrollbarstatictextalignmentfillpatternpicturebuttonvtextaDAT*lignReportRPT.ICO Xstr_rpt_parms \MS Sans SerifSave As...Zoom 100%Arialprint.bmpPrintExitlast1.bmpLast Pagenext1.bmpNext Pageprior1.bmpPrevious Pagefirst1.bmpFirst Pagepointertransactionsqlcau_class_source_groupgs_databasemessagedragobjectsqlpreviewfunctionsqlpreviewtypedwbufferf_stringglobalreplacef_dlookupw_report_print2 w_report_bodyDAT*   wparamlparam+ue_retrieveof_rollupof_modobjectsql+open+create+destroy+clickedxposyposrowdwo+rbuttondownrequestsqltypesqlsyntaxbuffer+sqlpreviewal_rowas_actionaa_data+ue_scanrowscrollpos+moved+pageright+lineleft+lineright+pageleftG0  LULILQon]bgkLIILCdwobject.u]bgk|/01DAT*gLCsqlpreviewfunction.Csqlpreviewtype.SCdwbuffer.LLLSALI,l 8 xQ _initsrcwindoww_report_bodymenuwindowtypewindowstatewindowobjecttoolbaralignmentstructuremailrecipientenvironmentmailfiledescriptionmailmessagedatawindowchildlistviewitemtreeviewitemconnectioninfopowerobjectcommandbuttoncb_savefontcharsetfontpitchfontfamilyu_dw_basedw_1borderstyleDAT*dwobjecthscrollbarhsb_zoomstatictextst_zoomalignmentfillpatternpicturebuttonpb_closevtextaligncb_exitpb_lastpb_nextpb_priorpb_firststr_rpt_parmspointertransactionu_class_source_groupmessagedragobjectsqlpreviewfunctionsqlpreviewtypedwbufferw_report_print@&@+@6@B@O@`@j@x @DAT* @  @ :@ @<@^@8@`@\@  @8  @ @@*/ia@ !;@D@Oe,!X@c<k_c@nt,&ual@ thies@thishi_priis@1,& DAT*}  on se  O @ @p@!@#@%@^ 'p@@p@(@*)@9*@<B-@ "$%&'(DAT*zY!5*-(1. !--!-!-!-!- K:F@@8$$<$L$6T$,")l8DAT*t$$)8<18080:)@@81F1F8080:)@@81,$8f$8 )D8 8L0$$1 @88 80  } @8}1< 1<Yo@o8DAT*  <<R@8 80  z% z&8@8}1< 1<Yo@o8 <Y@8 8z% z&8<R}8<@8}8z%8z& $)8 8f80 8z%@8@DAT*818$P$X$p$#1x$9)81 $$$$$$$$$ $$$4$<$D$`$h$p$$$$5$$5$$6$$6$DAT* $6$$$6,$<$)P 8X$`$1@88hp$8x0)8 1( $9}$$$$$$$$$$$ $($0$8$@$H$P$X$`DAT*$h$5p$x$5$$6$$6$$6$$6$$) 8$$1 8$$z%8z& $)8 1 #! 808'0@8T$\$d$l$t$|$$$DAT*$$$$$$$$$$$$$5$$5 $$6$$$6,$4$6<$D$6L$T$1)\ 8d$l801* 8t080:)@@8$9)8@81DAT*$$1@88h $8x0)8$9)81$$! )81< 11 1X 8 08 0:)@@8 8t080:)@@8@818 0\ $)d 81  Nn :#F&Z),-DAT*014526`8:ABEF(GXJvKM_`ab$cPkfmtnpqr}~ 6T 2 d   * l   & T X d wparamlparamll_rcls_dw_syntaxls_selectll_indll_icsqlcals_sqlls_decodels_leftls_rightls_errorli_lengthli_posgs_database@  ) DAT*3:@"@+F M W _ h q{$@l  dw_1+dataobjectistr_rpt_parms,4)rptnameD+settransobject^\,4)source_groupchi| +of_modobjectsqlErrorCould not generate report SQL.No source group criteria data was added to report SQL.ORACDAT*LE+DataWindow.Table.selectdescribej8IF v_rap_reports.data_code IS NULL THEN :as_null ELSE IF v_rap_reports.data_code = 'RO' THEN :as_ro ELSE v_rap_reports.data_code ENDIF ENDIF,4)DwarehouseIF rap_reports_temp.data_code IS NULL THEN :as_null ELSE IF rap_reports_temp.data_code = 'RO' THEN :as_ro ELSE rap_reports_temp.data_code ENDIF ENDIFDECODE(data_code,NULL,:as_null,'RO',:as_ro,data_code)'~'DataWindow.Table.select='+modifyzDataWindow SDAT*elect unchanged. Contact Technical Support. t,4)matcode_blockso@ ,4)rollup_reportri` +setredrawom!+,4)| il_nationarrayp,4)| il_statearrayri,4)| il_countyarray ,4)| il_sourcearray$,4)| il_sourcesub1arrayL ,4)| il_sourcesub2arrayx ,4)fromdate,4)todate,4)as_null,4)as_ro,4)DAT*unitcode,4)refcode,4)matcode4retrieve2D,4)Drollupe+check value typesof_scanreverse+ib_retrieveappendur+,4)| ,4)| ,4)| ,4)| $,4)| L ,4)| x ,4),4),4),4),4),4),4)@ 2D+is_sql+DAT*p@)b?QA%p@p@tp@@@a#\@\@q.[@[@:c@c@qGU@U@X`@`@qbj@j@pk@k@|l@l@m@m@@@@@@@@@^@^@ @@@@&@@0@@;@@`D@@P@@[@@e@@q@@S@S@@@@@n@n@v@v@/id@d@p@z1 w_report_printwDAT*indowmenuwindowtypewindowstatewindowobjecttoolbaralignmentstructuremailrecipientenvironmentmailfiledescriptionmailmessagedatawindowchildlistviewitemtreeviewitemconnectioninfopowerobject NcommandbuttonfontcharsetfontpitchfontfamilycheckboxborderstylestatictextalignmentfillpatternsinglelineedittextcaseradiobuttongroupboxPrint Report datawindow CPrinteDAT*r...MS Sans SerifCancelOKCollate Cop&iesPrint to Fi&leEnter page numbers and/or page ranges separated by commas. For example: 2, 4, 7-9Pa&ges:Curr&ent Page&All1Copies:nonePrinter:Page Rangemessagedragobjectw_report_body2 w_report_print 2 +open+create+destroy+clicked+modified LQ x' _initsrcwindoww_report_printmenuwindowtypewindowstatewindowobjecttoolbDAT*aralignmentstructuremailrecipientenvironmentmailfiledescriptionmailmessagedatawindowchildlistviewitemtreeviewitemconnectioninfopowerobjectcommandbuttoncb_printerfontcharsetfontpitchfontfamilycb_cancelcb_okcheckboxcbx_collateborderstylecbx_filestatictextst_4alignmentfillpatternsinglelineeditsle_rangetextcaseradiobuttonrb_rangerb_currentrb_allsle_copiesst_2st_printerst_1groupboxgb_1datawindowmessagedragobjectw_report_bodyDAT*@k@l@N'@@,@@7@@C@^@P@TK a@k@y @%% @% @ser_ le@ckg co@s_mada@segss@gs_r_t@gb_g@vgss_ileli@b_exp@xtp_f@str$.&z'4}@P!=DAT*I@U!^@i<n@x8@z%@zz&@z&@ nged  tcha itontf nmfillpoant@@ @"@#io@ DAT*"%&'()*+-wW :*-----. !;-DAT*##$-$-$-!;-##. . . ,% ,!$,$<D$8L)h8p$18x)88@8Y1Y@8DAT*$8z%8L$$$8z%$$$8z%,!1,! $ XHLd) lw_objls_pagemessage::messageP  !@/!@/ idw_obj9. ^@st_printer 6*text49.DataWindow.PrDAT*interdescribej_9.pagegetitemstring}ofrb_all3'4&All (13'43'4 page)@3'43'4 pages)  , < D h p              *0*8H*Pd*l***DAT****  *(8*@T*\l*t*$$$$$$$$$$$$$ $$ |,BXn 4Jd p cb_printerDAT**cb_cancel$+$cb_ok@,@cbx_collateX-Xcbx_filet.tst_4fr/sle_rangell0""rb_range 1%%rb_current@2&&rb_all3''sle_copies4((st_2@05)0)st_printerH6*H*st_1d7+d+gb_1ase|8-|-controlc@*$+@,X-t./0"1%2&3'4(05)H6*dDAT*PDW0800vpdwPl  ```` F$pu:v,ddDAT*`a  @x`"DAT*  t_1$1<  $ 0%  MS Sans SerifMS Sans Serif$2$-12$700$ 536870912$DAT*18$T84$P80$ 3054%Emissions by CountyEmissions by County"!0`4#$')+-/2t_2< % $&-8$(n622$*DAT*$292$,@64$.[347%01 End Date: End Date:"30`="5$'6+-8;t_3$7212%9: Start Date: Start Date:"<0`H4>$?)+ADAT*CFt_4$@n1646$B512%DEUnits:Units:"G0`Q=I$?6+JLOt_5$K507%MNReference Code:Reference Code:"P0gHRS [])+DAT*_a(edrap_units_name<T W Y%UVArialArial$X-10$Z400$\ 16777215$^n2158$`640&bc [general] [general]"fDAT*0lQhS []6+_a(ji reference_code"k0ngmnoq+_as~page< % Y$p 2432$r20%tu(DAT*'Page ' + page() + ' of ' + pageCount() ^v} ^w{ ^xzy Page |  of "0nlnq+ compute_1$421& dd-mmm-yyyy dd-mmm-yyyy()today()"DAT*0nS [6+_ start_date_c$969()date( left ( start_date, 11) ) `  &@"0nS [)+_ end_date_c()DAT*date( left ( end_date, 11) ) `  &@"0@X`n [q+t_11$ 3035%?Emissions by county and metric code for the current selection.?Emissions by county and metric code for the DAT*current selection."0@ n [q+a stream_id$439"0n [q+ a cmin_decodeDAT*$457$238"0n [q+ a value_type$695"0nn q+  value_type_c$DAT* 15793151$933& [general] [general]$# if( isNull( value_type ), 0, 1)   ?"0nn q+  compute_5$ 15780518$DAT*1298$#data_code_flag data_code_flag"0nn q+a  compute_6$1536$#value_type_flag value_type_flag"0n [DAT*q+camount$1774&0.0####0.0####"0n$ q+stream_amount$ 12632256$2249&0.0####0.0####DAT*$#+camount * data_code_flag * value_type_flag 0 0  data_code_flag value_type_flag" 0$  553648127@,+'(@XPDAT* [l_1$5$0$4S [-q+a(2 nation_name$1755"0`$q+ "%DAT*v_rap_reports_nation_name_t$!219%#$Nation:Nation:"&0@%)* nation_name ,? ,;<@H-22.,S [-+a(DAT*0/2 state_name"10`-3,$+469v_rap_reports_state_name_t$5183%78State:State:":0@%=> state_name ,z+@tDAT* w@AiPCB@ [l_2HAD@S [-+a(FE2 county_name"G0`QCI@$+JLOv_rap_reports_county_name_t$DAT* K229%MNCounty:County:"P0PUHR@ [SSl_3$T164`bQV@$WY+[]`v_rap_reports_metric_code_t$X[1115$Zd100$\658DAT*%^_ METRIC CODE METRIC CODE"a0`iUc@$ Y+[dgv_rap_reports_material_code_t%efMATERIAL CODEMATERIAL CODE"h0`bj@$kY+mort_6$l2011$n DAT*800%pqAMOUNTAMOUNT"s0@(uuPvt [l_4%xy county_name 4?{@H |}{S [ +[DAT*a(~ material_code"0|{S [W+[a( metric_code"0n{S [k+m compute_2$#!sum( stream_amoDAT*unt for group 4 )["0@ o% county_name %material_code % metric_code % county_name %material_code % metric_code DAT*5 stream_amount4z@ S [q+[a( source_id$n110"0S [q+[DAT*a( material_code_1$896"0nS [q+[process_amount$#!sum( stream_amount for group 5 )["0S [q+[aDAT*( metric_code_1$%1573"0@  % source_id %material_code % metric_code % source_id %DAT*material_code % metric_code 5 stream_amount4  @ S [q+[a( device_id$146"DAT*0S [q+[a( material_code_2"0S [q+[a( metric_code_2"0nS [q+[DAT*  compute_3$#!sum( stream_amount for group 6 )["0@  ral% device_id %material_code % metric_code % device_id %DAT*"material_code % metric_code  5  stream_amount4_%H[RUX@ S [4q+[a ( process_id"0DAT*$S [q+[a( material_code_3"0S [q+[a( metric_code_3"0nS [q+[ # comDAT*&pute_4$#!"!sum( stream_amount for group 7 )["$0@&D4'%( )+-/_a(21rap_units_name_1<T % Y$* 16776960$,1463DAT*($.,44$0856"30<&5%( )-/_6(:9 end_date&78[shortdate] [time][shortdate] [time]";0`D4=%( ) >-/@CBt_9$DAT**?%1061$A402"C0`<E%( ) -/@/Ft_10"G0I LoO%JK process_id  %MNmaterial_code %PQ metric_code %ST process_id DAT*, %VWmaterial_code %YZ metric_code \5] ^stream_amount4 `o@ aanb`n +cemdata_code_flag$d1262$#fgDAT*.9if( cmin_decode = min( cmin_decode for group 8 ), 1, 0 )hkl ij [ ? "n0@pwqo( )r/_6(ut start_date$s 32"vDAT*00`{pxo( ) >r/@Lyt_7"z0`w|o( ) r/@8}t_8"~0{o( )+r/_a( reference_code_1"0DAT*2on.% stream_id %material_code % metric_code % stream_id %material_code % metric_code X 8_@ DAT*4nn +cavalue_type_flag$%1317$#;if( value_type_c = max( value_type_c for group 9 ), 1, 0 )   value_type_c[ ? "0@DAT*6% stream_id %material_code % metric_code % cmin_decode S  value_type_c_DAT*83-3 C  3  3DAT*: 3    3!" %#$DAT*<(|&' .,- 4g23 867CpABG4EFKQIJOMNDAT*>WUV\ #ss ee % nation_name % state_name % county_name %material_code % metric_code %DAT*@ source_id % device_id % process_id  % stream_id % cmin_decode % value_type \ gengPI\D apts_crord .  :fromDate:toDate :as_null:as_ro :fromDate:toDAT*Date :fromDate:toDate :unitCode :refCode :matCodel al_nationArrayal_stateArrayal_countyArrayal_sourceArrayal_sourceSub1Arrayal_sourceSub2Array fromDatetoDateas_nullas_ro unitCoderefCodematCodeaDAT*Drelease 8; datawindow(units=0 timer_interval=0 color=16777215 processing=0 HTMLDW=no print.documentname="RAPIDS Report" print.orientation = 0 print.margin.left = 300 print.margin.right = 100 print.margin.top = 100 print.margin.bottom = 150 print.paper.source = 0 print.paper.size = 0 print.prompt=no print.buttons=no print.preview.buttons=no ) header(height=376 color="536870912" ) summary(height=0 color="536870912" ) footer(height=88 color="536870912" ) detail(height=0 color="553648127" ) tablDAT*Fe(column=(type=char(50) updatewhereclause=yes name=nation_name dbname="v_rap_reports.nation_name" ) column=(type=char(50) updatewhereclause=yes name=state_name dbname="v_rap_reports.state_name" ) column=(type=char(50) updatewhereclause=yes name=county_name dbname="v_rap_reports.county_name" ) column=(type=char(15) updatewhereclause=yes name=source_id dbname="v_rap_reports.source_id" ) column=(type=char(50) updatewhereclause=yes name=source_name dbname="v_rap_reports.source_name" ) columnDAT*H=(type=char(4) updatewhereclause=yes name=sic_code dbname="v_rap_reports.sic_code" ) column=(type=char(15) updatewhereclause=yes name=device_id dbname="v_rap_reports.device_id" ) column=(type=char(15) updatewhereclause=yes name=device_code dbname="v_rap_reports.device_code" ) column=(type=char(50) updatewhereclause=yes name=device_name dbname="v_rap_reports.device_name" ) column=(type=char(15) updatewhereclause=yes name=process_id dbname="v_rap_reports.process_id" ) column=(type=char(15)DAT*J updatewhereclause=yes name=process_code dbname="v_rap_reports.process_code" ) column=(type=char(50) updatewhereclause=yes name=process_name dbname="v_rap_reports.process_name" ) column=(type=char(10) updatewhereclause=yes name=scc_code dbname="v_rap_reports.scc_code" ) column=(type=char(20) updatewhereclause=yes name=stream_id dbname="v_rap_reports.stream_id" ) column=(type=char(12) updatewhereclause=yes name=material_code dbname="v_rap_reports.material_code" ) column=(type=char(12) updDAT*Latewhereclause=yes name=metric_code dbname="v_rap_reports.metric_code" ) column=(type=char(12) updatewhereclause=yes name=reference_code dbname="v_rap_reports.reference_code" ) column=(type=char(3) updatewhereclause=yes name=value_type dbname="v_rap_reports.value_type" ) column=(type=char(26) updatewhereclause=yes name=start_date dbname="v_rap_reports.start_date" ) column=(type=char(26) updatewhereclause=yes name=end_date dbname="v_rap_reports.end_date" ) column=(type=char(30) updatewherDAT*Neclause=yes name=rap_units_name dbname="rap_units.name" ) column=(type=number updatewhereclause=yes name=camount dbname="amount" ) column=(type=char(4) updatewhereclause=yes name=cmin_decode dbname="min_decode" ) retrieve="SELECT v_rap_reports.nation_name, v_rap_reports.state_name, v_rap_reports.county_name, v_rap_reports.source_id, v_rap_reports.source_name, v_rap_reports.sic_code, v_rap_reports.device_id, v_rap_reports.device_code, v_rap_reports.device_namDAT*Pe, v_rap_reports.process_id, v_rap_reports.process_code, v_rap_reports.process_name, v_rap_reports.scc_code, v_rap_reports.stream_id, v_rap_reports.material_code, v_rap_reports.metric_code, v_rap_reports.reference_code, v_rap_reports.value_type, :fromDate ~"start_date~", :toDate ~"end_date~", rap_units_b.name, sum(v_rap_reports.value_amount * rap_units_a.conversion_factor_amt / rap_units_b.conversion_factor_amt) ~"amount~", IF v_rap_reports.data_code ISDAT*R NULL THEN :as_null ELSE IF v_rap_reports.data_code = 'RO' THEN :as_ro ELSE v_rap_reports.data_code ENDIF ENDIF ~"min_decode~" FROM v_rap_reports, rap_units rap_units_a, rap_units rap_units_b WHERE ( v_rap_reports.value_unit_code = rap_units_a.code ) AND ( rap_units_a.meas_code = rap_units_b.meas_code ) AND ( v_rap_reports.metric_code IN ('DISCHARGE', 'DOWNSTRMDIS', 'MASS FLOW')) AND ( ( v_rap_reports.start_date BETWEEN :fromDate AND :toDate ) AND ( v_rap_reports.enDAT*Td_date BETWEEN :fromDate AND :toDate ) AND ( rap_units_b.code = :unitCode ) AND ( v_rap_reports.reference_code = :refCode ) AND ( v_rap_reports.material_code IN ( :matCode ) ) ) GROUP BY v_rap_reports.nation_name, v_rap_reports.state_name, v_rap_reports.county_name, v_rap_reports.source_id, v_rap_reports.source_name, v_rap_reports.sic_code, v_rap_reports.device_id, v_rap_reports.device_code, v_rap_reports.device_name, v_rap_reports.process_id, v_raDAT*Vp_reports.process_code, v_rap_reports.process_name, v_rap_reports.scc_code, v_rap_reports.stream_id, v_rap_reports.reference_code, v_rap_reports.material_code, v_rap_reports.metric_code, rap_units_b.name, v_rap_reports.data_code, v_rap_reports.value_type " arguments=(("al_nationArray", numberlist),("al_stateArray", numberlist),("al_countyArray", numberlist),("al_sourceArray", numberlist),("al_sourceSub1Array", numberlist),("al_sourceSub2Array", numberlist),("fromDate",DAT*X datetime),("toDate", datetime),("as_null", string),("as_ro", string),("unitCode", string),("refCode", string),("matCode", stringlist)) sort="nation_name A state_name A county_name A material_code A metric_code A source_id A device_id A process_id A stream_id A cmin_decode A value_type A " ) group(level=1 header.height=88 trailer.height=0 by=("nation_name" ) header.color="536870912" trailer.color="536870912" ) group(level=2 header.height=72 trailer.height=0 by=("state_name" ) header.color="5368DAT*Z70912" trailer.color="536870912" ) group(level=3 header.height=168 trailer.height=40 by=("county_name" ) header.color="536870912" trailer.color="536870912" ) group(level=4 header.height=72 trailer.height=0 by=("county_name" , "material_code" , "metric_code" ) header.color="553648127" trailer.color="536870912" sort="county_name A material_code A metric_code A " ) group(level=5 header.height=0 trailer.height=0 by=("source_id" , "material_code" , "metric_code" ) header.color="553648127" trailer.cDAT*\olor="536870912" sort="source_id A material_code A metric_code A " ) group(level=6 header.height=0 trailer.height=0 by=("device_id" , "material_code" , "metric_code" ) header.color="553648127" trailer.color="536870912" sort="device_id A material_code A metric_code A " ) group(level=7 header.height=0 trailer.height=0 by=("process_id" , "material_code" , "metric_code" ) header.color="553648127" trailer.color="536870912" sort="process_id A material_code A metric_code A " ) group(level=8 header.DAT*^height=0 trailer.height=0 by=("stream_id" , "material_code" , "metric_code" ) header.color="553648127" trailer.color="536870912" sort="stream_id A material_code A metric_code A " ) group(level=9 header.height=0 trailer.height=0 by=("stream_id" , "material_code" , "metric_code" , "cmin_decode" ) header.color="553648127" trailer.color="536870912" ) text(band=header alignment="2" text="Emissions by County" border="0" color="0" x="18" y="84" height="80" width="3054" html.valueishtml="0" name=t_1 vDAT*`isible="1" font.face="MS Sans Serif" font.height="-12" font.weight="700" font.family="2" font.pitch="2" font.charset="0" font.underline="1" background.mode="1" background.color="536870912" ) text(band=header alignment="0" text="End Date:" border="0" color="0" x="622" y="292" height="64" width="347" html.valueishtml="0" name=t_2 visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="5368709DAT*b12" ) text(band=header alignment="0" text="Start Date:" border="0" color="0" x="622" y="212" height="64" width="347" html.valueishtml="0" name=t_3 visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) text(band=header alignment="0" text="Units:" border="0" color="0" x="1646" y="292" height="64" width="512" html.valueishtml="0" name=t_4 visible="1" font.face="MS Sans Serif" fDAT*dont.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) text(band=header alignment="0" text="Reference Code:" border="0" color="0" x="1646" y="212" height="64" width="507" html.valueishtml="0" name=t_5 visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) column(band=header id=21 alignment="0" tabseqDAT*fuence=32766 border="0" color="0" x="2158" y="292" height="64" width="640" format="[general]" html.valueishtml="0" name=rap_units_name visible="1" edit.limit=30 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) column(band=header id=17 alignment="0" tabsequence=32766 border="0" color="0" x="2158" y="212DAT*h" height="64" width="640" format="[general]" html.valueishtml="0" name=reference_code visible="1" edit.limit=12 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) compute(band=header alignment="1" expression="'Page ' + page() + ' of ' + pageCount()"border="0" color="0" x="2432" y="20" height="64" width=DAT*j"640" format="[general]" html.valueishtml="0" name=page visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) compute(band=header alignment="0" expression="today()"border="0" color="0" x="18" y="20" height="64" width="421" format="dd-mmm-yyyy" html.valueishtml="0" name=compute_1 visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitDAT*lch="2" font.charset="0" background.mode="1" background.color="536870912" ) compute(band=header alignment="0" expression="date( left ( start_date, 11) )"border="0" color="0" x="969" y="212" height="64" width="640" format="dd-mmm-yyyy" html.valueishtml="0" name=start_date_c visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) compute(band=header alignment="0" expression="date( left ( eDAT*nnd_date, 11) )"border="0" color="0" x="969" y="292" height="64" width="640" format="dd-mmm-yyyy" html.valueishtml="0" name=end_date_c visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) line(band=header.1 x1="0" y1="4" x2="3054" y2="4" name=l_1 visible="1" pen.style="0" pen.width="5" pen.color="0" background.mode="2" background.color="16777215" ) column(band=header.1 id=1 alignmenDAT*pt="0" tabsequence=32766 border="0" color="0" x="347" y="20" height="64" width="1755" format="[general]" html.valueishtml="0" name=nation_name visible="1" edit.limit=50 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) text(band=header.1 alignment="0" text="Nation:" border="0" color="0" x="18" y="20" heDAT*right="64" width="219" html.valueishtml="0" name=v_rap_reports_nation_name_t visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) column(band=header.2 id=2 alignment="0" tabsequence=32766 border="0" color="0" x="347" y="4" height="64" width="1755" format="[general]" html.valueishtml="0" name=state_name visible="1" edit.limit=50 edit.case=any edit.focusrectangle=no edit.autoselDAT*tect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) text(band=header.2 alignment="0" text="State:" border="0" color="0" x="18" y="4" height="64" width="183" html.valueishtml="0" name=v_rap_reports_state_name_t visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" bDAT*vackground.color="536870912" ) line(band=header.3 x1="0" y1="84" x2="3054" y2="84" name=l_2 visible="1" pen.style="0" pen.width="5" pen.color="0" background.mode="2" background.color="16777215" ) column(band=header.3 id=3 alignment="0" tabsequence=32766 border="0" color="0" x="347" y="4" height="64" width="1755" format="[general]" html.valueishtml="0" name=county_name visible="1" edit.limit=50 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.faDAT*xce="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) text(band=header.3 alignment="0" text="County:" border="0" color="0" x="18" y="4" height="64" width="229" html.valueishtml="0" name=v_rap_reports_county_name_t visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) line(band=header.3 DAT*zx1="0" y1="164" x2="3054" y2="164" name=l_3 visible="1" pen.style="0" pen.width="5" pen.color="0" background.mode="2" background.color="16777215" ) text(band=header.3 alignment="0" text="METRIC CODE" border="0" color="0" x="1115" y="100" height="64" width="658" html.valueishtml="0" name=v_rap_reports_metric_code_t visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) text(baDAT*|nd=header.3 alignment="0" text="MATERIAL CODE" border="0" color="0" x="219" y="100" height="64" width="658" html.valueishtml="0" name=v_rap_reports_material_code_t visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) column(band=header.4 id=15 alignment="0" tabsequence=32766 border="0" color="0" x="219" y="4" height="64" width="658" format="[general]" html.valueishtml="0" namDAT*~e=material_code visible="1" edit.limit=12 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) column(band=header.4 id=16 alignment="0" tabsequence=32766 border="0" color="0" x="1115" y="4" height="64" width="658" format="[general]" html.valueishtml="0" name=metric_code visible="1" edit.limit=12 edit.caseDAT*=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) column(band=header.5 id=4 alignment="0" tabsequence=32766 border="0" color="0" x="110" y="20" height="64" width="658" format="[general]" html.valueishtml="0" name=source_id visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.aDAT*utohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) column(band=header.5 id=15 alignment="0" tabsequence=32766 border="0" color="0" x="896" y="20" height="64" width="658" format="[general]" html.valueishtml="0" name=material_code_1 visible="1" edit.limit=12 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="ArialDAT*" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) compute(band=header.5 alignment="1" expression="sum( stream_amount for group 5 )"border="0" color="0" x="2249" y="20" height="64" width="658" format="0.0####" html.valueishtml="0" name=process_amount visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215"DAT* ) column(band=header.5 id=16 alignment="0" tabsequence=32766 border="0" color="0" x="1573" y="20" height="64" width="658" format="[general]" html.valueishtml="0" name=metric_code_1 visible="1" edit.limit=12 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) column(band=header.6 id=7 alignment="0" tabsDAT*equence=32766 border="0" color="0" x="146" y="20" height="64" width="658" format="[general]" html.valueishtml="0" name=device_id visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) column(band=header.6 id=15 alignment="0" tabsequence=32766 border="0" color="0" x="896" y="20" heiDAT*ght="64" width="658" format="[general]" html.valueishtml="0" name=material_code_2 visible="1" edit.limit=12 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) column(band=header.6 id=16 alignment="0" tabsequence=32766 border="0" color="0" x="1573" y="20" height="64" width="658" format="[general]" html.vDAT*alueishtml="0" name=metric_code_2 visible="1" edit.limit=12 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) compute(band=header.6 alignment="1" expression="sum( stream_amount for group 6 )"border="0" color="0" x="2249" y="20" height="64" width="658" format="0.0####" html.valueishtml="0" name=computeDAT*_3 visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) column(band=header.7 id=10 alignment="0" tabsequence=32766 border="0" color="0" x="183" y="20" height="64" width="658" format="[general]" html.valueishtml="0" name=process_id visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" DAT*font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) column(band=header.7 id=15 alignment="0" tabsequence=32766 border="0" color="0" x="896" y="20" height="64" width="658" format="[general]" html.valueishtml="0" name=material_code_3 visible="1" edit.limit=12 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="DAT*2" font.charset="0" background.mode="2" background.color="16777215" ) column(band=header.7 id=16 alignment="0" tabsequence=32766 border="0" color="0" x="1573" y="20" height="64" width="658" format="[general]" html.valueishtml="0" name=metric_code_3 visible="1" edit.limit=12 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" backgrouDAT*nd.color="16777215" ) compute(band=header.7 alignment="1" expression="sum( stream_amount for group 7 )"border="0" color="0" x="2249" y="20" height="64" width="658" format="0.0####" html.valueishtml="0" name=compute_4 visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) compute(band=header.8 alignment="0" expression="if( cmin_decode = min( cmin_decode for group 8 ), 1, 0 )"border="0" DAT*color="0" x="18" y="4" height="64" width="1262" format="0.0####" html.valueishtml="0" name=data_code_flag visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="15780518" ) compute(band=header.9 alignment="0" expression="if( value_type_c = max( value_type_c for group 9 ), 1, 0 )"border="0" color="0" x="1317" y="4" height="64" width="1262" format="[general]" html.valueishtml="0" name=value_tDAT*ype_flag visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="15780518" ) column(band=detail id=14 alignment="0" tabsequence=32766 border="0" color="0" x="18" y="20" height="64" width="439" format="[general]" html.valueishtml="0" name=stream_id visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="MS Sans Serif" font.height="-8" font.weight="400" font.familDAT*y="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) column(band=detail id=23 alignment="2" tabsequence=32766 border="0" color="0" x="457" y="20" height="64" width="238" format="[general]" html.valueishtml="0" name=cmin_decode visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) coDAT*lumn(band=detail id=18 alignment="2" tabsequence=32766 border="0" color="0" x="695" y="20" height="64" width="238" format="[general]" html.valueishtml="0" name=value_type visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) compute(band=detail alignment="2" expression="if( isNull( value_type ), 0, 1)"border="0" colorDAT*="0" x="933" y="20" height="64" width="238" format="[general]" html.valueishtml="0" name=value_type_c visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="15793151" ) compute(band=detail alignment="2" expression="data_code_flag"border="0" color="0" x="1298" y="20" height="64" width="238" format="[general]" html.valueishtml="0" name=compute_5 visible="1" font.face="MS Sans Serif" font.heiDAT*ght="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="15780518" ) compute(band=detail alignment="2" expression="value_type_flag "border="0" color="0" x="1536" y="20" height="64" width="238" format="[general]" html.valueishtml="0" name=compute_6 visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="15780518" ) column(band=detail idDAT*=22 alignment="1" tabsequence=32766 border="0" color="0" x="1774" y="20" height="64" width="457" format="0.0####" html.valueishtml="0" name=camount visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) compute(band=detail alignment="1" expression="camount * data_code_flag * value_type_flag"borderDAT*="0" color="0" x="2249" y="20" height="64" width="457" format="0.0####" html.valueishtml="0" name=stream_amount visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="12632256" ) column(band=trailer.8 id=19 alignment="0" tabsequence=32766 border="0" color="0" x="421" y="32" height="56" width="640" format="[shortdate] [time]" html.valueishtml="0" name=start_date visible="1" edit.limit=0 editDAT*.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16776960" ) text(band=trailer.8 alignment="2" text="Reference Code:" border="0" color="0" x="1061" y="32" height="56" width="402" html.valueishtml="0" name=t_7 visible="1" font.face="Arial" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charsetDAT*="0" background.mode="2" background.color="16776960" ) text(band=trailer.8 alignment="2" text="Start Date:" border="0" color="0" x="18" y="32" height="56" width="402" html.valueishtml="0" name=t_8 visible="1" font.face="Arial" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16776960" ) column(band=trailer.8 id=17 alignment="0" tabsequence=32766 border="0" color="0" x="1463" y="32" height="56" width="640" format="[generalDAT*6]" html.valueishtml="0" name=reference_code_1 visible="1" edit.limit=12 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16776960" ) column(band=trailer.7 id=21 alignment="0" tabsequence=32766 border="0" color="0" x="1463" y="44" height="56" width="640" format="[general]" html.valueishtml="0" name=rap_units_name_DAT*l nation_namev_rap_reports.nation_name state_namev_rap_reports.state_name- county_namev_rap_reports.county_nameC source_idv_rap_reports.source_id source_namev_rap_reports.source_name sic_codev_rap_reports.sic_code device_idv_rap_reports.device_id device_DAT*" background.color="16777215" ) compute(band=header.4 alignment="1" expression="sum( stream_amount for group 4 )"border="0" color="0" x="1042" y="4" height="64" width="439" format="0.0####" name=county_amt font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) line(band=header.4 x1="1024" y1="0" x2="1024" y2="104" pen.style="0" pen.width="5" pen.color="0" background.mode="2" background.colDAT*or="16777215" ) line(band=header.4 x1="1536" y1="0" x2="1536" y2="100" pen.style="0" pen.width="5" pen.color="0" background.mode="2" background.color="16777215" ) line(band=header.4 x1="2505" y1="0" x2="2505" y2="100" pen.style="0" pen.width="5" pen.color="0" background.mode="2" background.color="16777215" ) line(band=header.4 x1="3474" y1="0" x2="3474" y2="100" pen.style="0" pen.width="5" pen.color="0" background.mode="2" background.color="16777215" ) column(band=header.4 id=15 alignment="DAT*0" tabsequence=32766 border="0" color="0" x="18" y="4" height="64" width="475" format="[general]" name=material_code edit.limit=12 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) column(band=header.4 id=16 alignment="0" tabsequence=32766 border="0" color="0" x="512" y="4" height="64" width="475" format="[genDAT*eral]" name=metric_code edit.limit=12 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) line(band=header.5 x1="1024" y1="0" x2="1024" y2="104" pen.style="0" pen.width="5" pen.color="0" background.mode="2" background.color="16777215" ) line(band=header.5 x1="1536" y1="0" x2="1536" y2="100" pen.style="0" pen.wDAT*idth="5" pen.color="0" background.mode="2" background.color="16777215" ) line(band=header.5 x1="2505" y1="0" x2="2505" y2="100" pen.style="0" pen.width="5" pen.color="0" background.mode="2" background.color="16777215" ) line(band=header.5 x1="3474" y1="0" x2="3474" y2="100" pen.style="0" pen.width="5" pen.color="0" background.mode="2" background.color="16777215" ) compute(band=header.5 alignment="1" expression="sum( stream_amount for group 5 )"border="0" color="0" x="2011" y="4" height="64" DAT*Vrelease 8; datawindow(units=0 timer_interval=0 color=16777215 processing=0 HTMLDW=no print.documentname="RAPIDS Report" print.orientation = 0 print.margin.left = 300 print.margin.right = 100 print.margin.top = 100 print.margin.bottom = 150 print.paper.source = 0 print.paper.size = 0 print.prompt=no print.buttons=no print.preview.buttons=no ) header(height=376 color="536870912" ) summary(height=0 color="536870912" ) footer(height=88 color="536870912" ) detail(height=0 color="553648127" ) tablDAT*width="439" format="0.0####" name=source_amt slideup=directlyabove font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) column(band=header.5 id=4 alignment="0" tabsequence=32766 border="0" color="0" x="1554" y="4" height="64" width="439" format="[general]" name=source_id edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes font.face="MS Sans Serif"DAT*7+|8- 0 8H Pd l         (8 @T \l t                  $($8$L$`$p$$$DAT*$$$$$$$*8FT b p ~ d x cb_printer*cb_cancel_c+cb_ok0,cbx_collate@-cbx_filerT.st_4h/sle_rangex0"rb_range1%rb_current2&rb_all3'sle_copies4(st_25)st_printer6*st_17+gb_1 8- ( 8 DAT*L ` p          &&2  +open+create+destroy<2 xywidthheighttitlebartitlebackcolorcontrolmenuwindowtypecb_printercb_cancelcb_okcbx_collatecbx_filest_4sle_rangerb_rangerb_currentrb_allsle_copiesst_2st_printerst_1gb_1idw_obj p DAT*I"(2>I T ^ d p y ~ " % & ' ( )d@ * + -.] opIDAT*  1  @@@       " % & ' ( ) * + -.& DAT* x@$$$4$8<)X8,!f1t,!`$Ld ::message!@/h( st_printer6*textnceidw_obj,9.DataWindow.PrinterdescribejO $ 4 X ` ""2  +clicked2 U xywidDAT*thheighttabordertexttextsizeweightfacenamefontfamilyfontpitch x %ld"'07@K] ox%ld @ @DAT*"J@8,!01>,!$d ::message!@/  ""2  +clicked2 U xywidthheighttabordertexttextsizeweightfacenamefontfamilyfontpitch  %lZ"!DAT*'07@K] o%lZ @ @!"$$$8,0$8$#!j8@\$d$z%x$$p$$DAT*)88)818@81Y@88z%z&8z&8z%$ $z&8z& $($80z%X$`$9,$p$)8}}1<08z%z&8z&1<v,!^1l,!$1<80DAT*80@8,!1,!$$)88,8$$z%8 z&6@8,!z1,!$$$$9,$)<8@8,!1,!D$B j 6p ,!D"r#$(*+,`0146dXDAT* ls_modifyls_pagels_pathls_filels_errli_rtnw_report_bodycase29::message   " * 18$@1FN!@/L sle_copies4(text4(DataWindow.Print.Copies=4(rb_currentl2&checkedidw_obj9.9.getrowpagegetitemstringof DataDAT*Window.Print.Page.Range=''sle_rangent0"cbx_collate- DataWindow.Print.Collate=Yescbx_fileoN.dw_1e+h+saveas5x DataWindow.Print.FileName=' ErrorError getting print file name9.modify zModify 9. ErrorN.9.print+4 $ 0 8 \ d x           ( X DAT*` p          $ , < D ""2  +clicked2 ] xywidthheighttabordertextdefaulttextsizeweightfacenamefontfamilyfontpitch @ %lP"('/8?DAT*HS] o@%lP @ @("2  2 u xywidthheighttabordertextborderstyletextcolorbackcolortextsizeweightfacenamefontfamilyfontpitch ( DAT*LF"+'3=GPW`k] o(LF  @+@2  2 u DAT*  xywidthheighttabordertextborderstyletextcolorbackcolortextsizeweightfacenamefontfamilyfontpitch  L<";'3=GPW`k] oL< DAT* +zRetrieve Append FailedSelect unchanged. Contact Technical Support.+,4)| ,4)| ,4)| ,4)| $,4)| L ,4)| x ,4),4),4),4),4),4),4)@ 2D+Report ErrorError retrieving report data.+!,4)D++!,4)`DAT* 1DAT*p@f?QA.p@p@p@q@@a!\@\@a,[@[@8c@c@aEU@U@aV`@`@a`j@j@qnk@k@zl@l@m@m@@@@@@@@@^@^@0g@X@X@A&@@2a@pn@`@@an@0o@o@q@@`@@a@@A@@a@@a@@q@@L/g@pg@`@@ X`@ 1d@d@a<leDv@DAT*v@DmoH Lz XF@F@q`is okp@)kloJby w_report_oldwindowmenuwindowtypewindowstatewindowobjecttoolbaralignmentstructuremailrecipientenvironmentmailfiledescriptionmailmessagedatawindowchildlistviewitemtreeviewitemconnectioninfopowerobject tfu_class_ss_clientuserobjectsborderstyleu_class_source_group 8Wu_dw_reference_codedwobjectd_reference_codesu_dDAT*w_unit_codedatastored_units_dddw_on_qccheckerstatictextfontcharsetfontpitchfontfamilyalignmentfillpatterndropdownlistbox d?u_pollutant XXu_emis_period  commandbuttonRAPIDS ReportsRpt.icop@ rstr_rpt_parmsp@ 8DAT*> DMS Sans SerifSelect Report:Emissions by CountyEmissions by SourceEmissions by DeviceEmissions by ProcessSource Emissions SummarySource Detail ReportSource Device ConnectionsCounty Emissions Breakdown h) %9Ng| h) %9Ng| DAT*8> 8 tmExitPreviewdragobjectgs_filtmessagegs_databasepointergs_inifilew_report_bodyH$X0h2 w_report_old $ F +create+destroy+closequeryindex+selectionchanged+DAT*clicked QL%LI  x _initsrcwindoww_report_oldmenuwindowtypewindowstatewindowobjecttoolbaralignmentstructuremailrecipientenvironmentmailfiledescriptionmailmessagedatawindowchildlistviewitemtreeviewitemconnectioninfopowerobjectu_class_ss_clientuo_ssuserobjectsborderstyleu_class_ss_client`cb_debugu_class_ss_client`pb_printu_class_ss_client`st_data_levelu_class_ss_client`st_4u_class_ss_client`st_result_countu_class_ss_cliDAT*ent`st_3u_class_ss_client`st_filter_countu_class_ss_client`st_source_countu_class_ss_client`st_2u_class_ss_client`st_1u_class_ss_client`cb_source_selectoru_class_source_groupu_dw_reference_codedw_reference_codesdwobjectu_dw_unit_codedw_unit_measdatastorestatictextst_select_reportfontcharsetfontpitchfontfamilyalignmentfillpatterndropdownlistboxddlb_reportnameu_pollutantuo_pollutantu_pollutant`dw_material_groupu_pollutant`cb_remove_allu_pollutant`cb_add_allu_pollutant`st_2DAT*u_pollutant`dw_materialu_pollutant`st_1u_pollutant`gb_1u_emis_perioduo_emis_periodu_emis_period`st_3u_emis_period`st_2u_emis_period`em_endu_emis_period`em_startu_emis_period`st_1u_emis_period`ddlb_intervalu_emis_period`gb_1commandbuttoncb_closecb_previewstr_rpt_parmsdragobjectmessagepointerw_report_body@%@*@5@A@N@@_DAT*@i@w @ @@ @ @ @@@@@ol@d@ @mess!3teeN8V n! ! 0 < id0 MEU@DAT*w_syjw@ash_~h@Pse@@tchait@ontfnmfillpo@ant@@@@@#3 io@,%?Ljesetf8g8z&+!@DAT*Report preview window.forward global type w_report_body from window end type type cb_save from commandbutton within w_report_body end type type dw_1 from u_dw_base within w_report_body end type type hsb_zoom from hscrollbar within w_report_body end type type st_zoom from statictext within w_report_body end type type pb_close from picturebutton within w_report_body end type type cb_exit from commandbutton within w_report_body end type type pb_last from picturebutton within w_report_bDAT*ody end type type pb_next from picturebutton within w_report_body end type type pb_prior from picturebutton within w_report_body end type type pb_first from picturebutton within w_report_body end type end forward global type w_report_body from window integer x = 5 integer y = 4 integer width = 3685 integer height = 2148 boolean titlebar = true string title = "Report" boolean controlmenu = true windowtype windowtype = response! windowstate windowstate = maximized! long backcoloDAT*r = 12632256 string icon = "RPT.ICO" event ue_retrieve pbm_custom01 cb_save cb_save dw_1 dw_1 hsb_zoom hsb_zoom st_zoom st_zoom pb_close pb_close cb_exit cb_exit pb_last pb_last pb_next pb_next pb_prior pb_prior pb_first pb_first end type global w_report_body w_report_body type variables str_rpt_parms istr_rpt_parms; // structure which stores all reporting parameters end variables forward prototypes public function integer of_rollup () public function long of_modobjectsqDAT*l () end prototypes event ue_retrieve;long ll_rc string ls_dw_syntax string ls_select long ll_ind, ll_ic SetPointer(HourGlass!) //set up the report data object dw_1.DataObject = istr_rpt_parms.rptname dw_1.SetTransObject(SQLCA) //messageBox("Debug Before SQL Modify", string(dw_1.object.datawindow.table.select), none!) //modify the report SQL to contain the selection criteria ll_rc = istr_rpt_parms.source_group.of_modObjectSQL(dw_1) //mkc 09/20/03 modified to account for DAT*Fchanges in the datamart //ll_rc = of_modobjectsql() if ll_rc < 0 then messageBox("Error", "Could not generate report SQL.", exclamation!) return -1 elseif ll_rc = 0 then messageBox("Error", "No source group criteria data was added to report SQL.", exclamation!) return 0 end if //modify the report SQL to work with Oracle //this following code segment was ported from old report preview window (w_rpt_body) string ls_sql, ls_decode, ls_left, ls_right, ls_error integer li_length, liDAT* font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) line(band=header.6 x1="1024" y1="0" x2="1024" y2="104" pen.style="0" pen.width="5" pen.color="0" background.mode="2" background.color="16777215" ) line(band=header.6 x1="1536" y1="0" x2="1536" y2="100" pen.style="0" pen.width="5" pen.color="0" background.mode="2" background.color="16777215" ) line(band=header.6 x1="2505" y1="0" x2="2505" y2="100" pen.style="0"DAT* pen.width="5" pen.color="0" background.mode="2" background.color="16777215" ) line(band=header.6 x1="3474" y1="0" x2="3474" y2="100" pen.style="0" pen.width="5" pen.color="0" background.mode="2" background.color="16777215" ) compute(band=header.6 alignment="1" expression="sum( stream_amount for group 6 )"border="0" color="0" x="2981" y="4" height="64" width="439" format="0.0####" name=device_amt slideup=directlyabove font.face="MS Sans Serif" font.height="-8" font.weight="400" font.familyDAT*="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) column(band=header.6 id=7 alignment="0" tabsequence=32766 border="0" color="0" x="2523" y="4" height="64" width="439" format="[general]" name=device_id edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) line(baDAT*nd=header.7 x1="2505" y1="0" x2="2505" y2="100" pen.style="0" pen.width="5" pen.color="0" background.mode="2" background.color="16777215" ) line(band=header.7 x1="3474" y1="0" x2="3474" y2="100" pen.style="0" pen.width="5" pen.color="0" background.mode="2" background.color="16777215" ) line(band=header.7 x1="1536" y1="0" x2="1536" y2="100" pen.style="0" pen.width="5" pen.color="0" background.mode="2" background.color="16777215" ) line(band=header.7 x1="1024" y1="0" x2="1024" y2="120" pen.styDAT*le="0" pen.width="5" pen.color="0" background.mode="2" background.color="16777215" ) compute(band=header.7 alignment="1" expression="sum( stream_amount for group 7 )"border="0" color="0" x="3950" y="4" height="64" width="439" format="0.0####" name=process_amt slideup=directlyabove font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) column(band=header.7 id=10 alignment="0" tabsequence=3DAT* 2766 border="0" color="0" x="3493" y="4" height="64" width="439" format="[general]" name=process_id edit.limit=0 edit.case=any edit.autoselect=yes font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) compute(band=header.8 alignment="0" expression="if( cmin_decode = min( cmin_decode for group 8 ), 1, 0 )"border="0" color="0" x="18" y="4" height="64" width="1262" format="0.0####" name=data_DAT* code_flag font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="15780518" ) compute(band=header.9 alignment="0" expression="if( value_type_c = max( value_type_c for group 9 ), 1, 0 )"border="0" color="0" x="1317" y="4" height="64" width="1262" format="[general]" name=value_type_flag font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" backgroundDAT*.mode="2" background.color="15780518" ) column(band=detail id=14 alignment="0" tabsequence=32766 border="0" color="0" x="1701" y="20" height="64" width="439" format="[general]" name=stream_id edit.limit=0 edit.case=any edit.autoselect=yes font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) column(band=detail id=23 alignment="2" tabsequence=32766 border="0" color="0" x="2139" y="20" heighDAT*&t="64" width="238" format="[general]" name=cmin_decode edit.limit=0 edit.case=any edit.autoselect=yes font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) column(band=detail id=18 alignment="2" tabsequence=32766 border="0" color="0" x="2377" y="20" height="64" width="238" format="[general]" name=value_type edit.limit=0 edit.case=any edit.autoselect=yes font.face="MS Sans Serif" font.heigDAT* source_id %material_code % metric_code 5 stream_amount4@HP lNjNlP lSjDAT*SP lVjVP lYjYn l device_amt$#!sum( stream_amount for group 6 )[ l8(DAT* device_id@P lVP lNjNP lSjSP lVjVP DAT*lYjY I on.% device_id %material_code % metric_code % device_id %material_code % metric_code 5 stream_amount4DAT*  @HP lVjVP lYjYP lSjSP lNjN$x120nDAT* l. process_amt$#!sum( stream_amount for group 7 )[ l(   process_id@P lYDAT*P lNjNP lSjSP lVjVP lYjY  % process_id  %material_code DAT* %  metric_code %   process_id  %material_code % metric_code 5 stream_amount4<%&9036@n ,DAT*"data_code_flag$1262$#9if( cmin_decode = min( cmin_decode for group 8 ), 1, 0 ) #$ !" [ ? @'&@*I -%() stream_id %+,material_code DAT*$%./ metric_code %12 stream_id %45material_code %78 metric_code :X; 8=KXLORU@>>n?= @BDAT*(value_type_flag$A%1317$#CD;if( value_type_c = max( value_type_c for group 9 ), 1, 0 )EIJ FH G value_type_c[ ? @%MN stream_id %PQmaterial_code %STDAT*,ht="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) compute(band=detail alignment="2" expression="if( isNull( value_type ), 0, 1)"border="0" color="0" x="2615" y="20" height="64" width="238" format="[general]" name=value_type_c font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="15793151" ) compute(band=detail alignment="2" expDAT** metric_code %VW cmin_decode YSZ [ value_type_c]DAT*833[33DAT*.ression="data_code_flag"border="0" color="0" x="2981" y="20" height="64" width="238" format="[general]" font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="15780518" ) compute(band=detail alignment="2" expression="value_type_flag "border="0" color="0" x="3218" y="20" height="64" width="238" format="[general]" font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2"DAT*0 font.charset="0" background.mode="2" background.color="15780518" ) column(band=detail id=22 alignment="1" tabsequence=32766 border="0" color="0" x="3456" y="20" height="64" width="457" format="0.0####" name=camount edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) compute(band=detail alignment="1" expression="camountDAT*2 * data_code_flag * value_type_flag"border="0" color="0" x="3931" y="20" height="64" width="457" format="0.0####" name=stream_amount font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="12632256" ) line(band=trailer.7 x1="3474" y1="4" x2="4407" y2="4" pen.style="0" pen.width="5" pen.color="0" background.mode="2" background.color="16777215" ) line(band=trailer.7 x1="1024" y1="0" x2="1024" y2="100" peDAT*4n.style="0" pen.width="5" pen.color="0" background.mode="2" background.color="16777215" ) line(band=trailer.7 x1="1536" y1="0" x2="1536" y2="100" pen.style="0" pen.width="5" pen.color="0" background.mode="2" background.color="16777215" ) line(band=trailer.7 x1="2505" y1="0" x2="2505" y2="100" pen.style="0" pen.width="5" pen.color="0" background.mode="2" background.color="16777215" ) line(band=trailer.7 x1="3474" y1="0" x2="3474" y2="100" pen.style="0" pen.width="5" pen.color="0" background.DAT*6mode="2" background.color="16777215" ) line(band=trailer.6 x1="2505" y1="4" x2="4407" y2="4" pen.style="0" pen.width="5" pen.color="0" background.mode="2" background.color="16777215" ) line(band=trailer.6 x1="1024" y1="0" x2="1024" y2="100" pen.style="0" pen.width="5" pen.color="0" background.mode="2" background.color="16777215" ) line(band=trailer.6 x1="1536" y1="0" x2="1536" y2="100" pen.style="0" pen.width="5" pen.color="0" background.mode="2" background.color="16777215" ) line(band=traiDAT*Bler.6 x1="2505" y1="0" x2="2505" y2="100" pen.style="0" pen.width="5" pen.color="0" background.mode="2" background.color="16777215" ) line(band=trailer.6 x1="3474" y1="0" x2="3474" y2="100" pen.style="0" pen.width="5" pen.color="0" background.mode="2" background.color="16777215" ) line(band=trailer.5 x1="1536" y1="4" x2="4407" y2="4" pen.style="0" pen.width="5" pen.color="0" background.mode="2" background.color="16777215" ) line(band=trailer.5 x1="3474" y1="0" x2="3474" y2="100" pen.style="0DAT*: 3   3 q t DAT*<~ \ ^a adeegricj A DAT*>mpsv y|%_` nation_name %bc state_name %ef county_name %himaterial_code %kl metric_code %no source_id %qr device_id %tu process_id DAT*@ %wx stream_id %z{ cmin_decode %}~ value_type \ gengPI\D apts_cbrn. .  :fromDate:toDate :as_null:as_ro :fromDate:toDate :fromDate:toDate :unitCode :refCode :matCodel DAT*al_nationArrayal_stateArrayal_countyArrayal_sourceArrayal_sourceSub1Arrayal_sourceSub2Array fromDatetoDateas_nullas_ro unitCoderefCodematCode>d nation_namev_rap_reports.nation_name staDAT*D" pen.width="5" pen.color="0" background.mode="2" background.color="16777215" ) line(band=trailer.5 x1="1024" y1="0" x2="1024" y2="100" pen.style="0" pen.width="5" pen.color="0" background.mode="2" background.color="16777215" ) line(band=trailer.5 x1="1536" y1="0" x2="1536" y2="100" pen.style="0" pen.width="5" pen.color="0" background.mode="2" background.color="16777215" ) line(band=trailer.5 x1="2505" y1="0" x2="2505" y2="100" pen.style="0" pen.width="5" pen.color="0" background.mode="2" bDAT*ackground.color="16777215" ) line(band=trailer.4 x1="0" y1="4" x2="4407" y2="4" pen.style="0" pen.width="5" pen.color="0" background.mode="2" background.color="16777215" ) line(band=trailer.4 x1="1024" y1="0" x2="1024" y2="100" pen.style="0" pen.width="5" pen.color="0" background.mode="2" background.color="16777215" ) line(band=trailer.4 x1="1536" y1="0" x2="1536" y2="100" pen.style="0" pen.width="5" pen.color="0" background.mode="2" background.color="16777215" ) line(band=trailer.4 x1="250DAT*H_pos IF gs_database = 'ORACLE' THEN //grab the report sql ls_sql = dw_1.Describe("DataWindow.Table.select") //search for the following string in the sql ls_decode = "IF v_rap_reports.data_code IS NULL THEN :as_null ELSE IF v_rap_reports.data_code = 'RO' THEN :as_ro ELSE v_rap_reports.data_code ENDIF ENDIF" //the following line is for a datawarehouse table (only implemented for testing) if right(istr_rpt_parms.rptname, 9) = "warehouse" then ls_decode = "IF rap_reports_temDAT*Jp.data_code IS NULL THEN :as_null ELSE IF rap_reports_temp.data_code = 'RO' THEN :as_ro ELSE rap_reports_temp.data_code ENDIF ENDIF" end if li_length = LEN(ls_decode) li_pos = POS(ls_sql, ls_decode) //if ls_decode found in ls_sql, replace ls_decode with something Oracle can understand if li_pos > 0 then ls_left = LEFT(ls_sql, li_pos - 1) ls_right = MID(ls_sql, li_pos + li_length) ls_decode = "DECODE(data_code,NULL,:as_null,'RO',:as_ro,data_code)" ls_sql = ls_left + lDAT*Ls_decode + ls_right end if // add tildes to ls_sql for parsing in DwModify REJ 22FEB96 // modified by MDY 10/98 to work on the whole sql string //commented out 5/18/2003 by mkc1555 because it did not work on the whole string li_pos = pos(ls_sql, "'") DO WHILE li_pos > 0 //replace ' with ~~~' ls_left = left(ls_sql, li_pos - 1) ls_right = right(ls_sql, len(ls_sql) - li_pos) ls_sql = ls_left + "~~~'" + ls_right //increment li_pos and look for another ' li_poDAT*Ns = li_pos + len("~~~'") li_pos = pos(ls_sql, "'", li_pos) LOOP // Change datetime to to_date for Oracle // ls_decode = "datetime(:FromDate), datetime(:toDate )" // li_length = LEN(ls_decode) // li_pos = POS(ls_sql,ls_decode) // // ls_select = LEFT(ls_sql,li_pos - 1) // ls_rest = MID(ls_sql, li_pos + li_length) // // ls_decode = "to_date(:FromDate), to_date(:ToDate)" // // ls_sql = ls_select + ls_decode + ls_rest //messageBox("Debug Oracle SQL Before SQL Modify", ls_sqDAT*Pl, none!) //update the datawindow sql ls_dw_syntax = "DataWindow.Table.select='" + ls_sql + "'" ls_error = dw_1.Modify(ls_dw_syntax) IF ls_error <> '' THEN MessageBox("DataWindow",ls_error + "~rSelect unchanged. Contact Technical Support.") Close(this) END IF END IF //Oracle //messageBox("Debug After SQL Modify", string(dw_1.object.datawindow.table.select), none!) //retrieve the report data ll_ic = 0 //if isvalid(istr_rpt_parms.matcode_blocks) and not isnull(istr_rptDAT*R_parms.matcode_blocks) then ll_ic = upperbound(istr_rpt_parms.matcode_blocks ) if not istr_rpt_parms.rollup_report then ll_ic = 1 //end if dw_1.setredraw( false) if ll_ic <= 1 then ll_rc = dw_1.retrieve(istr_rpt_parms.source_group.il_nationArray, & istr_rpt_parms.source_group.il_stateArray, & istr_rpt_parms.source_group.il_countyArray, & istr_rpt_parms.source_group.il_sourceArray, & istr_rpt_parms.source_group.il_sourceSub1Array, & istr_rpt_parms.source_group.il_sourceSub2Array, DAT*T& istr_rpt_parms.fromdate, istr_rpt_parms.todate, & istr_rpt_parms.as_null, istr_rpt_parms.as_ro, & istr_rpt_parms.unitcode, istr_rpt_parms.refcode, & istr_rpt_parms.matcode) if lower(right(istr_rpt_parms.rptname, 6)) = 'rollup' then dw_1.of_scanreverse('check value types') end if else for ll_ind = 1 to ll_ic dw_1.ib_retrieveappend = true ll_rc = dw_1.retrieve(istr_rpt_parms.source_group.il_nationArray, & istr_rpt_parms.source_group.il_stateArray, & istr_rDAT*pt_parms.source_group.il_countyArray, & istr_rpt_parms.source_group.il_sourceArray, & istr_rpt_parms.source_group.il_sourceSub1Array, & istr_rpt_parms.source_group.il_sourceSub2Array, & istr_rpt_parms.fromdate, istr_rpt_parms.todate, & istr_rpt_parms.as_null, istr_rpt_parms.as_ro, & istr_rpt_parms.unitcode, istr_rpt_parms.refcode, & istr_rpt_parms.matcode_blocks[ll_ind]) next if len(dw_1.is_sql) > 0 THEN ls_dw_syntax = "DataWindow.Table.select='" + dw_1.is_sql + "'"DAT*Xe(column=(type=char(50) updatewhereclause=yes name=nation_name dbname="v_rap_reports.nation_name" ) column=(type=char(50) updatewhereclause=yes name=state_name dbname="v_rap_reports.state_name" ) column=(type=char(50) updatewhereclause=yes name=county_name dbname="v_rap_reports.county_name" ) column=(type=char(15) updatewhereclause=yes name=source_id dbname="v_rap_reports.source_id" ) column=(type=char(50) updatewhereclause=yes name=source_name dbname="v_rap_reports.source_name" ) columnDAT*Z=(type=char(4) updatewhereclause=yes name=sic_code dbname="v_rap_reports.sic_code" ) column=(type=char(6) updatewhereclause=yes name=naics_code dbname="v_rap_reports.naics_code" ) column=(type=char(15) updatewhereclause=yes name=device_id dbname="v_rap_reports.device_id" ) column=(type=char(15) updatewhereclause=yes name=device_code dbname="v_rap_reports.device_code" ) column=(type=char(50) updatewhereclause=yes name=device_name dbname="v_rap_reports.device_name" ) column=(type=char(15) DAT*\updatewhereclause=yes name=process_id dbname="v_rap_reports.process_id" ) column=(type=char(15) updatewhereclause=yes name=process_code dbname="v_rap_reports.process_code" ) column=(type=char(50) updatewhereclause=yes name=process_name dbname="v_rap_reports.process_name" ) column=(type=char(10) updatewhereclause=yes name=scc_code dbname="v_rap_reports.scc_code" ) column=(type=char(20) updatewhereclause=yes name=stream_id dbname="v_rap_reports.stream_id" ) column=(type=char(12) updatewherDAT*^eclause=yes name=material_code dbname="v_rap_reports.material_code" ) column=(type=char(12) updatewhereclause=yes name=metric_code dbname="v_rap_reports.metric_code" ) column=(type=char(12) updatewhereclause=yes name=reference_code dbname="v_rap_reports.reference_code" ) column=(type=char(3) updatewhereclause=yes name=value_type dbname="v_rap_reports.value_type" ) column=(type=char(26) updatewhereclause=yes name=start_date dbname="v_rap_reports.start_date" ) column=(type=char(26) updatewDAT*`hereclause=yes name=end_date dbname="v_rap_reports.end_date" ) column=(type=char(30) updatewhereclause=yes name=rap_units_name dbname="rap_units.name" ) column=(type=number updatewhereclause=yes name=camount dbname="amount" ) column=(type=char(4) updatewhereclause=yes name=cmin_decode dbname="min_decode" ) retrieve="SELECT v_rap_reports.nation_name, v_rap_reports.state_name, v_rap_reports.county_name, v_rap_reports.source_id, v_rap_reports.source_name, v_rap_reports.sDAT*bic_code, v_rap_reports.naics_code, v_rap_reports.device_id, v_rap_reports.device_code, v_rap_reports.device_name, v_rap_reports.process_id, v_rap_reports.process_code, v_rap_reports.process_name, v_rap_reports.scc_code, v_rap_reports.stream_id, v_rap_reports.material_code, v_rap_reports.metric_code, v_rap_reports.reference_code, v_rap_reports.value_type, :fromDate ~"start_date~", :toDate ~"end_date~", rap_units_b.name, sum(v_rap_reports.value_amountDAT*d * rap_units_a.conversion_factor_amt / rap_units_b.conversion_factor_amt) ~"amount~", IF v_rap_reports.data_code IS NULL THEN :as_null ELSE IF v_rap_reports.data_code = 'RO' THEN :as_ro ELSE v_rap_reports.data_code ENDIF ENDIF ~"min_decode~" FROM v_rap_reports, rap_units rap_units_a, rap_units rap_units_b WHERE ( v_rap_reports.value_unit_code = rap_units_a.code ) AND ( rap_units_a.meas_code = rap_units_b.meas_code ) AND ( v_rap_reports.metric_code IN ('DISCHARGE'DAT*f, 'DOWNSTRMDIS', 'MASS FLOW')) AND ( ( v_rap_reports.start_date BETWEEN :fromDate AND :toDate ) AND ( v_rap_reports.end_date BETWEEN :fromDate AND :toDate ) AND ( rap_units_b.code = :unitCode ) AND ( v_rap_reports.reference_code = :refCode ) AND ( v_rap_reports.material_code IN ( :matCode ) ) ) GROUP BY v_rap_reports.nation_name, v_rap_reports.state_name, v_rap_reports.county_name, v_rap_reports.source_id, v_rap_reports.source_name, v_rap_reports.sic_code, DAT*hv_rap_reports.naics_code, v_rap_reports.device_id, v_rap_reports.device_code, v_rap_reports.device_name, v_rap_reports.process_id, v_rap_reports.process_code, v_rap_reports.process_name, v_rap_reports.scc_code, v_rap_reports.stream_id, v_rap_reports.reference_code, v_rap_reports.material_code, v_rap_reports.metric_code, rap_units_b.name, v_rap_reports.data_code, v_rap_reports.value_type " arguments=(("al_nationArray", numberlist),("al_stateArray", numberlDAT*jist),("al_countyArray", numberlist),("al_sourceArray", numberlist),("al_sourceSub1Array", numberlist),("al_sourceSub2Array", numberlist),("fromDate", datetime),("toDate", datetime),("as_null", string),("as_ro", string),("unitCode", string),("refCode", string),("matCode", stringlist)) sort="nation_name A state_name A county_name A source_id A material_code A metric_code A device_id A process_id A stream_id A cmin_decode A value_type A " ) group(level=1 header.height=88 trailer.height=0 by=("natioDAT*ln_name" ) header.color="536870912" trailer.color="536870912" ) group(level=2 header.height=72 trailer.height=0 by=("state_name" ) header.color="536870912" trailer.color="536870912" ) group(level=3 header.height=88 trailer.height=0 by=("county_name" ) header.color="536870912" trailer.color="536870912" ) group(level=4 header.height=248 trailer.height=40 by=("source_id" ) header.color="553648127" trailer.color="536870912" ) group(level=5 header.height=72 trailer.height=0 by=("source_id" , "materiDAT*nal_code" , "metric_code" ) header.color="553648127" trailer.color="536870912" sort="source_id A material_code A metric_code A " ) group(level=6 header.height=0 trailer.height=0 by=("device_id" , "material_code" , "metric_code" ) header.color="553648127" trailer.color="536870912" sort="device_id A material_code A metric_code A " ) group(level=7 header.height=4 trailer.height=0 by=("process_id" , "material_code" , "metric_code" ) header.color="553648127" trailer.color="536870912" sort="process_DAT*pid A material_code A metric_code A " ) group(level=8 header.height=0 trailer.height=0 by=("stream_id" , "material_code" , "metric_code" ) header.color="553648127" trailer.color="536870912" sort="stream_id A material_code A metric_code A " ) group(level=9 header.height=0 trailer.height=0 by=("stream_id" , "material_code" , "metric_code" , "cmin_decode" ) header.color="553648127" trailer.color="536870912" ) text(band=header alignment="2" text="Emissions by Source" border="0" color="0" x="18" y="DAT*r84" height="80" width="3054" html.valueishtml="0" name=t_1 visible="1" font.face="MS Sans Serif" font.height="-12" font.weight="700" font.family="2" font.pitch="2" font.charset="0" font.underline="1" background.mode="1" background.color="536870912" ) text(band=header alignment="0" text="End Date:" border="0" color="0" x="622" y="292" height="64" width="347" html.valueishtml="0" name=t_2 visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" fDAT*tont.charset="0" background.mode="1" background.color="536870912" ) text(band=header alignment="0" text="Start Date:" border="0" color="0" x="622" y="212" height="64" width="347" html.valueishtml="0" name=t_3 visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) text(band=header alignment="0" text="Units:" border="0" color="0" x="1646" y="292" height="64" width="512" html.valueDAT*vishtml="0" name=t_4 visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) text(band=header alignment="0" text="Reference Code:" border="0" color="0" x="1646" y="212" height="64" width="507" html.valueishtml="0" name=t_5 visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.colorDAT*x="536870912" ) column(band=header id=22 alignment="0" tabsequence=32766 border="0" color="0" x="2158" y="292" height="64" width="640" format="[general]" html.valueishtml="0" name=rap_units_name visible="1" edit.limit=30 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) column(band=header id=18 alignmeDAT*znt="0" tabsequence=32766 border="0" color="0" x="2158" y="212" height="64" width="640" format="[general]" html.valueishtml="0" name=reference_code visible="1" edit.limit=12 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) compute(band=header alignment="1" expression="'Page ' + page() + ' of ' + pageCoDAT*|unt()"border="0" color="0" x="2432" y="20" height="64" width="640" format="[general]" html.valueishtml="0" name=page visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) compute(band=header alignment="0" expression="today()"border="0" color="0" x="18" y="20" height="64" width="421" format="dd-mmm-yyyy" html.valueishtml="0" name=compute_1 visible="1" font.face="MS Sans Serif"DAT*~ font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) compute(band=header alignment="0" expression="date( left ( start_date, 11) )"border="0" color="0" x="969" y="212" height="64" width="640" format="dd-mmm-yyyy" html.valueishtml="0" name=start_date_c visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) DAT* compute(band=header alignment="0" expression="date( left ( end_date, 11) )"border="0" color="0" x="969" y="292" height="64" width="640" format="dd-mmm-yyyy" html.valueishtml="0" name=end_date_c visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) line(band=header.1 x1="0" y1="4" x2="3054" y2="4" name=l_1 visible="1" pen.style="0" pen.width="5" pen.color="0" background.mode="2" backDAT*ground.color="16777215" ) column(band=header.1 id=1 alignment="0" tabsequence=32766 border="0" color="0" x="347" y="20" height="64" width="1755" format="[general]" html.valueishtml="0" name=nation_name visible="1" edit.limit=50 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) text(band=header.1 alignDAT*ment="0" text="Nation:" border="0" color="0" x="18" y="20" height="64" width="219" html.valueishtml="0" name=v_rap_reports_nation_name_t visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) column(band=header.2 id=2 alignment="0" tabsequence=32766 border="0" color="0" x="347" y="4" height="64" width="1755" format="[general]" html.valueishtml="0" name=state_name visible="1" edDAT*it.limit=50 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) text(band=header.2 alignment="0" text="State:" border="0" color="0" x="18" y="4" height="64" width="183" html.valueishtml="0" name=v_rap_reports_state_name_t visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.famDAT*ily="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) line(band=header.3 x1="0" y1="84" x2="3054" y2="84" name=l_2 visible="1" pen.style="0" pen.width="5" pen.color="0" background.mode="2" background.color="16777215" ) column(band=header.3 id=3 alignment="0" tabsequence=32766 border="0" color="0" x="347" y="4" height="64" width="1755" format="[general]" html.valueishtml="0" name=county_name visible="1" edit.limit=50 edit.case=any edit.focusrectangle=no ediDAT*t.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) text(band=header.3 alignment="0" text="County:" border="0" color="0" x="18" y="4" height="64" width="229" html.valueishtml="0" name=v_rap_reports_county_name_t visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" backgroundDAT*.mode="1" background.color="536870912" ) text(band=header.4 alignment="0" text="METRIC CODE" border="0" color="0" x="1115" y="180" height="64" width="658" html.valueishtml="0" name=v_rap_reports_metric_code_t visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) line(band=header.4 x1="0" y1="164" x2="3054" y2="164" name=l_3 visible="1" pen.style="0" pen.width="5" pen.color="0DAT*" background.mode="2" background.color="16777215" ) text(band=header.4 alignment="0" text="Name:" border="0" color="0" x="18" y="84" height="64" width="187" html.valueishtml="0" name=v_rap_reports_source_name_t visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) column(band=header.4 id=4 alignment="0" tabsequence=32766 border="0" color="0" x="347" y="4" height="64" width="7DAT*50" format="[general]" html.valueishtml="0" name=source_id visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) column(band=header.4 id=5 alignment="0" tabsequence=32766 border="0" color="0" x="347" y="84" height="64" width="1755" format="[general]" html.valueishtml="0" name=souDAT*rce_name visible="1" edit.limit=50 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) text(band=header.4 alignment="0" text="Source ID:" border="0" color="0" x="18" y="4" height="64" width="329" html.valueishtml="0" name=v_rap_reports_source_id_t visible="1" font.face="MS Sans Serif" font.height="-8" fDAT*ont.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) text(band=header.4 alignment="0" text="MATERIAL CODE" border="0" color="0" x="219" y="180" height="64" width="658" html.valueishtml="0" name=v_rap_reports_material_code_t visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) line(band=header.4 x1="0" y1="244" x2DAT*="3054" y2="244" name=l_4 visible="1" pen.style="0" pen.width="5" pen.color="0" background.mode="2" background.color="16777215" ) column(band=header.4 id=7 alignment="0" tabsequence=32766 border="0" color="0" x="2487" y="4" height="64" width="439" format="[general]" html.valueishtml="0" name=naics_code visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode=DAT*"2" background.color="16777215" ) text(band=header.4 alignment="0" text="NAICS Code:" border="0" color="0" x="2080" y="4" height="64" width="398" html.valueishtml="0" name=naics_code_t visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) column(band=header.4 id=6 alignment="0" tabsequence=32766 border="0" color="0" x="1568" y="4" height="64" width="439" format="[general]" htmDAT*l.valueishtml="0" name=sic_code visible="1" edit.limit=4 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) text(band=header.4 alignment="0" text="SIC Code:" border="0" color="0" x="1239" y="4" height="64" width="320" html.valueishtml="0" name=v_rap_reports_sic_code_t visible="1" font.face="MS Sans SeDAT*rif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) column(band=header.5 id=17 alignment="0" tabsequence=32766 border="0" color="0" x="1115" y="4" height="64" width="658" format="[general]" html.valueishtml="0" name=metric_code visible="1" edit.limit=12 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.famiDAT*ly="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) column(band=header.5 id=16 alignment="0" tabsequence=32766 border="0" color="0" x="219" y="4" height="64" width="663" format="[general]" html.valueishtml="0" name=material_code visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) columDAT*n(band=header.6 id=8 alignment="0" tabsequence=32766 border="0" color="0" x="146" y="20" height="64" width="658" format="[general]" html.valueishtml="0" name=device_id visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) column(band=header.6 id=15 alignment="0" tabsequence=32766 DAT*border="0" color="0" x="896" y="20" height="64" width="658" format="[general]" html.valueishtml="0" name=stream_id visible="1" edit.limit=12 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) column(band=header.6 id=16 alignment="0" tabsequence=32766 border="0" color="0" x="1573" y="20" height="64" widtDAT*h="658" format="[general]" html.valueishtml="0" name=material_code_1 visible="1" edit.limit=12 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) compute(band=header.6 alignment="1" expression="sum( stream_amount for group 6 )"border="0" color="0" x="2249" y="20" height="64" width="658" format="0.0####"DAT* html.valueishtml="0" name=compute_2 visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) column(band=header.7 id=11 alignment="0" tabsequence=32766 border="0" color="0" x="183" y="20" height="64" width="658" format="[general]" html.valueishtml="0" name=process_id visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 fDAT*ont.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) column(band=header.7 id=15 alignment="0" tabsequence=32766 border="0" color="0" x="896" y="20" height="64" width="658" format="[general]" html.valueishtml="0" name=stream_id_1 visible="1" edit.limit=12 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400DAT* //ll_rc = lds_temp.setsqlselect( ls_sql) ls_error = dw_1.Modify(ls_dw_syntax) if len(ls_error) > 0 and not isnull(ls_error) THEN MessageBox('Retrieve Append Failed','Select unchanged. Contact Technical Support.') end if end if ll_rc = dw_1.retrieve(istr_rpt_parms.source_group.il_nationArray, & istr_rpt_parms.source_group.il_stateArray, & istr_rpt_parms.source_group.il_countyArray, & istr_rpt_parms.source_group.il_sourceArray, & istr_rpt_parms.source_group.il_sourcDAT*eSub1Array, & istr_rpt_parms.source_group.il_sourceSub2Array, & istr_rpt_parms.fromdate, istr_rpt_parms.todate, & istr_rpt_parms.as_null, istr_rpt_parms.as_ro, & istr_rpt_parms.unitcode, istr_rpt_parms.refcode, & istr_rpt_parms.matcode_blocks[1]) dw_1.is_sql = "" if ll_rc < 0 then messageBox("Report Error", "Error retrieving report data.", exclamation!) dw_1.setredraw( true) close(this) return 1 end if if lower(right(istr_rpt_parms.rptname, 6)) =DAT* 'rollup' then dw_1.of_scanreverse('check value types') //dw_1.setsort("source_id a, material_code a, metric_code a") //dw_1.sort() end if end if dw_1.setredraw( true) //if we have records and this is a rollup report, //then run data processing function to handle special //rollup issues MDY 9/99 if ll_rc > 0 and istr_rpt_parms.rollup_report then if this.of_rollup() < 0 then return -1 end if //process return code for error or no records if ll_rc <= 0 then if lDAT*l_rc = 0 then MessageBox("Report", "No records found.", information!) else messageBox("Report Error", "Error retrieving report data.", exclamation!) end if Close(This) return 1 end if //preview the report ls_dw_syntax = "DataWindow.Print.Preview = yes DataWindow.Print.Preview = yes" dw_1.Modify(ls_dw_syntax) return 1 end event public function integer of_rollup ();//do any special processing for rollup reports return 1 end function public function long of_modobjectDAT*sql ();//obsolete long ll_rc string ls_tempcounty, ls_tempstate, ls_tempnation, ls_tempsource //choose case lower(istr_rpt_parms.rptname) // case "r_dm_county_totals","r_dm_county_sic","r_dm_county_scc" // ls_tempcounty = istr_rpt_parms.source_group.is_countyridname // ls_tempstate = istr_rpt_parms.source_group.is_stateridname // ls_tempnation = istr_rpt_parms.source_group.is_nationridname // ls_tempsource = istr_rpt_parms.source_group.is_sourceridname // // istr_rpt_parms.soDAT*urce_group.is_countyridname = "rap_dm_geographic_locations_a.rid" // istr_rpt_parms.source_group.is_stateridname = "rap_dm_geographic_locations_b.rid" // istr_rpt_parms.source_group.is_nationridname = "rap_dm_geographic_locations_c.rid" // istr_rpt_parms.source_group.is_sourceridname = "rap_dm_geographic_locations_a.rid" // // ll_rc = istr_rpt_parms.source_group.of_modObjectSQL(dw_1) // // istr_rpt_parms.source_group.is_countyridname = ls_tempcounty // istr_rpt_parms.source_groupDAT*.is_stateridname = ls_tempstate // istr_rpt_parms.source_group.is_nationridname = ls_tempnation // istr_rpt_parms.source_group.is_sourceridname = ls_tempsource // case else ll_rc = istr_rpt_parms.source_group.of_modObjectSQL(dw_1) //end choose return ll_rc end function event open; //SetPointer(HourGlass!) // Receives structure parameters from w_report istr_rpt_parms = Message.PowerObjectParm // Use postevent to avoid memory problems when retrieving a large data DAT*set // in the datawindow This.PostEvent('ue_retrieve') end event on w_report_body.create this.cb_save=create cb_save this.dw_1=create dw_1 this.hsb_zoom=create hsb_zoom this.st_zoom=create st_zoom this.pb_close=create pb_close this.cb_exit=create cb_exit this.pb_last=create pb_last this.pb_next=create pb_next this.pb_prior=create pb_prior this.pb_first=create pb_first this.Control[]={this.cb_save,& this.dw_1,& this.hsb_zoom,& this.st_zoom,& this.pb_close,& this.cb_exit,& tDAT*his.pb_last,& this.pb_next,& this.pb_prior,& this.pb_first} end on on w_report_body.destroy destroy(this.cb_save) destroy(this.dw_1) destroy(this.hsb_zoom) destroy(this.st_zoom) destroy(this.pb_close) destroy(this.cb_exit) destroy(this.pb_last) destroy(this.pb_next) destroy(this.pb_prior) destroy(this.pb_first) end on type cb_save from commandbutton within w_report_body integer x = 1518 integer y = 16 integer width = 347 integer height = 80 integer taborder = 80 integer DAT*textsize = -8 integer weight = 700 fontcharset fontcharset = ansi! fontpitch fontpitch = variable! fontfamily fontfamily = swiss! string facename = "MS Sans Serif" string text = "Save As..." end type event clicked; long ll_rc ll_rc = dw_1.saveAs() //if ll_rc < 0 then // messageBox("Save Error", "Report save failed.", exclamation!) //end if return 0 end event type dw_1 from u_dw_base within w_report_body integer y = 108 integer width = 3653 integer height = 1924 integeDAT*r taborder = 10 boolean hscrollbar = true boolean vscrollbar = true boolean resizable = true end type event clicked;string ls_dw_syntax long li_zoom li_zoom = Integer(dw_1.Describe("DataWindow.Print.Preview.Zoom")) li_zoom = li_zoom - 20 if li_zoom <= 20 then li_zoom = 20 st_zoom.text = "Zoom 20%" else st_zoom.text = "Zoom " + String(li_zoom) + "%" end if hsb_zoom.position = li_zoom ls_dw_syntax = "DataWindow.Print.Preview.Zoom=" + String(li_zoom) + "~"" setpointer(hDAT*ourglass!) dw_1.Modify(ls_dw_syntax) end event event rbuttondown;string ls_dw_syntax integer li_zoom li_zoom = Integer(dw_1.Describe("DataWindow.Print.Preview.Zoom")) li_zoom = li_zoom + 20 if li_zoom >= 200 then li_zoom = 200 st_zoom.text = "Zoom 200%" else st_zoom.text = "Zoom " + String(li_zoom) + "%" end if hsb_zoom.position = li_zoom ls_dw_syntax = "DataWindow.Print.Preview.Zoom=" + String(li_zoom) + "~"" setpointer(hourglass!) dw_1.modify(ls_dw_syntax) end DAT*event event sqlpreview;call super::sqlpreview;// //string ls_where //long ll_startWhere //long ll_endWhere //ll_startWhere = pos(upper(sqlsyntax), "WHERE") //ll_endWhere = pos(upper(sqlsyntax), "GROUP") //ls_where = mid(sqlsyntax, ll_startWhere, ll_endWhere - 1) // //messagebox("Submitted SQL WHERE", ls_where, none!) //messagebox("Submitted SQL: ", sqlsyntax, none!) //openWithParm(w_text_view, sqlsyntax) // // //return 1 // int li_ret string ls_dw_syntax string ls_error DAT* if ib_retrieveappend then sqlsyntax = f_stringglobalreplace(sqlsyntax, '"', '~"', false) sqlsyntax = f_stringglobalreplace(sqlsyntax,"'", "~~~'", false) if len(is_sql) > 0 THEN is_sql = is_sql + " UNION " + sqlsyntax else is_sql = sqlsyntax end if li_ret = 1 else li_ret = 0 end if ib_retrieveappend = false return li_ret end event event ue_scanrow; //******************************************************************************** // // Object: n_dsDAT*_cache_base inherited from n_ds_conversion_base // Event: ue_scanrow // Arguments: long al_row // string as_action // any aa_data // Returns: long // (Return NULL to stop the scanning process normally) // (Return value < 0 to stop the scanning with error status) // Description: // This event is triggered by the of_scan() function, which loops through the // datastore and "visits" each row. This event is triggered once for each row // visited, processDAT*ing can be done on a row by row basis. A case block is used to // determine what action to perform on each row (e.g. a function call or other // operation). Any data needed for row processing can be passed in via the aa_data // argument. If this event returns NULL, the whole scan is stopped. // // NOTE: This event should be extended by descendant classes in order to // perform specific processing on the row given in al_row. The as_action // argument should be checked in a CDAT*ASE block in order to determine what // action should be performed. // //******************************************************************************** // Revision History // Date Name Revision //-------------------------------------------------------------------------------- // 10/12/2000 Mark Young Initial Version //******************************************************************************** //EXTEND this script as follows //DO NOT place code here in the base class unlessDAT* it will apply to all //objects of this class and its descendants //EXAMPLE: //Return NULL to stop the scanning process normally //(of_scan() will return the row stopped on) //Return Negative Value to stop the scanning process with error status //(of_scan() will return the Negative Value) //force argument to upper case string ls_valuetype as_action = lower(trim(as_action)) choose case as_action // ***********************************************************************DAT* ** case "check value types" // ************************************************************************* ls_valuetype = this.object.value_type[al_row] if not isnull(ls_valuetype) then ls_valuetype = f_dlookup("rap_value_types.type", "rap_value_types","rap_value_types.name like 'SPECIATED FROM %' and rap_value_types.type = '" + ls_valuetype + "'" ) if isnull(ls_valuetype) then this.rowsdiscard(al_row, al_row, Primary!) end if end if // *****************************DAT*18B)>YU1<h !BB"@ "N#$@%@'@$*@6,0@        DAT*   ! " ##&)02 31 41 51 61 71 81 9 1; <: =: >: ?: @: A: B!:DEwW E*4( 1!"zDAT*%%{- ((. /G7%%15* +!:2' (!C-C-P *4*<T*\x******(0$8$@$DAT*H$P$X$`$h$p$ |,BXn d x uo_ss*dw_reference_codes +# #dw_unit_measD,&D&st_select_reportd-)d)ddlb_reportname.00uo_pollutant/22uo_emis_period0;;cb_close1DDcb_preview2EEcontrol c@* +#D,&d-)DAT*.0/20;1D2E 4 <T \x      ( 0 8 @ H P X ` h p  $,$D$`$x$$$$$*8FT b pd H uo_ss*dw_referencDAT*e_codese+#dw_unit_meas4,&st_select_reportL-)ddlb_reportnameh.0uo_pollutant/2uo_emis_period0;cb_close1Dcb_preview2E , D ` x     8080:)@:@@81<x&@8@8,(@1,(1,(H$B^txd" gDAT*.s_filtmessage::message<&@(@H(@HP Exit ReportingAre you sure you want to exit Reporting?@ H G2 % +create+destroy+closequery<2  xywidthheighttitlebartitlecontrolmenuminboxmaxboxresizablebackcoloriconuo_ssdw_reference_codesdw_unit_measst_select_reportddlb_reportnameDAT*" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) column(band=header.7 id=16 alignment="0" tabsequence=32766 border="0" color="0" x="1573" y="20" height="64" width="658" format="[general]" html.valueishtml="0" name=material_code_2 visible="1" edit.limit=12 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charsetDAT*="0" background.mode="2" background.color="16777215" ) compute(band=header.7 alignment="1" expression="sum( stream_amount for group 7 )"border="0" color="0" x="2249" y="20" height="64" width="658" format="0.0####" html.valueishtml="0" name=compute_3 visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) compute(band=header.8 alignment="0" expression="if( cmin_decode = min( cmin_decode DAT*for group 8 ), 1, 0 )"border="0" color="0" x="18" y="4" height="64" width="1262" format="0.0####" html.valueishtml="0" name=data_code_flag visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="15780518" ) compute(band=header.9 alignment="0" expression="if( value_type_c = max( value_type_c for group 9 ), 1, 0 )"border="0" color="0" x="1317" y="4" height="64" width="1262" format="[general]" hDAT*tml.valueishtml="0" name=value_type_flag visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="15780518" ) column(band=detail id=14 alignment="0" tabsequence=32766 border="0" color="0" x="18" y="20" height="64" width="439" format="[general]" html.valueishtml="0" name=scc_code visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="MS Sans Serif" font.height="-DAT*8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) column(band=detail id=24 alignment="2" tabsequence=32766 border="0" color="0" x="457" y="20" height="64" width="238" format="[general]" html.valueishtml="0" name=cmin_decode visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" bDAT*ackground.color="16777215" ) column(band=detail id=19 alignment="2" tabsequence=32766 border="0" color="0" x="695" y="20" height="64" width="238" format="[general]" html.valueishtml="0" name=value_type visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) compute(band=detail alignment="2" expression="if( isNull( valuDAT*e_type ), 0, 1)"border="0" color="0" x="933" y="20" height="64" width="238" format="[general]" html.valueishtml="0" name=value_type_c visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="15793151" ) compute(band=detail alignment="2" expression="data_code_flag"border="0" color="0" x="1298" y="20" height="64" width="238" format="[general]" html.valueishtml="0" name=compute_4 visible="1" foDAT*nt.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="15780518" ) compute(band=detail alignment="2" expression="value_type_flag "border="0" color="0" x="1536" y="20" height="64" width="238" format="[general]" html.valueishtml="0" name=compute_5 visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="15DAT*780518" ) column(band=detail id=23 alignment="1" tabsequence=32766 border="0" color="0" x="1774" y="20" height="64" width="457" format="0.0####" html.valueishtml="0" name=camount visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) compute(band=detail alignment="1" expression="camount * data_coDAT*de_flag * value_type_flag"border="0" color="0" x="2249" y="20" height="64" width="457" format="0.0####" html.valueishtml="0" name=stream_amount visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="12632256" ) column(band=trailer.8 id=20 alignment="0" tabsequence=32766 border="0" color="0" x="421" y="32" height="56" width="640" format="[shortdate] [time]" html.valueishtml="0" name=start_daDAT*te visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16776960" ) text(band=trailer.8 alignment="2" text="Reference Code:" border="0" color="0" x="1061" y="32" height="56" width="402" html.valueishtml="0" name=t_7 visible="1" font.face="Arial" font.height="-8" font.weight="400" font.familyDAT*="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16776960" ) text(band=trailer.8 alignment="2" text="Start Date:" border="0" color="0" x="18" y="32" height="56" width="402" html.valueishtml="0" name=t_8 visible="1" font.face="Arial" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16776960" ) column(band=trailer.8 id=17 alignment="0" tabsequence=32766 border="0" color="0" x="1463" y="32" height="DAT*56" width="640" format="[general]" html.valueishtml="0" name=metric_code_1 visible="1" edit.limit=12 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16776960" ) column(band=trailer.7 id=21 alignment="0" tabsequence=32766 border="0" color="0" x="1463" y="44" height="56" width="640" format="[general]" html.valueishDAT*tml="0" name=end_date visible="1" edit.limit=30 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16776960" ) column(band=trailer.7 id=20 alignment="0" tabsequence=32766 border="0" color="0" x="421" y="44" height="56" width="640" format="[shortdate] [time]" html.valueishtml="0" name=start_date_1 visible="1" edit.lDAT*imit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16776960" ) text(band=trailer.7 alignment="2" text="Units:" border="0" color="0" x="1061" y="44" height="56" width="402" html.valueishtml="0" name=t_9 visible="1" font.face="Arial" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charsDAT*PDW0800pdwɼ~XY}````@( F$`'DAT* @WVG` DAT*t_1$1<  $ 0%  MS Sans SerifMS Sans Serif$2$-12$700$ 553648127$zDAT*4218$0$208$1968%Source Detail ReportSource Detail Reportn=!" %')+-/2page< # $$-8$& 16777215$(]DAT*!8541$*S83$,145$.S1875&01 [general] [general]%34('Page ' + page() + ' of ' + pageCount() ^5< ^6: ^798 Page ;  of PG >?ACECl_1$@DAT*31$B)41$D8312$F(10406n=HI" %L)+NPS today_cf%JK datetime datetime$M452$O2562&QR [general] [general]()TUtDAT*oday()$W 536870912@V@VZxLh[Y \^C`cbd@dw_1$]156$_N1614$aH(10312 d_rpt_deve$#fg rid DAT* `sZiY"VLjlnpid_t$kh104$m135$oy1145%qrAgency Source Id:Agency Source Id:`|htY"VLulwy group_flag_t$vB322$x"802DAT* %z{ Group Flag: Group Flag:s}Y~Vul/ ( group_flag< # $400$,812$166`|Y"VulDAT* group_type_t$1156$K843% Group Type: Group Type:Y~Vul/( group_type$1979$1937`Y"VulDAT*begin_operation_date_t$4114$1531%Begin Operation Date:Begin Operation Date:Y~Vul(begin_operation_date$A5697$V854& [general] [general]DAT*`Y"Vulend_operation_date_t$w7031$~1406%End Operation Date:End Operation Date:Y~Vul (end_operation_date$!8479$DAT*927`Y"VLllocation_line_1_addr_t$531$Q593% Address: Address:Y~Vl/((location_line_1_addr$687DAT*$$ 3364`Y"Vlgeographic_incorp_rid_t$8312%City:City:Y~l geographic_incorp_rid$j4458$ DAT*2531& [general] [general]d d_city_namesnamerid`Y"Vlgeographic_county_rid_t$520%County:County:Y~lgeographic_couDAT*nty_rid$7583$H1864dd_county_namenameridY~Vl/((location_line_2_addr$718`Y"Vlgeographic_locale_rid_t$DAT*416%State:State:Y~ %lgeographic_state_rid$4562${ 2427dd_state_namesnamerid` Y"Vllocation_zip_code_DAT*t$270%  Zip:Zip: Y~V l/( location_zip_code$7354$895` Y"VLlcomment_text_t$937DAT* $729% Comments: Comments: Y~Vl/ ( comment_text$B"8770L,!Y A"C$'&(@dw_2$#1239$%$9437d_rpt_act_src)DAT*"$#*+ rid 3 -Y~V.jl0/(2id$/1218$1`864`<,4Y"V5jl79code_t$6M2125$8395%DAT*$:;Code:Code:C3=Y~V>jl@/(Bcode$? 2552$Ai1385`L<DY"VEjlGIname_t$F3979$H427%JKDAT*&Name:Name:SCMY~VNjlP/(R2name$OU4437$Qf 2406`\LTY"VUjlWYtype_t$V6895$X385%Z[Type:Type:cDAT*(S]Y~V^jl`/(btype$_7312$a250`j\dY"Vejlg sic_code_t$f7604%hi SIC Code: SIC Code:qckY~VlDAT**jln/(p sic_code$mY 8281$o645`xjrY"Vsjlu naics_code_t$t#8968%vw NAICS Code: NAICS Code:qyY~VzjlN/ DAT*,| naics_code${^&9822@VDAT*. @<@ @ @,@L3@\@ DAT*0@ @ @  @  @| @@)@DAT*2)@  @j@xl al_nationArrayal_stateArrayal_countyArrayal_sourceArrayal_sourceSub1Arrayal_sourceSub2Array fromDatetoDateas_nullas_ro unitCodeDAT*4refCodematCode ridrap_sources.rid Znullcoderap_sources.code<nullgeographic_county_rid"rap_sources.geographic_county_ridnullgeographic_state_rid!rap_sources.geographic_state_rididrap_sources.id,nullnamerap_sources.nameLnulltyperap_sources.typeDAT*6\nullbegin_operation_date!rap_sources.begin_operation_date comment_textrap_sources.comment_textend_operation_daterap_sources.end_operation_dategeographic_incorp_rid"rap_sources.geographic_incorp_ridnullgeographic_locale_rid"rap_sources.geographic_locale_ridnull group_flagrap_sources.group_flag| group_typerapDAT*8_sources.group_typelocation_line_1_addr!rap_sources.location_line_1_addrlocation_line_2_addr!rap_sources.location_line_2_addrlocation_zip_coderap_sources.location_zip_code  sic_coderap_sources.sic_codej naics_coderap_sources.naics_codexPBSELECT( VERSION(400) TABLE(NAME="rap_sources" ) TABLE(NAME="v_rap_sources" ) COLUMN(NAME="rap_sDAT*:ources.rid") COLUMN(NAME="rap_sources.code") COLUMN(NAME="rap_sources.geographic_county_rid") COLUMN(NAME="rap_sources.geographic_state_rid") COLUMN(NAME="rap_sources.id") COLUMN(NAME="rap_sources.name") COLUMN(NAME="rap_sources.type") COLUMN(NAME="rap_sources.begin_operation_date") COLUMN(NAME="rap_sources.comment_text") COLUMN(NAME="rap_sources.end_operation_date") COLUMN(NAME="rap_sources.geographic_incorp_rid") COLUMN(NAME="rap_sources.geographic_locale_rid") COLUMN(NAME="rap_sources.group_flaDAT*<g") COLUMN(NAME="rap_sources.group_type") COLUMN(NAME="rap_sources.location_line_1_addr") COLUMN(NAME="rap_sources.location_line_2_addr") COLUMN(NAME="rap_sources.location_zip_code") COLUMN(NAME="rap_sources.sic_code") COLUMN(NAME="rap_sources.naics_code") JOIN (LEFT="rap_sources.rid" OP ="="RIGHT="v_rap_sources.source_rid" )WHERE( EXP1 ="1" OP ="=" EXP2 ="1 " ) ) ARG(NAME = "al_nationArray" TYPE = numberlist) ARG(NAME = "al_stateArray" TYPE = numberlist) ARG(NAME = "al_countyArrayDAT*>" TYPE = numberlist) ARG(NAME = "al_sourceArray" TYPE = numberlist) ARG(NAME = "al_sourceSub1Array" TYPE = numberlist) ARG(NAME = "al_sourceSub2Array" TYPE = numberlist) ARG(NAME = "fromDate" TYPE = datetime) ARG(NAME = "toDate" TYPE = datetime) ARG(NAME = "as_null" TYPE = string) ARG(NAME = "as_ro" TYPE = string) ARG(NAME = "unitCode" TYPE = string) ARG(NAME = "refCode" TYPE = string) ARG(NAME = "matCode" TYPE = stringlist) \DAT*A"1"1"1"1"0"0"0 GDAT*BPDW0800]pdwPlyBCP```` 7 F$W\K]ndDAT*DGH  @xn-DAT*F +page$1<  $ 0%  MS Sans SerifMS Sans Serif$2$-8$400$ 536870912$DAT*H 2743$20$@64$640& [general] [general]%!"('Page ' + page() + ' of ' + pageCount() ^#* ^$( ^%'& Page )  of ",0n;./136DAT*J9 compute_1$018$2421&45 dd-mmm-yyyy dd-mmm-yyyy()78today()":0`M-<= /BDFHKt_1< > @$?-12$ADAT*L700$CT84$EP80$G% 3365%IJSource Emission Summary ReportSource Emission Summary Report"L0`[;NOPRTVYt_2<  @$Q768$SDAT*N212$U[347%WX Start Date: Start Date:"Z0`hM\O]_acft_3$^1792$`$292$b512%deUnits:Units:"g0`q[iDAT*PO]Rjlot_4$k507%mnReference Code:Reference Code:"p0hrs y{_(~}rap_units_name<t w %uvArialArial$xDAT*R-10$z 16777215$| 2304"0qs y{R( reference_code"0`OP_Tt_5% End Date: End DatDAT*Te:"0ns yR3 start_date_c$`1120()date( left ( start_date, 11) ) `  &@"0ns y_3 end_date_cDAT*V$[1115()date( left ( end_date, 11) ) `  &@"0@X` y/t_12$452$ 3035%:EmissionDAT*Xs by source and device for the current selection.:Emissions by source and device for the current selection."0@@2 y/ scc_code$439"0 yDAT*Z  cmin_decode$457$238"0 y  value_type$695"0n DAT*\  value_type_c$ 15793151$933& [general] [general]$# if( isNull( value_type ), 0, 1)   ?"0n  DAT*^ compute_4$ 15780518$1298$#data_code_flag data_code_flag"0n   compute_5$1536$#value_type_flag value_type_fDAT*`lag"0 ycamount$1774&0.0####0.0####"0nO  stream_amount$ 12632256DAT*b$2249&0.0####0.0####$#+camount * data_code_flag * value_type_flag 0  0  data_code_flag value_type_flag" 0n"  stream_downstream$149DAT*d9$d100$402$#4if( metric_code = 'DOWNSTRMDIS', stream_amount, 0 )  DOWNSTRMDIS stream_amount "!0n2# $&0stream_massflow$%nDAT*f1902$#'(2if( metric_code = 'MASS FLOW', stream_amount, 0 ))-/ *+ ,MASS FLOW .stream_amount "10n"3 {4>stream_discharge$#562if( metric_code = 'DISCHARGE', stream_amount, 0 )DAT*h7;= 89 :DISCHARGE <stream_amount "?0$A 553648127@,gDcd@XEZPOFD yGIKMKl_1$HDAT*j5$J0$L4$N7 3383`ZEPDOQSUXv_rap_reports_nation_name_t$R 9$T219%VWNation:Nation:"Y0O[Ds y\^DAT*l(a`2 nation_name$]R338$_1755"b0@%ef nation_name ,{Chwx@Hinnjhs yTKDAT*n^(lk2 state_name"m0`iohOQKpruv_rap_reports_state_name_t$q183%stState:State:"v0@%yz state_name DAT*^,g|@X}P~| yGIBMBl_2}|s y\K^(2 county_name"0`|OQKDAT*rPDW0800pdwPlCDkl```` F$ nnaaDAT*t @t/`DAT*v < $0% MS Sans SerifMS Sans Serif$ 2$ -12$700$1$ 536870912$ 1033DAT*x$24$P80$21330%Device Connections At A SourceDevice Connections At A Sourcen/ #%'),< ! $"-8$$.46$&<DAT*z60$(e357&*+ [general] [general]()-.today()n0 1%358page$2 3067$4430&67 [general] [general]%9:('Page ' + page() + ' of ' + pagDAT*|eCount() ^;B ^<@ ^=?> Page A  of @@\EfQFDGJLN5(P cfrom_device_id< ! H$IDAT*~400$K;59$M452$O.302PZEDRTVXV$S5$U14$WX88$Y 3493aQ[DG\L^5(DAT*`2cfrom_device_name$]`608$_.1070fZbDGcL^5(e2cto_device_name$dI 2377agDGhLN5(j cto_device_idDAT*$i1792@4m@nwomGprLt5 v csource_name$q1682$s20$uDAT*1152`nxm  yrL{}cname_t$z[1115$|233%~Source:Source:`wm  Lcfrom_device_id_t$27$140$DAT*457%From Device IdFrom Device Id`m  Lcto_device_name_t$ 2336$498%To Device NameTo Device Name`m  Lcto_device_id_t$DAT*1755$393% To Device Id To Device Id`m  Lcfrom_device_name_t$;571$2562%From Device NameFrom Device NamePmR$ DAT*553648127$ 9$204$ 3483mGrL5 csource_id$[1371$%293@$# csource_rid DAT*% csource_id % csource_name DAT* n3E Z3f a3  id% csource_id %DAT*cfrom_device_id %cto_device_id l al_nationArrayal_stateArrayal_countryArrayal_sourceArrayal_sourceSub1Arrayal_sourceSub2Array fromDatetoDateas_nullas_ro unitCoderefCodematCode/ csource_id source_id csouDAT*rce_name source_namencfrom_device_idfrom_device_idEcfrom_device_namefrom_device_nameZcto_device_id to_device_idfcto_device_nameto_device_namea csource_rid source_rid SELECT v_rap_ss_sic.source_id, v_rap_ss_sic.source_name, rap_devices_a.id as from_device_id, rap_devices_a.name as from_device_name, DAT* rap_devices_b.id as to_device_id, rap_devices_b.name as to_device_name, v_rap_ss_sic.source_rid as source_rid FROM {oj {oj rap_devices rap_devices_a LEFT OUTER JOIN rap_connections ON rap_devices_a.rid = rap_connections.from_device_rid} LEFT OUTER JOIN rap_devices rap_devices_b ON rap_connections.to_device_rid = rap_devices_b.rid}, v_rap_ss_sic WHERE ( v_rap_ss_sic.source_rid = rap_devices_a.source_rid ) ORDER BY from_device_id ASC, DAT* to_device_id ASC "no"yes/DAT*Shows device connections for a source.release 6; datawindow(units=0 timer_interval=0 color=16777215 processing=0 print.documentname="" print.orientation = 0 print.margin.left = 110 print.margin.right = 110 print.margin.top = 97 print.margin.bottom = 97 print.paper.source = 0 print.paper.size = 0 print.prompt=no print.buttons=no print.preview.buttons=no ) header(height=116 color="536870912" ) summary(height=8 color="536870912" ) footer(height=24 color="536870912" ) detail(height=92 color="5368DAT*70912" ) table(column=(type=char(10) updatewhereclause=yes name=csource_id dbname="source_id" ) column=(type=char(50) updatewhereclause=yes name=csource_name dbname="source_name" ) column=(type=char(10) updatewhereclause=yes name=cfrom_device_id dbname="from_device_id" ) column=(type=char(50) updatewhereclause=yes name=cfrom_device_name dbname="from_device_name" ) column=(type=char(10) updatewhereclause=yes name=cto_device_id dbname="to_device_id" ) column=(type=char(50) updatewhereclauDAT*se=yes name=cto_device_name dbname="to_device_name" ) column=(type=decimal(0) updatewhereclause=yes name=csource_rid dbname="source_rid" ) retrieve=" SELECT v_rap_ss_sic.source_id, v_rap_ss_sic.source_name, rap_devices_a.id as from_device_id, rap_devices_a.name as from_device_name, rap_devices_b.id as to_device_id, rap_devices_b.name as to_device_name, v_rap_ss_sic.source_rid as source_rid FROM {oj {oj rap_devices rap_dDAT*evices_a LEFT OUTER JOIN rap_connections ON rap_devices_a.rid = rap_connections.from_device_rid} LEFT OUTER JOIN rap_devices rap_devices_b ON rap_connections.to_device_rid = rap_devices_b.rid}, v_rap_ss_sic WHERE ( v_rap_ss_sic.source_rid = rap_devices_a.source_rid ) ORDER BY from_device_id ASC, to_device_id ASC " arguments=(("al_nationArray", numberlist),("al_stateArray", numberlist),("al_countryArray", numberlist),("al_sourceArray", numbeDAT*rlist),("al_sourceSub1Array", numberlist),("al_sourceSub2Array", numberlist),("fromDate", datetime),("toDate", datetime),("as_null", string),("as_ro", string),("unitCode", string),("refCode", string),("matCode", stringlist)) sort="csource_id A cfrom_device_id A cto_device_id A " ) group(level=1 header.height=208 trailer.height=8 by=("csource_rid" , "csource_id" , "csource_name" ) newpage=yes header.color="536870912" trailer.color="536870912" ) text(band=header alignment="2" text="Device ConnectDAT*ions At A Source"border="0" color="0" x="1033" y="24" height="80" width="1330" font.face="MS Sans Serif" font.height="-12" font.weight="700" font.family="2" font.pitch="2" font.charset="0" font.underline="1" background.mode="1" background.color="536870912" ) compute(band=header alignment="0" expression="today()"border="0" color="0" x="46" y="24" height="60" width="357" format="[general]" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="DAT*0" background.mode="1" background.color="536870912" ) compute(band=header alignment="1" expression="'Page ' + page() + ' of ' + pageCount()"border="0" color="0" x="3067" y="24" height="60" width="430" format="[general]" name=page font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) column(band=header.1 id=2 alignment="0" tabsequence=32766 border="0" color="0" x="1682" y="20" height="52" DAT*width="1152" format="[general]" name=csource_name edit.limit=0 edit.case=any edit.autoselect=yes font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) text(band=header.1 alignment="2" text="Source:"border="0" color="0" x="1115" y="20" height="52" width="233" name=cname_t font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" backgrouDAT*nd.mode="1" background.color="536870912" ) text(band=header.1 alignment="2" text="From Device Id"border="0" color="0" x="27" y="140" height="52" width="457" name=cfrom_device_id_t font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) text(band=header.1 alignment="2" text="To Device Name"border="0" color="0" x="2336" y="140" height="52" width="498" name=cto_device_name_t font.face="MS SaDAT*ns Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) text(band=header.1 alignment="2" text="To Device Id"border="0" color="0" x="1755" y="140" height="52" width="393" name=cto_device_id_t font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) text(band=header.1 alignment="2" text="From Device Name"bDAT*order="0" color="0" x="571" y="140" height="52" width="562" name=cfrom_device_name_t font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) line(band=header.1 x1="5" y1="204" x2="3483" y2="204" pen.style="0" pen.width="9" pen.color="0" background.mode="1" background.color="553648127" ) column(band=header.1 id=1 alignment="0" tabsequence=32766 border="0" color="0" x="1371" y="20" height="5DAT*2" width="293" format="[general]" name=csource_id edit.limit=0 edit.case=any edit.autoselect=yes font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) column(band=detail id=3 alignment="0" tabsequence=32766 border="0" color="0" x="59" y="24" height="52" width="302" format="[general]" name=cfrom_device_id edit.limit=10 edit.case=any edit.autoselect=yes edit.autohscroll=yes font.face="MS SDAT*ans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) line(band=detail x1="14" y1="88" x2="3493" y2="88" pen.style="0" pen.width="5" pen.color="0" background.mode="1" background.color="536870912" ) column(band=detail id=4 alignment="0" tabsequence=32766 border="0" color="0" x="608" y="24" height="52" width="1070" format="[general]" name=cfrom_device_name edit.limit=50 edit.case=any edit.autoselect=yes eDAT*dit.autohscroll=yes font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) column(band=detail id=6 alignment="0" tabsequence=32766 border="0" color="0" x="2377" y="24" height="52" width="1070" format="[general]" name=cto_device_name edit.limit=50 edit.case=any edit.autoselect=yes edit.autohscroll=yes font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="DAT*2" font.charset="0" background.mode="1" background.color="536870912" ) column(band=detail id=5 alignment="0" tabsequence=32766 border="0" color="0" x="1792" y="24" height="52" width="302" format="[general]" name=cto_device_id edit.limit=10 edit.case=any edit.autoselect=yes edit.autohscroll=yes font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) htmltable(border="1" cellpadding="0" cellsDAT*+pacing="0" generatecss="no" nowrap="yes") DAT*release 6; datawindow(units=0 timer_interval=0 color=16777215 processing=0 print.documentname="" print.orientation = 0 print.margin.left = 110 print.margin.right = 110 print.margin.top = 97 print.margin.bottom = 97 print.paper.source = 0 print.paper.size = 0 print.prompt=no print.buttons=no print.preview.buttons=no ) header(height=116 color="536870912" ) summary(height=8 color="536870912" ) footer(height=8 color="536870912" ) detail(height=92 color="536870912" ) table(column=(type=char(10) uDAT*pdatewhereclause=yes name=csource_id dbname="v_rap_ss_sic.source_id" ) column=(type=char(50) updatewhereclause=yes name=csource_name dbname="v_rap_ss_sic.source_name" ) column=(type=char(10) updatewhereclause=yes name=cfrom_device_id dbname="rap_devices.from_device_id" ) column=(type=char(50) updatewhereclause=yes name=cfrom_device_name dbname="rap_devices.from_device_name" ) column=(type=char(10) updatewhereclause=yes name=cto_device_id dbname="rap_devices.to_device_id" ) column=(type=cDAT*har(50) updatewhereclause=yes name=cto_device_name dbname="rap_devices.to_device_name" ) retrieve=" SELECT v_rap_ss_sic.source_id, v_rap_ss_sic.source_name, rap_devices_a.id ~"from_device_id~", rap_devices_a.name ~"from_device_name~", rap_devices_b.id ~"to_device_id~", rap_devices_b.name ~"to_device_name~" FROM rap_devices rap_devices_a, rap_devices rap_devices_b, rap_connections, v_rap_ss_sic DAT*WHERE ( rap_devices_a.rid = rap_connections.from_device_rid (+)) and ( rap_connections.to_device_rid = rap_devices_b.rid (+)) and ( v_rap_ss_sic.source_rid = rap_devices_a.source_rid ) ORDER BY rap_devices_a.id ASC, rap_devices_b.id ASC " arguments=(("al_nationArray", numberlist),("al_stateArray", numberlist),("al_countryArray", numberlist),("al_sourceArray", numberlist),("al_sourceSub1Array", numberlist),("al_sourceSub2Array", numberlist),("fromDate", datetime),("DAT*toDate", datetime),("as_null", string),("as_ro", string),("unitCode", string),("refCode", string),("matCode", stringlist)) sort="csource_id A cfrom_device_id A cto_device_id A " ) group(level=1 header.height=208 trailer.height=8 by=("csource_id" , "csource_name" ) newpage=yes header.color="536870912" trailer.color="536870912" ) text(band=header alignment="2" text="Device Connections At A Source"border="0" color="0" x="1033" y="24" height="80" width="1330" font.face="MS Sans Serif" font.height=DAT*"-12" font.weight="700" font.family="2" font.pitch="2" font.charset="0" font.underline="1" background.mode="1" background.color="536870912" ) compute(band=header alignment="0" expression="today()"border="0" color="0" x="46" y="24" height="60" width="357" format="[general]" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) compute(band=header alignment="1" expression="'Page ' + page() DAT*+ ' of ' + pageCount()"border="0" color="0" x="3067" y="24" height="60" width="430" format="[general]" name=page font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) column(band=header.1 id=2 alignment="0" tabsequence=32766 border="0" color="0" x="1682" y="20" height="52" width="1152" format="[general]" name=csource_name edit.limit=0 edit.case=any edit.autoselect=yes font.face="MS Sans DAT*Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) text(band=header.1 alignment="2" text="Source:"border="0" color="0" x="1115" y="20" height="52" width="233" name=cname_t font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) text(band=header.1 alignment="2" text="From Device Id"border="0" color="0"DAT* x="27" y="140" height="52" width="457" name=cfrom_device_id_t font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) text(band=header.1 alignment="2" text="To Device Name"border="0" color="0" x="2336" y="140" height="52" width="498" name=cto_device_name_t font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" backDAT*ground.color="536870912" ) text(band=header.1 alignment="2" text="To Device Id"border="0" color="0" x="1755" y="140" height="52" width="393" name=cto_device_id_t font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) text(band=header.1 alignment="2" text="From Device Name"border="0" color="0" x="571" y="140" height="52" width="562" name=cfrom_device_name_t font.face="MS Sans Serif" font.DAT*height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) line(band=header.1 x1="5" y1="204" x2="3483" y2="204" pen.style="0" pen.width="9" pen.color="0" background.mode="1" background.color="553648127" ) column(band=header.1 id=1 alignment="0" tabsequence=32766 border="0" color="0" x="1371" y="20" height="52" width="293" format="[general]" name=csource_id edit.limit=0 edit.case=any edit.autoselect=yes font.face="MS Sans DAT*Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) column(band=detail id=3 alignment="0" tabsequence=32766 border="0" color="0" x="59" y="24" height="52" width="302" format="[general]" name=cfrom_device_id edit.limit=10 edit.case=any edit.autoselect=yes edit.autohscroll=yes font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" bacDAT*kground.color="536870912" ) line(band=detail x1="14" y1="88" x2="3493" y2="88" pen.style="0" pen.width="5" pen.color="0" background.mode="1" background.color="536870912" ) column(band=detail id=4 alignment="0" tabsequence=32766 border="0" color="0" x="608" y="24" height="52" width="1070" format="[general]" name=cfrom_device_name edit.limit=50 edit.case=any edit.autoselect=yes edit.autohscroll=yes font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" fontDAT*.charset="0" background.mode="1" background.color="536870912" ) column(band=detail id=6 alignment="0" tabsequence=32766 border="0" color="0" x="2377" y="24" height="52" width="1070" format="[general]" name=cto_device_name edit.limit=50 edit.case=any edit.autoselect=yes edit.autohscroll=yes font.face="MS Sans Serif" font.height="-8" 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" tabsequeDAT*nce=32766 border="0" color="0" x="1792" y="24" height="52" width="302" format="[general]" name=cto_device_id edit.limit=10 edit.case=any edit.autoselect=yes edit.autohscroll=yes font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) htmltable(border="1" cellpadding="0" cellspacing="0" generatecss="no" nowrap="yes") DAT*PDW0800pdwPlCDkl```` F$ nnaaDAT* @t/`DAT* < $0% MS Sans SerifMS Sans Serif$ 2$ -12$700$1$ 536870912$ 1033DAT*$24$P80$21330%Device Connections At A SourceDevice Connections At A Sourcen/ #%'),< ! $"-8$$.46$&<DAT*60$(e357&*+ [general] [general]()-.today()n0 1%358page$2 3067$4430&67 [general] [general]%9:('Page ' + page() + ' of ' + pagDAT*eCount() ^;B ^<@ ^=?> Page A  of @@\EfQFDGJLN5(P cfrom_device_id< ! H$IDAT*400$K;59$M452$O.302PZEDRTVXV$S5$U14$WX88$Y 3493aQ[DG\L^5(DAT*`2cfrom_device_name$]`608$_.1070fZbDGcL^5(e2cto_device_name$dI 2377agDGhLN5(j cto_device_idDAT*$i1792@0m@nwomGprLt5 v csource_name$q1682$s20$uDAT*1152`nxm  yrL{}cname_t$z[1115$|233%~Source:Source:`wm  Lcfrom_device_id_t$27$140$DAT*457%From Device IdFrom Device Id`m  Lcto_device_name_t$ 2336$498%To Device NameTo Device Name`m  Lcto_device_id_t$175DAT*5$393% To Device Id To Device Id`m  Lcfrom_device_name_t$;571$2562%From Device NameFrom Device NamePmR$ 5536DAT*48127$ 9$204$ 3483mGrL5 csource_id$[1371$%293@% csource_id %DAT* csource_name  n3DAT*E Z3f a3Z_na% csource_id %cfrom_device_id %cto_device_id l DAT*al_nationArrayal_stateArrayal_countryArrayal_sourceArrayal_sourceSub1Arrayal_sourceSub2Array fromDatetoDateas_nullas_ro unitCoderefCodematCode/ csource_idv_rap_ss_sic.source_id csource_namev_rap_ss_sic.source_namencfrom_device_idrap_devices.from_device_idEDAT*cfrom_device_namerap_devices.from_device_nameZcto_device_idrap_devices.to_device_idfcto_device_namerap_devices.to_device_namea SELECT v_rap_ss_sic.source_id, v_rap_ss_sic.source_name, rap_devices_a.id "from_device_id", rap_devices_a.name "from_device_name", rap_devices_b.id "to_device_id", rap_devices_b.name "to_device_name" FROM rap_DAT*devices rap_devices_a, rap_devices rap_devices_b, rap_connections, v_rap_ss_sic WHERE ( rap_devices_a.rid = rap_connections.from_device_rid (+)) and ( rap_connections.to_device_rid = rap_devices_b.rid (+)) and ( v_rap_ss_sic.source_rid = rap_devices_a.source_rid ) ORDER BY rap_devices_a.id ASC, rap_devices_b.id ASC "no"yes/DAT*PDW0800~pdwPl  ```` F$x}A~,ddDAT*hi  @l`"DAT*  t_1$1<  $ 0%  MS Sans SerifMS Sans Serif$2$-12$700$ 536870912$DAT*18$T84$P80$ 3054%Emissions by DeviceEmissions by Device"!0`4#$')+-/2t_2< % $&-8$(n622$*DAT*$292$,@64$.[347%01 End Date: End Date:"30`="5$'6+-8;t_3$7212%9: Start Date: Start Date:"<0`H4>$?)+ADAT*CFt_4$@n1646$B512%DEUnits:Units:"G0`Q=I$?6+JLOt_5$K507%MNReference Code:Reference Code:"P0gHRS [])+DAT*_a(edrap_units_name<T W Y%UVArialArial$X-10$Z400$\ 16777215$^n2158$`640&bc [general] [general]"fDAT*0lQhS []6+_a(ji reference_code"k0ngmnoq+_as~page< % Y$p 2432$r20%tu(DAT* 'Page ' + page() + ' of ' + pageCount() ^v} ^w{ ^xzy Page |  of "0nlnq+ compute_1$421& dd-mmm-yyyy dd-mmm-yyyy()today()"DAT* 0nS [6+_ start_date_c$969()date( left ( start_date, 11) ) `  &@"0nS [)+_ end_date_c()DAT*date( left ( end_date, 11) ) `  &@"0@X`n [q+t_11$ 3035%?Emissions by device and metric code for the current selection.?Emissions by device and metric code for the DAT*current selection."0@ n [q+a scc_code$439"0n [q+ a cmin_decodeDAT*$457$238"0n [q+ a value_type$695"0nn q+  value_type_c$DAT* 15793151$933& [general] [general]$# if( isNull( value_type ), 0, 1)   ?"0nn q+  compute_3$ 15780518$DAT*1298$#data_code_flag data_code_flag"0nn q+a  compute_4$1536$#value_type_flag value_type_flag"0n [DAT*q+camount$1774&0.0####0.0####"0n$ q+stream_amount$ 12632256$2249&0.0####0.0####DAT*$#+camount * data_code_flag * value_type_flag 0 0  data_code_flag value_type_flag" 0$  553648127@,+'(@XPDAT* [l_1$5$0$4S [-q+a(2 nation_name$1755"0`$q+ "%DAT*v_rap_reports_nation_name_t$!219%#$Nation:Nation:"&0@%)* nation_name ,? ,;<@H-22.,S [-+a(0DAT* /2 state_name"10`-3,$+469v_rap_reports_state_name_t$5183%78State:State:":0@%=> state_name ,U+@QDAT*"R@XAHPCB@ [l_2HAD@S [-+a(FE2 county_name"G0`CI@$+JLOv_rap_reports_county_name_t$DAT*$K229%MNCounty:County:"P0@%ST county_name ,?V@ WP[XV [YYl_3$Z164`dWDAT*&\V$+]_bv_rap_reports_source_name_t$^187%`aName:Name:"c0i[eVS [-+a(gf2 source_name"h0`tdjV$kDAT*(+mor naics_code_t$lN2126$n`352%pq NAICS Code: NAICS Code:"s0{iuVS [v+a yx naics_code$w 2487"z0`t|V$DAT**+}v_rap_reports_source_id_t$~I329% Source ID: Source ID:"0{VS [-+a( source_id$750"0`V$DAT*,k+mv_rap_reports_sic_code_t% SIC Code: SIC Code:"0VS [v+a( sic_code"0@% source_id 4UDAT*.@P [YYl_4`$+]_v_rap_reports_device_name_t"0S [+a ( device_code$DAT*0%1317$786"0`$+4v_rap_reports_device_code_t$n1134%Code:Code:"0S [-+a (2DAT*2 device_name"0S [-+a( device_id"0`$+}v_rap_reports_device_id_t% Device ID: Device ID:"0`DAT*4$ +v_rap_reports_material_code_t$180$658%MATERIAL CODEMATERIAL CODE"0P [l_5$244`$+DAT*6v_rap_reports_metric_code_t$[1115% METRIC CODE METRIC CODE"0`$+t_6$2011$ 800%AMOUNTAMOUNT"0@(DAT*4P [l_6% device_id % device_code  % device_name  4  @H S [+a(DAT*:release 8; datawindow(units=0 timer_interval=0 color=16777215 processing=0 HTMLDW=no print.documentname="RAPIDS Report" print.orientation = 0 print.margin.left = 300 print.margin.right = 100 print.margin.top = 100 print.margin.bottom = 150 print.paper.source = 0 print.paper.size = 0 print.prompt=no print.buttons=no print.preview.buttons=no ) header(height=376 color="536870912" ) summary(height=0 color="536870912" ) footer(height=88 color="536870912" ) detail(height=4 color="553648127" ) tablDAT*<e(column=(type=char(50) updatewhereclause=yes name=nation_name dbname="v_rap_reports.nation_name" ) column=(type=char(50) updatewhereclause=yes name=state_name dbname="v_rap_reports.state_name" ) column=(type=char(50) updatewhereclause=yes name=county_name dbname="v_rap_reports.county_name" ) column=(type=char(15) updatewhereclause=yes name=source_id dbname="v_rap_reports.source_id" ) column=(type=char(50) updatewhereclause=yes name=source_name dbname="v_rap_reports.source_name" ) columnDAT*>=(type=char(4) updatewhereclause=yes name=sic_code dbname="v_rap_reports.sic_code" ) column=(type=char(6) updatewhereclause=yes name=naics_code dbname="v_rap_reports.naics_code" ) column=(type=char(15) updatewhereclause=yes name=device_id dbname="v_rap_reports.device_id" ) column=(type=char(15) updatewhereclause=yes name=device_code dbname="v_rap_reports.device_code" ) column=(type=char(50) updatewhereclause=yes name=device_name dbname="v_rap_reports.device_name" ) column=(type=char(15) DAT*@updatewhereclause=yes name=process_id dbname="v_rap_reports.process_id" ) column=(type=char(15) updatewhereclause=yes name=process_code dbname="v_rap_reports.process_code" ) column=(type=char(50) updatewhereclause=yes name=process_name dbname="v_rap_reports.process_name" ) column=(type=char(10) updatewhereclause=yes name=scc_code dbname="v_rap_reports.scc_code" ) column=(type=char(20) updatewhereclause=yes name=stream_id dbname="v_rap_reports.stream_id" ) column=(type=char(12) updatewherDAT*Beclause=yes name=material_code dbname="v_rap_reports.material_code" ) column=(type=char(12) updatewhereclause=yes name=metric_code dbname="v_rap_reports.metric_code" ) column=(type=char(12) updatewhereclause=yes name=reference_code dbname="v_rap_reports.reference_code" ) column=(type=char(3) updatewhereclause=yes name=value_type dbname="v_rap_reports.value_type" ) column=(type=char(26) updatewhereclause=yes name=start_date dbname="v_rap_reports.start_date" ) column=(type=char(26) updatewDAT*Dhereclause=yes name=end_date dbname="v_rap_reports.end_date" ) column=(type=char(30) updatewhereclause=yes name=rap_units_name dbname="rap_units.name" ) column=(type=number updatewhereclause=yes name=camount dbname="amount" ) column=(type=char(4) updatewhereclause=yes name=cmin_decode dbname="min_decode" ) retrieve="SELECT v_rap_reports.nation_name, v_rap_reports.state_name, v_rap_reports.county_name, v_rap_reports.source_id, v_rap_reports.source_name, v_rap_reports.sDAT*Fic_code, v_rap_reports.naics_code, v_rap_reports.device_id, v_rap_reports.device_code, v_rap_reports.device_name, v_rap_reports.process_id, v_rap_reports.process_code, v_rap_reports.process_name, v_rap_reports.scc_code, v_rap_reports.stream_id, v_rap_reports.material_code, v_rap_reports.metric_code, v_rap_reports.reference_code, v_rap_reports.value_type, :fromDate ~"start_date~", :toDate ~"end_date~", rap_units_b.name, sum(v_rap_reports.value_amountDAT*H * rap_units_a.conversion_factor_amt / rap_units_b.conversion_factor_amt) ~"amount~", IF v_rap_reports.data_code IS NULL THEN :as_null ELSE IF v_rap_reports.data_code = 'RO' THEN :as_ro ELSE v_rap_reports.data_code ENDIF ENDIF ~"min_decode~" FROM v_rap_reports, rap_units rap_units_a, rap_units rap_units_b WHERE ( v_rap_reports.value_unit_code = rap_units_a.code ) AND ( rap_units_a.meas_code = rap_units_b.meas_code ) AND ( v_rap_reports.metric_code IN ('DISCHARGE'DAT*J, 'DOWNSTRMDIS', 'MASS FLOW')) AND ( ( v_rap_reports.start_date BETWEEN :fromDate AND :toDate ) AND ( v_rap_reports.end_date BETWEEN :fromDate AND :toDate ) AND ( rap_units_b.code = :unitCode ) AND ( v_rap_reports.reference_code = :refCode ) AND ( v_rap_reports.material_code IN ( :matCode ) ) ) GROUP BY v_rap_reports.nation_name, v_rap_reports.state_name, v_rap_reports.county_name, v_rap_reports.source_id, v_rap_reports.source_name, v_rap_reports.sic_code, DAT*Lv_rap_reports.naics_code, v_rap_reports.device_id, v_rap_reports.device_code, v_rap_reports.device_name, v_rap_reports.process_id, v_rap_reports.process_code, v_rap_reports.process_name, v_rap_reports.scc_code, v_rap_reports.stream_id, v_rap_reports.reference_code, v_rap_reports.material_code, v_rap_reports.metric_code, rap_units_b.name, v_rap_reports.data_code, v_rap_reports.value_type " arguments=(("al_nationArray", numberlist),("al_stateArray", numberlDAT*Nist),("al_countyArray", numberlist),("al_sourceArray", numberlist),("al_sourceSub1Array", numberlist),("al_sourceSub2Array", numberlist),("fromDate", datetime),("toDate", datetime),("as_null", string),("as_ro", string),("unitCode", string),("refCode", string),("matCode", stringlist)) sort="nation_name A state_name A county_name A source_id A device_id A process_id A material_code A metric_code A stream_id A cmin_decode A value_type A " ) group(level=1 header.height=88 trailer.height=0 by=("natioDAT*Pn_name" ) header.color="536870912" trailer.color="536870912" ) group(level=2 header.height=72 trailer.height=0 by=("state_name" ) header.color="536870912" trailer.color="536870912" ) group(level=3 header.height=88 trailer.height=0 by=("county_name" ) header.color="536870912" trailer.color="536870912" ) group(level=4 header.height=168 trailer.height=0 by=("source_id" ) header.color="553648127" trailer.color="536870912" ) group(level=5 header.height=168 trailer.height=0 by=("device_id" ) header.DAT*Rcolor="553648127" trailer.color="536870912" ) group(level=6 header.height=248 trailer.height=40 by=("process_id" ) header.color="553648127" trailer.color="536870912" ) group(level=7 header.height=72 trailer.height=0 by=("process_id" , "material_code" , "metric_code" ) header.color="553648127" trailer.color="536870912" sort="process_id A material_code A metric_code A " ) group(level=8 header.height=0 trailer.height=0 by=("stream_id" , "material_code" , "metric_code" ) header.color="553648127" tDAT*Trailer.color="536870912" sort="stream_id A material_code A metric_code A " ) group(level=9 header.height=0 trailer.height=0 by=("stream_id" , "material_code" , "metric_code" , "cmin_decode" ) header.color="553648127" trailer.color="536870912" ) text(band=header alignment="2" text="Emissions by Process" border="0" color="0" x="18" y="84" height="80" width="3054" html.valueishtml="0" name=t_1 visible="1" font.face="MS Sans Serif" font.height="-12" font.weight="700" font.family="2" font.pitch="DAT*V2" font.charset="0" font.underline="1" background.mode="1" background.color="536870912" ) text(band=header alignment="0" text="End Date:" border="0" color="0" x="622" y="292" height="64" width="347" html.valueishtml="0" name=t_2 visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) text(band=header alignment="0" text="Start Date:" border="0" color="0" x="622" y="212" height="6DAT*X4" width="347" html.valueishtml="0" name=t_3 visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) text(band=header alignment="0" text="Units:" border="0" color="0" x="1646" y="292" height="64" width="512" html.valueishtml="0" name=t_4 visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" DAT*Zbackground.color="536870912" ) text(band=header alignment="0" text="Reference Code:" border="0" color="0" x="1646" y="212" height="64" width="507" html.valueishtml="0" name=t_5 visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) column(band=header id=21 alignment="0" tabsequence=32766 border="0" color="0" x="2158" y="292" height="64" width="640" format="[general]" html.valueDAT*ishtml="0" name=rap_units_name visible="1" edit.limit=30 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) column(band=header id=17 alignment="0" tabsequence=32766 border="0" color="0" x="2158" y="212" height="64" width="640" format="[general]" html.valueishtml="0" name=reference_code visible="1" editDAT*`release 8; datawindow(units=0 timer_interval=0 color=16777215 processing=0 HTMLDW=no print.documentname="RAPIDS Report" print.orientation = 0 print.margin.left = 300 print.margin.right = 100 print.margin.top = 100 print.margin.bottom = 150 print.paper.source = 0 print.paper.size = 0 print.prompt=no print.buttons=no print.preview.buttons=no ) header(height=364 color="536870912" ) summary(height=0 color="536870912" ) footer(height=88 color="536870912" ) detail(height=4 color="553648127" ) tablDAT*v_rap_reports_county_name_t$229%County:County:"0@% county_name ,{@h@P yGIMl_3PDAT*be(column=(type=char(50) updatewhereclause=yes name=nation_name dbname="v_rap_reports.nation_name" ) column=(type=char(50) updatewhereclause=yes name=state_name dbname="v_rap_reports.state_name" ) column=(type=char(50) updatewhereclause=yes name=county_name dbname="v_rap_reports.county_name" ) column=(type=char(15) updatewhereclause=yes name=source_id dbname="v_rap_reports.source_id" ) column=(type=char(50) updatewhereclause=yes name=source_name dbname="v_rap_reports.source_name" ) columnDAT*d=(type=char(4) updatewhereclause=yes name=sic_code dbname="v_rap_reports.sic_code" ) column=(type=char(6) updatewhereclause=yes name=naics_code dbname="v_rap_reports.naics_code" ) column=(type=char(15) updatewhereclause=yes name=device_id dbname="v_rap_reports.device_id" ) column=(type=char(15) updatewhereclause=yes name=device_code dbname="v_rap_reports.device_code" ) column=(type=char(50) updatewhereclause=yes name=device_name dbname="v_rap_reports.device_name" ) column=(type=char(15) DAT*fupdatewhereclause=yes name=process_id dbname="v_rap_reports.process_id" ) column=(type=char(15) updatewhereclause=yes name=process_code dbname="v_rap_reports.process_code" ) column=(type=char(50) updatewhereclause=yes name=process_name dbname="v_rap_reports.process_name" ) column=(type=char(10) updatewhereclause=yes name=scc_code dbname="v_rap_reports.scc_code" ) column=(type=char(20) updatewhereclause=yes name=stream_id dbname="v_rap_reports.stream_id" ) column=(type=char(12) updatewherDAT*heclause=yes name=material_code dbname="v_rap_reports.material_code" ) column=(type=char(12) updatewhereclause=yes name=metric_code dbname="v_rap_reports.metric_code" ) column=(type=char(12) updatewhereclause=yes name=reference_code dbname="v_rap_reports.reference_code" ) column=(type=char(3) updatewhereclause=yes name=value_type dbname="v_rap_reports.value_type" ) column=(type=char(26) updatewhereclause=yes name=start_date dbname="v_rap_reports.start_date" ) column=(type=char(26) updatewDAT*jhereclause=yes name=end_date dbname="v_rap_reports.end_date" ) column=(type=char(30) updatewhereclause=yes name=rap_units_name dbname="rap_units.name" ) column=(type=number updatewhereclause=yes name=camount dbname="amount" ) column=(type=char(4) updatewhereclause=yes name=cmin_decode dbname="min_decode" ) retrieve="SELECT v_rap_reports.nation_name, v_rap_reports.state_name, v_rap_reports.county_name, v_rap_reports.source_id, v_rap_reports.source_name, v_rap_reports.sDAT*lic_code, v_rap_reports.naics_code, v_rap_reports.device_id, v_rap_reports.device_code, v_rap_reports.device_name, v_rap_reports.process_id, v_rap_reports.process_code, v_rap_reports.process_name, v_rap_reports.scc_code, v_rap_reports.stream_id, v_rap_reports.material_code, v_rap_reports.metric_code, v_rap_reports.reference_code, v_rap_reports.value_type, :fromDate ~"start_date~", :toDate ~"end_date~", rap_units_b.name, sum(v_rap_reports.value_amount DAT*n* rap_units_a.conversion_factor_amt / rap_units_b.conversion_factor_amt) ~"amount~", IF v_rap_reports.data_code IS NULL THEN :as_null ELSE IF v_rap_reports.data_code = 'RO' THEN :as_ro ELSE v_rap_reports.data_code ENDIF ENDIF ~"min_decode~" FROM v_rap_reports, rap_units rap_units_a, rap_units rap_units_b WHERE ( v_rap_reports.value_unit_code = rap_units_a.code ) AND ( rap_units_a.meas_code = rap_units_b.meas_code ) AND ( v_rap_reports.metric_code IN ('DISCHARGE',DAT*p 'DOWNSTRMDIS', 'MASS FLOW')) AND ( ( v_rap_reports.start_date BETWEEN :fromDate AND :toDate ) AND ( v_rap_reports.end_date BETWEEN :fromDate AND :toDate ) AND ( rap_units_b.code = :unitCode ) AND ( v_rap_reports.reference_code = :refCode ) AND ( v_rap_reports.material_code IN ( :matCode ) ) ) GROUP BY v_rap_reports.nation_name, v_rap_reports.state_name, v_rap_reports.county_name, v_rap_reports.source_id, v_rap_reports.source_name, v_rap_reports.sic_code, vDAT*r_rap_reports.naics_code, v_rap_reports.device_id, v_rap_reports.device_code, v_rap_reports.device_name, v_rap_reports.process_id, v_rap_reports.process_code, v_rap_reports.process_name, v_rap_reports.scc_code, v_rap_reports.stream_id, v_rap_reports.reference_code, v_rap_reports.material_code, v_rap_reports.metric_code, rap_units_b.name, v_rap_reports.data_code, v_rap_reports.value_type " arguments=(("al_nationArray", numberlist),("al_stateArray", numberliDAT*tst),("al_countyArray", numberlist),("al_sourceArray", numberlist),("al_sourceSub1Array", numberlist),("al_sourceSub2Array", numberlist),("fromDate", datetime),("toDate", datetime),("as_null", string),("as_ro", string),("unitCode", string),("refCode", string),("matCode", stringlist)) sort="nation_name A state_name A county_name A source_id A device_id A material_code A metric_code A process_id A stream_id A cmin_decode A value_type A " ) group(level=1 header.height=88 trailer.height=0 by=("nationDAT*v_name" ) header.color="536870912" trailer.color="536870912" ) group(level=2 header.height=72 trailer.height=0 by=("state_name" ) header.color="536870912" trailer.color="536870912" ) group(level=3 header.height=88 trailer.height=0 by=("county_name" ) header.color="536870912" trailer.color="536870912" ) group(level=4 header.height=168 trailer.height=0 by=("source_id" ) header.color="553648127" trailer.color="536870912" ) group(level=5 header.height=248 trailer.height=40 by=("device_id" , "deviceDAT*x_code" , "device_name" ) header.color="536870912" trailer.color="536870912" ) group(level=6 header.height=72 trailer.height=0 by=("device_id" , "material_code" , "metric_code" ) header.color="553648127" trailer.color="536870912" sort="device_id A material_code A metric_code A " ) group(level=7 header.height=0 trailer.height=0 by=("process_id" , "material_code" , "metric_code" ) header.color="553648127" trailer.color="536870912" sort="process_id A material_code A metric_code A " ) group(level=DAT*z8 header.height=0 trailer.height=0 by=("stream_id" , "material_code" , "metric_code" ) header.color="553648127" trailer.color="536870912" sort="stream_id A material_code A metric_code A " ) group(level=9 header.height=0 trailer.height=0 by=("stream_id" , "material_code" , "metric_code" , "cmin_decode" ) header.color="553648127" trailer.color="536870912" ) text(band=header alignment="2" text="Emissions by Device" border="0" color="0" x="18" y="84" height="80" width="3054" html.valueishtml="0" nDAT*|ame=t_1 visible="1" font.face="MS Sans Serif" font.height="-12" font.weight="700" font.family="2" font.pitch="2" font.charset="0" font.underline="1" background.mode="1" background.color="536870912" ) text(band=header alignment="0" text="End Date:" border="0" color="0" x="622" y="292" height="64" width="347" html.valueishtml="0" name=t_2 visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.colorDAT*~="536870912" ) text(band=header alignment="0" text="Start Date:" border="0" color="0" x="622" y="212" height="64" width="347" html.valueishtml="0" name=t_3 visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) text(band=header alignment="0" text="Units:" border="0" color="0" x="1646" y="292" height="64" width="512" html.valueishtml="0" name=t_4 visible="1" font.face="MS SansDAT* Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) text(band=header alignment="0" text="Reference Code:" border="0" color="0" x="1646" y="212" height="64" width="507" html.valueishtml="0" name=t_5 visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) column(band=header id=22 alignment="DAT*0" tabsequence=32766 border="0" color="0" x="2158" y="292" height="64" width="640" format="[general]" html.valueishtml="0" name=rap_units_name visible="1" edit.limit=30 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) column(band=header id=18 alignment="0" tabsequence=32766 border="0" color="0" x="215DAT*8" y="212" height="64" width="640" format="[general]" html.valueishtml="0" name=reference_code visible="1" edit.limit=12 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) compute(band=header alignment="1" expression="'Page ' + page() + ' of ' + pageCount()"border="0" color="0" x="2432" y="20" height="6DAT*4" width="640" format="[general]" html.valueishtml="0" name=page visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) compute(band=header alignment="0" expression="today()"border="0" color="0" x="18" y="20" height="64" width="421" format="dd-mmm-yyyy" html.valueishtml="0" name=compute_1 visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2"DAT* font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) compute(band=header alignment="0" expression="date( left ( start_date, 11) )"border="0" color="0" x="969" y="212" height="64" width="640" format="dd-mmm-yyyy" html.valueishtml="0" name=start_date_c visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) compute(band=header alignment="0" expression="date(DAT* left ( end_date, 11) )"border="0" color="0" x="969" y="292" height="64" width="640" format="dd-mmm-yyyy" html.valueishtml="0" name=end_date_c visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) line(band=header.1 x1="0" y1="4" x2="3054" y2="4" name=l_1 visible="1" pen.style="0" pen.width="5" pen.color="0" background.mode="2" background.color="16777215" ) column(band=header.1 id=1DAT* alignment="0" tabsequence=32766 border="0" color="0" x="347" y="20" height="64" width="1755" format="[general]" html.valueishtml="0" name=nation_name visible="1" edit.limit=50 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) text(band=header.1 alignment="0" text="Nation:" border="0" color="0" x="18" DAT*y="20" height="64" width="219" html.valueishtml="0" name=v_rap_reports_nation_name_t visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) column(band=header.2 id=2 alignment="0" tabsequence=32766 border="0" color="0" x="347" y="4" height="64" width="1755" format="[general]" html.valueishtml="0" name=state_name visible="1" edit.limit=50 edit.case=any edit.focusrectangle=no ediDAT*t.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) text(band=header.2 alignment="0" text="State:" border="0" color="0" x="18" y="4" height="64" width="183" html.valueishtml="0" name=v_rap_reports_state_name_t visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mDAT*ode="1" background.color="536870912" ) line(band=header.3 x1="0" y1="84" x2="3054" y2="84" name=l_2 visible="1" pen.style="0" pen.width="5" pen.color="0" background.mode="2" background.color="16777215" ) column(band=header.3 id=3 alignment="0" tabsequence=32766 border="0" color="0" x="347" y="4" height="64" width="1755" format="[general]" html.valueishtml="0" name=county_name visible="1" edit.limit=50 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0DAT* font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) text(band=header.3 alignment="0" text="County:" border="0" color="0" x="18" y="4" height="64" width="229" html.valueishtml="0" name=v_rap_reports_county_name_t visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) line(band=DAT*header.4 x1="0" y1="164" x2="3054" y2="164" name=l_3 visible="1" pen.style="0" pen.width="5" pen.color="0" background.mode="2" background.color="16777215" ) text(band=header.4 alignment="0" text="Name:" border="0" color="0" x="18" y="84" height="64" width="187" html.valueishtml="0" name=v_rap_reports_source_name_t visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) column(DAT*band=header.4 id=5 alignment="0" tabsequence=32766 border="0" color="0" x="347" y="84" height="64" width="1755" format="[general]" html.valueishtml="0" name=source_name visible="1" edit.limit=50 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) text(band=header.4 alignment="0" text="NAICS Code:" borderDAT*="0" color="0" x="2126" y="84" height="64" width="352" html.valueishtml="0" name=naics_code_t visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) column(band=header.4 id=7 alignment="0" tabsequence=32766 border="0" color="0" x="2487" y="84" height="64" width="439" format="[general]" html.valueishtml="0" name=naics_code visible="1" edit.limit=0 edit.case=any edit.autoselect=yDAT*es edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) text(band=header.4 alignment="0" text="Source ID:" border="0" color="0" x="18" y="4" height="64" width="329" html.valueishtml="0" name=v_rap_reports_source_id_t visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870DAT*912" ) column(band=header.4 id=4 alignment="0" tabsequence=32766 border="0" color="0" x="347" y="4" height="64" width="750" format="[general]" html.valueishtml="0" name=source_id visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) text(band=header.4 alignment="0" text="SIC CodeDAT*:" border="0" color="0" x="2126" y="4" height="64" width="352" html.valueishtml="0" name=v_rap_reports_sic_code_t visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) column(band=header.4 id=6 alignment="0" tabsequence=32766 border="0" color="0" x="2487" y="4" height="64" width="439" format="[general]" html.valueishtml="0" name=sic_code visible="1" edit.limit=4 edit.case=any DAT*edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) line(band=header.5 x1="0" y1="164" x2="3054" y2="164" name=l_4 visible="1" pen.style="0" pen.width="5" pen.color="0" background.mode="2" background.color="16777215" ) text(band=header.5 alignment="0" text="Name:" border="0" color="0" x="18" y="84" height="64" widthDAT*="187" html.valueishtml="0" name=v_rap_reports_device_name_t visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) column(band=header.5 id=9 alignment="0" tabsequence=32766 border="0" color="0" x="1317" y="4" height="64" width="786" format="[general]" html.valueishtml="0" name=device_code visible="1" edit.limit=15 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.aDAT*utohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) text(band=header.5 alignment="0" text="Code:" border="0" color="0" x="1134" y="4" height="64" width="183" html.valueishtml="0" name=v_rap_reports_device_code_t visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.coDAT*lor="536870912" ) column(band=header.5 id=10 alignment="0" tabsequence=32766 border="0" color="0" x="347" y="84" height="64" width="1755" format="[general]" html.valueishtml="0" name=device_name visible="1" edit.limit=50 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) column(band=header.5 id=8 alignDAT*ment="0" tabsequence=32766 border="0" color="0" x="347" y="4" height="64" width="750" format="[general]" html.valueishtml="0" name=device_id visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) text(band=header.5 alignment="0" text="Device ID:" border="0" color="0" x="18" y="4" hDAT*eight="64" width="329" html.valueishtml="0" name=v_rap_reports_device_id_t visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) text(band=header.5 alignment="0" text="MATERIAL CODE" border="0" color="0" x="219" y="180" height="64" width="658" html.valueishtml="0" name=v_rap_reports_material_code_t visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="700" fontDAT*.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) line(band=header.5 x1="0" y1="244" x2="3054" y2="244" name=l_5 visible="1" pen.style="0" pen.width="5" pen.color="0" background.mode="2" background.color="16777215" ) text(band=header.5 alignment="0" text="METRIC CODE" border="0" color="0" x="1115" y="180" height="64" width="658" html.valueishtml="0" name=v_rap_reports_metric_code_t visible="1" font.face="MS Sans Serif" font.height="-8" font.weightDAT*="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) column(band=header.6 id=17 alignment="0" tabsequence=32766 border="0" color="0" x="1115" y="4" height="64" width="658" format="[general]" html.valueishtml="0" name=metric_code visible="1" edit.limit=12 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charseDAT*t="0" background.mode="2" background.color="16777215" ) column(band=header.6 id=16 alignment="0" tabsequence=32766 border="0" color="0" x="219" y="4" height="64" width="658" format="[general]" html.valueishtml="0" name=material_code visible="1" edit.limit=12 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="167772DAT*15" ) compute(band=header.7 alignment="1" expression="sum( stream_amount for group 7 )"border="0" color="0" x="2249" y="20" height="64" width="658" format="0.0####" html.valueishtml="0" name=process_amount visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) column(band=header.7 id=15 alignment="0" tabsequence=32766 border="0" color="0" x="896" y="20" height="64" width="658" format="DAT*[general]" html.valueishtml="0" name=stream_id visible="1" edit.limit=12 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) column(band=header.7 id=11 alignment="0" tabsequence=32766 border="0" color="0" x="183" y="20" height="64" width="658" format="[general]" html.valueishtml="0" name=process_id visiDAT*ble="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) compute(band=header.8 alignment="0" expression="if( cmin_decode = min( cmin_decode for group 8 ), 1, 0 )"border="0" color="0" x="18" y="4" height="64" width="1262" format="0.0####" html.valueishtml="0" name=data_code_flag visible="1" font.face="MS Sans Serif" font.height="-8DAT*" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="15780518" ) compute(band=header.9 alignment="0" expression="if( value_type_c = max( value_type_c for group 9 ), 1, 0 )"border="0" color="0" x="1317" y="4" height="64" width="1262" format="[general]" html.valueishtml="0" name=value_type_flag visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" backgrounDAT*d.color="15780518" ) column(band=detail id=14 alignment="0" tabsequence=32766 border="0" color="0" x="18" y="20" height="64" width="439" format="[general]" html.valueishtml="0" name=scc_code visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) column(band=detail id=24 alignment="2" tabsequence=32766 border="0" colorDAT*="0" x="457" y="20" height="64" width="238" format="[general]" html.valueishtml="0" name=cmin_decode visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) column(band=detail id=19 alignment="2" tabsequence=32766 border="0" color="0" x="695" y="20" height="64" width="238" format="[general]" html.valueishtml="0" name=vDAT*alue_type visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) compute(band=detail alignment="2" expression="if( isNull( value_type ), 0, 1)"border="0" color="0" x="933" y="20" height="64" width="238" format="[general]" html.valueishtml="0" name=value_type_c visible="1" font.face="MS Sans Serif" font.height="-8" fonDAT*t.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="15793151" ) compute(band=detail alignment="2" expression="data_code_flag"border="0" color="0" x="1298" y="20" height="64" width="238" format="[general]" html.valueishtml="0" name=compute_3 visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="15780518" ) compute(band=detail alignment="2" eDAT*xpression="value_type_flag "border="0" color="0" x="1536" y="20" height="64" width="238" format="[general]" html.valueishtml="0" name=compute_4 visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="15780518" ) column(band=detail id=23 alignment="1" tabsequence=32766 border="0" color="0" x="1774" y="20" height="64" width="457" format="0.0####" html.valueishtml="0" name=camount visible="1" eDAT*dit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) compute(band=detail alignment="1" expression="camount * data_code_flag * value_type_flag"border="0" color="0" x="2249" y="20" height="64" width="457" format="0.0####" html.valueishtml="0" name=stream_amount visible="1" font.face="MS Sans Serif" font.heighDAT*t="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="12632256" ) column(band=trailer.8 id=20 alignment="0" tabsequence=32766 border="0" color="0" x="421" y="32" height="56" width="640" format="[shortdate] [time]" html.valueishtml="0" name=start_date visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-8" font.weight="400" font.family="2" foDAT*nt.pitch="2" font.charset="0" background.mode="2" background.color="16776960" ) text(band=trailer.8 alignment="2" text="Reference Code:" border="0" color="0" x="1061" y="32" height="56" width="402" html.valueishtml="0" name=t_7 visible="1" font.face="Arial" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16776960" ) text(band=trailer.8 alignment="2" text="Start Date:" border="0" color="0" x="18" y="32" height="56" width=DAT*.limit=12 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) compute(band=header alignment="1" expression="'Page ' + page() + ' of ' + pageCount()"border="0" color="0" x="2432" y="20" height="64" width="640" format="[general]" html.valueishtml="0" name=page visible="1" font.face="MS Sans Serif" font.heDAT*"402" html.valueishtml="0" name=t_8 visible="1" font.face="Arial" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16776960" ) column(band=trailer.8 id=17 alignment="0" tabsequence=32766 border="0" color="0" x="1463" y="32" height="56" width="640" format="[general]" html.valueishtml="0" name=metric_code_1 visible="1" edit.limit=12 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0DAT*ight="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) compute(band=header alignment="0" expression="today()"border="0" color="0" x="18" y="20" height="64" width="421" format="dd-mmm-yyyy" html.valueishtml="0" name=compute_1 visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) compute(band=header alignmeDAT*nt="0" expression="date( left ( start_date, 11) )"border="0" color="0" x="969" y="212" height="64" width="640" format="dd-mmm-yyyy" html.valueishtml="0" name=start_date_c visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) compute(band=header alignment="0" expression="date( left ( end_date, 11) )"border="0" color="0" x="969" y="292" height="64" width="640" format="dd-mmm-yyyy" html.vDAT*5" y1="0" x2="2505" y2="100" pen.style="0" pen.width="5" pen.color="0" background.mode="2" background.color="16777215" ) line(band=trailer.4 x1="3474" y1="0" x2="3474" y2="100" pen.style="0" pen.width="5" pen.color="0" background.mode="2" background.color="16777215" ) text(band=footer alignment="1" text="Detailed Breakdown of Emissions by county and metric code for the current selection."border="0" color="0" x="1152" y="20" height="52" width="3255" font.face="MS Sans Serif" font.height="-8" fDAT*ont.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) sparse(names="material_code metric_code source_id source_amt device_id device_amt")htmltable(border="1" cellpadding="0" cellspacing="0" generatecss="no" nowrap="yes") DAT*te_namev_rap_reports.state_name county_namev_rap_reports.county_name[ source_idv_rap_reports.source_id source_namev_rap_reports.source_name sic_codev_rap_reports.sic_code device_idv_rap_reports.device_id device_codev_rap_reports.device_code device_namev_rap_reports.device_name process_idv_rap_reports.process_id process_cDAT*:alueishtml="0" name=end_date_c visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) line(band=header.1 x1="0" y1="4" x2="3054" y2="4" name=l_1 visible="1" pen.style="0" pen.width="5" pen.color="0" background.mode="2" background.color="16777215" ) column(band=header.1 id=1 alignment="0" tabsequence=32766 border="0" color="0" x="347" y="20" height="64" width="1755" format="[general]"DAT* yQIKMKl_4`OQv_rap_reports_source_id_t$%293% Source ID: Source ID:"0s y( source_id$DAT*PDW0800pdwPl  ```` F$I,ddDAT*}~  @x`"DAT*  t_1$1<  $ 0%  MS Sans SerifMS Sans Serif$2$-12$700$ 536870912$DAT*18$T84$P80$ 3054%Emissions by ProcessEmissions by Process"!0`4#$')+-/2t_2< % $&-8$(n622$*DAT*$292$,@64$.[347%01 End Date: End Date:"30`="5$'6+-8;t_3$7212%9: Start Date: Start Date:"<0`H4>$?)+DAT*ACFt_4$@n1646$B512%DEUnits:Units:"G0`Q=I$?6+JLOt_5$K507%MNReference Code:Reference Code:"P0gHRS [])DAT*+_a(edrap_units_name<T W Y%UVArialArial$X-10$Z400$\ 16777215$^n2158$`640&bc [general] [general]"fDAT*0lQhS []6+_a(ji reference_code"k0ngmnoq+_as~page< % Y$p 2432$r20%tuDAT*('Page ' + page() + ' of ' + pageCount() ^v} ^w{ ^xzy Page |  of "0nlnq+ compute_1$421& dd-mmm-yyyy dd-mmm-yyyy()today()"DAT*0nS [6+_ start_date_c$969()date( left ( start_date, 11) ) `  &@"0nS [)+_ end_date_c()DAT*date( left ( end_date, 11) ) `  &@"0@X`n [q+t_12$ 3035%@Emissions by process and metric code for the current selection.@Emissions by process and metric code for DAT*the current selection."0@ n [q+a stream_id$439"0n [q+ a cmin_decoDAT*de$457$238"0n [q+ a value_type$695"0nn q+  value_type_c$DAT* 15793151$933& [general] [general]$# if( isNull( value_type ), 0, 1)   ?"0nn q+  compute_2$ 15780518$DAT*1298$#data_code_flag data_code_flag"0nn q+a  compute_3$1536$#value_type_flag value_type_flag"0n [DAT*q+camount$1774&0.0####0.0####"0n$ q+stream_amount$ 12632256$2249&0.0####0.0DAT*####$#+camount * data_code_flag * value_type_flag 0 0  data_code_flag value_type_flag" 0$  553648127@,+'(@XPDAT* [l_1$5$0$4S [-q+a(2 nation_name$1755"0`$q+ "%DAT*v_rap_reports_nation_name_t$!219%#$Nation:Nation:"&0@%)* nation_name ,? ,;<@H-22.,S [-+a(DAT*0/2 state_name"10`-3,$+469v_rap_reports_state_name_t$5183%78State:State:":0@%=> state_name ,U+@QDAT*R@XAHPCB@ [l_2HAD@S [-+a(FE2 county_name"G0`CI@$+JLOv_rap_reports_county_name_tDAT*$K229%MNCounty:County:"P0@%ST county_name ,?V@ WP[XV [YYl_3$Z164`dDAT* W\V$+]_bv_rap_reports_source_name_t$^187%`aName:Name:"c0i[eVS [-+a(gf2 source_name"h0`tdjV$kDAT* +mor naics_code_t$l2199$nn366%pq NAICS Code: NAICS Code:"s0{iuVS [v+ayx naics_code$w 2574"z0`t|V$DAT*+}v_rap_reports_source_id_t$~I329% Source ID: Source ID:"0{VS [-+a( source_id$750"0`V$DAT*k+mv_rap_reports_sic_code_t% SIC Code: SIC Code:"0VS [v+a( sic_code"0@% source_id ,UDAT*@ P [YYl_4`$+]_v_rap_reports_device_name_t"0S [+a ( device_code$DAT*%1317$786"0`$+4v_rap_reports_device_code_t$n1134%Code:Code:"0S [-+a (2 DAT*device_name"0S [-+a( device_id"0`$+}v_rap_reports_device_id_t% Device ID: Device ID:"0@DAT*% device_id ,0*-@ !`$+]_v_rap_reports_process_name_t"0S [+a (DAT* process_code"0`$+4v_rap_reports_process_code_t"0`$]+v_rap_reports_scc_code_t$@320% SCC Code: SCC Code:"0DAT*S [-+a (2 process_name"0S [-+a ( process_id"0P [YYl_5S DAT*[+a( scc_code$ 2487"0`$+}v_rap_reports_process_id_t% Process ID: Process ID:"0P [l_6DAT* $244` $ +m t_7$ 2688$180% DATA CODE DATA CODE" 0` $ +t_6$1728$ 800DAT*"%AMOUNTAMOUNT"0`! $+v_rap_reports_metric_code_t$905$658% METRIC CODE METRIC CODE" 0`"$#+%(v_rap_reports_maDAT*$terial_code_t$$R82%&'MATERIAL CODEMATERIAL CODE")0@(++P,* [l_7%./ process_id  41Jmwz}@H 2En93DAT*&1S [+ma4 7stream_decode%56min( cmin_decode for group 8 )["80n@2:1S [ +;>process_amount$#<=!sum( stream_amount for group 7 )["?0E9A1DAT*(S [+a(CB metric_code"D0@F1S [#+a(HG material_code"I0@KiYLJM NPRT_DAT**a(WV end_date<T % Y$O 16776960$Q1463$S,44$U856"X0aKZJM NRT_[(_^ start_date_1DAT*,&\][shortdate] [time][shortdate] [time]"`0`iYbJM N cRTeCgt_10$d%1061$f402"h0`ajJM N RTe/kt_11"l0n qDAT*.t%op process_id  %rsmaterial_code %uv metric_code %xy process_id  %{|material_code %~ metric_code 5 stream_amount40@ DAT*0nn +data_code_flag$1262$#9if( cmin_decode = min( cmin_decode for group 8 ), 1, 0 )  [ ? "0@DAT*2M NT_[( start_date$ 32"0`M N cTeLt_8"0`M N Te8t_9"DAT*40M NPT_a( metric_code_1"0% stream_id %material_code % metric_code % stream_id %DAT*6material_code % metric_code X 8@ nn +avalue_type_flag$#;if( value_type_c = max( value_type_c for group 9 ), 1, 0 )DAT*8   value_type_c[ ? "0@% stream_id %material_code % metric_code % cmin_decode S  value_tDAT*ype_cD|&$%3)-'(3,C*+DAT*< html.valueishtml="0" name=nation_name visible="1" edit.limit=50 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) text(band=header.1 alignment="0" text="Nation:" border="0" color="0" x="18" y="20" height="64" width="219" html.valueishtml="0" name=v_rap_reports_nation_name_t visible="1" font.face="MSDAT*> Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) column(band=header.2 id=2 alignment="0" tabsequence=32766 border="0" color="0" x="347" y="4" height="64" width="1755" format="[general]" html.valueishtml="0" name=state_name visible="1" edit.limit=50 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" fonDAT*@t.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) text(band=header.2 alignment="0" text="State:" border="0" color="0" x="18" y="4" height="64" width="183" html.valueishtml="0" name=v_rap_reports_state_name_t visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) line(band=header.3 x1="0" y1="84" x2="3054" y2="84" name=l_2 visible="1DAT*B" pen.style="0" pen.width="5" pen.color="0" background.mode="2" background.color="16777215" ) column(band=header.3 id=3 alignment="0" tabsequence=32766 border="0" color="0" x="347" y="4" height="64" width="1755" format="[general]" html.valueishtml="0" name=county_name visible="1" edit.limit=50 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" backgroDAT*Hund.mode="2" background.color="16777215" ) text(band=header.3 alignment="0" text="County:" border="0" color="0" x="18" y="4" height="64" width="229" html.valueishtml="0" name=v_rap_reports_county_name_t visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) line(band=header.4 x1="0" y1="164" x2="3054" y2="164" name=l_3 visible="1" pen.style="0" pen.width="5" pen.color="0" bacDAT*Frelease 8; datawindow(units=0 timer_interval=0 color=16777215 processing=0 HTMLDW=no print.documentname="RAPIDS Report" print.orientation = 0 print.margin.left = 150 print.margin.right = 110 print.margin.top = 100 print.margin.bottom = 150 print.paper.source = 0 print.paper.size = 0 print.prompt=no print.buttons=no print.preview.buttons=no ) header(height=376 color="536870912" ) summary(height=0 color="536870912" ) footer(height=88 color="536870912" ) detail(height=0 color="553648127" ) tablDAT*e(column=(type=char(50) updatewhereclause=yes name=nation_name dbname="v_rap_reports.nation_name" ) column=(type=char(50) updatewhereclause=yes name=state_name dbname="v_rap_reports.state_name" ) column=(type=char(50) updatewhereclause=yes name=county_name dbname="v_rap_reports.county_name" ) column=(type=char(10) updatewhereclause=yes name=source_id dbname="v_rap_reports.source_id" ) column=(type=char(50) updatewhereclause=yes name=source_name dbname="v_rap_reports.source_name" ) columnDAT*Jkground.mode="2" background.color="16777215" ) text(band=header.4 alignment="0" text="Name:" border="0" color="0" x="18" y="84" height="64" width="187" html.valueishtml="0" name=v_rap_reports_source_name_t visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) column(band=header.4 id=5 alignment="0" tabsequence=32766 border="0" color="0" x="347" y="84" height="64" width="1755" DAT*Lformat="[general]" html.valueishtml="0" name=source_name visible="1" edit.limit=50 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) text(band=header.4 alignment="0" text="NAICS Code:" border="0" color="0" x="2199" y="84" height="64" width="366" html.valueishtml="0" name=naics_code_t visible="1" fontDAT*N.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) column(band=header.4 id=7 alignment="0" tabsequence=32766 border="0" color="0" x="2574" y="84" height="64" width="439" format="[general]" html.valueishtml="0" name=naics_code visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" DAT*Pfont.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) text(band=header.4 alignment="0" text="Source ID:" border="0" color="0" x="18" y="4" height="64" width="329" html.valueishtml="0" name=v_rap_reports_source_id_t visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) column(band=header.4 id=4 alignment="0" tabsequence=32766 border="0" color="0" x="DAT*R347" y="4" height="64" width="750" format="[general]" html.valueishtml="0" name=source_id visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) text(band=header.4 alignment="0" text="SIC Code:" border="0" color="0" x="2199" y="4" height="64" width="366" html.valueishtml="0" name=DAT*Tv_rap_reports_sic_code_t visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) column(band=header.4 id=6 alignment="0" tabsequence=32766 border="0" color="0" x="2574" y="4" height="64" width="439" format="[general]" html.valueishtml="0" name=sic_code visible="1" edit.limit=4 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face=DAT*V"Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) line(band=header.5 x1="0" y1="164" x2="3054" y2="164" name=l_4 visible="1" pen.style="0" pen.width="5" pen.color="0" background.mode="2" background.color="16777215" ) text(band=header.5 alignment="0" text="Name:" border="0" color="0" x="18" y="84" height="64" width="187" html.valueishtml="0" name=v_rap_reports_device_name_t visible="1" font.face="MS SDAT*Xans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) column(band=header.5 id=9 alignment="0" tabsequence=32766 border="0" color="0" x="1317" y="4" height="64" width="786" format="[general]" html.valueishtml="0" name=device_code visible="1" edit.limit=15 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" fontDAT*Z.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) text(band=header.5 alignment="0" text="Code:" border="0" color="0" x="1134" y="4" height="64" width="183" html.valueishtml="0" name=v_rap_reports_device_code_t visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) column(band=header.5 id=10 alignment="0" tabsequence=32766 border="0" cDAT*\olor="0" x="347" y="84" height="64" width="1755" format="[general]" html.valueishtml="0" name=device_name visible="1" edit.limit=50 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) column(band=header.5 id=8 alignment="0" tabsequence=32766 border="0" color="0" x="347" y="4" height="64" width="750" formDAT*^at="[general]" html.valueishtml="0" name=device_id visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) text(band=header.5 alignment="0" text="Device ID:" border="0" color="0" x="18" y="4" height="64" width="329" html.valueishtml="0" name=v_rap_reports_device_id_t visible="1" fDAT*`ont.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) text(band=header.6 alignment="0" text="Name:" border="0" color="0" x="18" y="84" height="64" width="187" html.valueishtml="0" name=v_rap_reports_process_name_t visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) columDAT*bn(band=header.6 id=12 alignment="0" tabsequence=32766 border="0" color="0" x="1317" y="4" height="64" width="786" format="[general]" html.valueishtml="0" name=process_code visible="1" edit.limit=15 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) text(band=header.6 alignment="0" text="Code:" border="0DAT*d" color="0" x="1134" y="4" height="64" width="183" html.valueishtml="0" name=v_rap_reports_process_code_t visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) text(band=header.6 alignment="0" text="SCC Code:" border="0" color="0" x="2158" y="4" height="64" width="320" html.valueishtml="0" name=v_rap_reports_scc_code_t visible="1" font.face="MS Sans Serif" font.height="-8" foDAT*fnt.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) column(band=header.6 id=13 alignment="0" tabsequence=32766 border="0" color="0" x="347" y="84" height="64" width="1755" format="[general]" html.valueishtml="0" name=process_name visible="1" edit.limit=50 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" DAT*hfont.charset="0" background.mode="2" background.color="16777215" ) column(band=header.6 id=11 alignment="0" tabsequence=32766 border="0" color="0" x="347" y="4" height="64" width="750" format="[general]" html.valueishtml="0" name=process_id visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.colorDAT*j="16777215" ) line(band=header.6 x1="0" y1="164" x2="3054" y2="164" name=l_5 visible="1" pen.style="0" pen.width="5" pen.color="0" background.mode="2" background.color="16777215" ) column(band=header.6 id=14 alignment="0" tabsequence=32766 border="0" color="0" x="2487" y="4" height="64" width="439" format="[general]" html.valueishtml="0" name=scc_code visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.DAT*lheight="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) text(band=header.6 alignment="0" text="Process ID:" border="0" color="0" x="18" y="4" height="64" width="329" html.valueishtml="0" name=v_rap_reports_process_id_t visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) line(band=header.6 x1="0" y1="24DAT*n4" x2="3054" y2="244" name=l_6 visible="1" pen.style="0" pen.width="5" pen.color="0" background.mode="2" background.color="16777215" ) text(band=header.6 alignment="2" text="DATA CODE" border="0" color="0" x="2688" y="180" height="64" width="366" html.valueishtml="0" name=t_7 visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) compute(band=header.7 alignment="2" expressionDAT*p="min( cmin_decode for group 8 )"border="0" color="0" x="2688" y="4" height="64" width="366" format="[general]" html.valueishtml="0" name=stream_decode visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) compute(band=header.8 alignment="0" expression="if( cmin_decode = min( cmin_decode for group 8 ), 1, 0 )"border="0" color="0" x="18" y="4" height="64" width="1262" format="0.0####" hDAT*rtml.valueishtml="0" name=data_code_flag visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="15780518" ) compute(band=header.9 alignment="0" expression="if( value_type_c = max( value_type_c for group 9 ), 1, 0 )"border="0" color="0" x="1317" y="4" height="64" width="1262" format="[general]" html.valueishtml="0" name=value_type_flag visible="1" font.face="MS Sans Serif" font.height="-8" fDAT*tont.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="15780518" ) column(band=detail id=15 alignment="0" tabsequence=32766 border="0" color="0" x="18" y="20" height="64" width="439" format="[general]" html.valueishtml="0" name=stream_id visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" backgrouDAT*vnd.color="16777215" ) column(band=detail id=24 alignment="2" tabsequence=32766 border="0" color="0" x="457" y="20" height="64" width="238" format="[general]" html.valueishtml="0" name=cmin_decode visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) column(band=detail id=19 alignment="2" tabsequence=32766 border="0" DAT*xcolor="0" x="695" y="20" height="64" width="238" format="[general]" html.valueishtml="0" name=value_type visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) compute(band=detail alignment="2" expression="if( isNull( value_type ), 0, 1)"border="0" color="0" x="933" y="20" height="64" width="238" format="[general]" htmDAT*zl.valueishtml="0" name=value_type_c visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="15793151" ) compute(band=detail alignment="2" expression="data_code_flag"border="0" color="0" x="1298" y="20" height="64" width="238" format="[general]" html.valueishtml="0" name=compute_2 visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.chDAT*|arset="0" background.mode="2" background.color="15780518" ) compute(band=detail alignment="2" expression="value_type_flag "border="0" color="0" x="1536" y="20" height="64" width="238" format="[general]" html.valueishtml="0" name=compute_3 visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="15780518" ) column(band=detail id=23 alignment="1" tabsequence=32766 border="0" color="0" x="1774" DAT*~y="20" height="64" width="457" format="0.0####" html.valueishtml="0" name=camount visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) compute(band=detail alignment="1" expression="camount * data_code_flag * value_type_flag"border="0" color="0" x="2249" y="20" height="64" width="457" format="0.0DAT*####" html.valueishtml="0" name=stream_amount visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="12632256" ) column(band=trailer.8 id=20 alignment="0" tabsequence=32766 border="0" color="0" x="421" y="32" height="56" width="640" format="[shortdate] [time]" html.valueishtml="0" name=start_date visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscrDAT*oll=yes edit.imemode=0 font.face="Arial" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16776960" ) text(band=trailer.8 alignment="2" text="Reference Code:" border="0" color="0" x="1061" y="32" height="56" width="402" html.valueishtml="0" name=t_8 visible="1" font.face="Arial" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16776960" ) text(band=DAT*trailer.8 alignment="2" text="Start Date:" border="0" color="0" x="18" y="32" height="56" width="402" html.valueishtml="0" name=t_9 visible="1" font.face="Arial" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16776960" ) column(band=trailer.8 id=17 alignment="0" tabsequence=32766 border="0" color="0" x="1463" y="32" height="56" width="640" format="[general]" html.valueishtml="0" name=metric_code_1 visible="1" edit.limitDAT*=12 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16776960" ) column(band=trailer.7 id=21 alignment="0" tabsequence=32766 border="0" color="0" x="1463" y="44" height="56" width="640" format="[general]" html.valueishtml="0" name=end_date visible="1" edit.limit=30 edit.case=any edit.focusrectangle=no edit.autoselDAT*ect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16776960" ) column(band=trailer.7 id=20 alignment="0" tabsequence=32766 border="0" color="0" x="421" y="44" height="56" width="640" format="[shortdate] [time]" html.valueishtml="0" name=start_date_1 visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=DAT*0 font.face="Arial" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16776960" ) text(band=trailer.7 alignment="2" text="Units:" border="0" color="0" x="1061" y="44" height="56" width="402" html.valueishtml="0" name=t_10 visible="1" font.face="Arial" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16776960" ) text(band=trailer.7 alignment="2" text=DAT*"End Date:" border="0" color="0" x="18" y="44" height="56" width="402" html.valueishtml="0" name=t_11 visible="1" font.face="Arial" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16776960" ) line(band=trailer.6 x1="0" y1="4" x2="3054" y2="4" name=l_7 visible="1" pen.style="0" pen.width="5" pen.color="0" background.mode="2" background.color="16777215" ) text(band=footer alignment="1" text="Emissions by process and metrDAT*ic code for the current selection." border="0" color="0" x="18" y="20" height="64" width="3035" html.valueishtml="0" name=t_12 visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) text(band=header.6 alignment="1" text="AMOUNT" border="0" color="0" x="1728" y="180" height="64" width="800" html.valueishtml="0" name=t_6 visible="1" font.face="MS Sans Serif" font.height="-8" fontDAT*.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) compute(band=header.7 alignment="1" expression="sum( stream_amount for group 7 )"border="0" color="0" x="1728" y="4" height="64" width="800" format="0.0####" html.valueishtml="0" name=process_amount visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) column(band=header.7DAT* id=17 alignment="0" tabsequence=32766 border="0" color="0" x="905" y="4" height="64" width="658" format="[general]" html.valueishtml="0" name=metric_code visible="1" edit.limit=12 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) text(band=header.6 alignment="0" text="METRIC CODE" border="0" color="0"DAT* x="905" y="180" height="64" width="658" html.valueishtml="0" name=v_rap_reports_metric_code_t visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) text(band=header.6 alignment="0" text="MATERIAL CODE" border="0" color="0" x="82" y="180" height="64" width="658" html.valueishtml="0" name=v_rap_reports_material_code_t visible="1" font.face="MS Sans Serif" font.height="-8" fontDAT*.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) column(band=header.7 id=16 alignment="0" tabsequence=32766 border="0" color="0" x="82" y="4" height="64" width="658" format="[general]" html.valueishtml="0" name=material_code visible="1" edit.limit=12 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" fontDAT*.charset="0" background.mode="2" background.color="16777215" ) htmltable(border="1" ) htmlgen(clientevents="1" clientvalidation="1" clientcomputedfields="1" clientformatting="0" clientscriptable="0" generatejavascript="1" netscapelayers="0" ) DAT*3/-.2d0135348t67;9:><= A?@ 3DBCDAT* GEF JHI 3MKL PNOSEQR VgTU YZ ][\DAT*ecdjQhimnqopvtu\ .ee 2 $% nation_namDAT*e % state_name % county_name % source_id % device_id % process_id  %material_code % metric_code % stream_id %DAT* cmin_decode % value_type \ gengPI\D apts_p _r sr  .   :fromDate:toDate :as_null:as_ro :fromDate:toDate :fromDate:toDate :unitCode :refCode :matCodel al_nationArrayal_stateArrayal_countyArrayal_soDAT*urceArrayal_sourceSub1Arrayal_sourceSub2Array fromDatetoDateas_nullas_ro unitCoderefCodematCode9 2!" #!"l nation_namev_rap_reports.nation_name state_namev_rap_reports.state_name- county_namev_rap_reports.county_nameC souDAT*rce_idv_rap_reports.source_id source_namev_rap_reports.source_named sic_codev_rap_reports.sic_code naics_codev_rap_reports.naics_codet device_idv_rap_reports.device_id device_codev_rap_reports.device_code device_namev_rap_reports.device_name process_idv_rap_reports.process_idDAT* process_codev_rap_reports.process_code process_namev_rap_reports.process_name scc_codev_rap_reports.scc_code stream_idv_rap_reports.stream_idmaterial_codev_rap_reports.material_codeE metric_codev_rap_reports.metric_codeWXV@Wgreference_codev_rap_reports.reference_code value_typeDAT*v_rap_reports.value_type^_]9`^a_b`a start_datev_rap_reports.start_datefgeYf end_datev_rap_reports.end_datekKljkQrap_units_namerap_units.namecamountamountr9sqr cmin_decode min_decoDAT*dewxv9yw2zx{yzSELECT v_rap_reports.nation_name, v_rap_reports.state_name, v_rap_reports.county_name, v_rap_reports.source_id, v_rap_reports.source_name, v_rap_reports.sic_code, v_rap_reports.naics_code, v_rap_reports.device_id, v_rap_reports.device_code, v_rap_reports.device_name, v_rap_reports.process_id, v_rap_reports.process_code, v_rap_reports.proDAT*cess_name, v_rap_reports.scc_code, v_rap_reports.stream_id, v_rap_reports.material_code, v_rap_reports.metric_code, v_rap_reports.reference_code, v_rap_reports.value_type,  "start_date",  "end_date", rap_units_b.name, sum(v_rap_reports.value_amount * rap_units_a.conversion_factor_amt / rap_units_b.conversion_factor_amt) "amount", IF v_rap_reports.data_code IS NULL THEN  ELSE IF v_rap_reports.data_code = 'RO' THEN  ELSE v_rap_reports.data_code ENDIF ENDDAT*IF "min_decode" FROM v_rap_reports, rap_units rap_units_a, rap_units rap_units_b WHERE ( v_rap_reports.value_unit_code = rap_units_a.code ) AND ( rap_units_a.meas_code = rap_units_b.meas_code ) AND ( v_rap_reports.metric_code IN ('DISCHARGE', 'DOWNSTRMDIS', 'MASS FLOW')) AND ( ( v_rap_reports.start_date BETWEEN  AND  ) AND ( v_rap_reports.end_date BETWEEN  AND  ) AND ( rap_units_b.code =  ) AND ( v_rap_reports.reference_code =  ) AND ( v_rap_reports.maDAT*terial_code IN (  ) ) ) GROUP BY v_rap_reports.nation_name, v_rap_reports.state_name, v_rap_reports.county_name, v_rap_reports.source_id, v_rap_reports.source_name, v_rap_reports.sic_code, v_rap_reports.naics_code, v_rap_reports.device_id, v_rap_reports.device_code, v_rap_reports.device_name, v_rap_reports.process_id, v_rap_reports.process_code, v_rap_reports.process_name, v_rap_reports.scc_code, v_rap_reports.stream_id, v_rap_reports.referenceDAT*_code, v_rap_reports.material_code, v_rap_reports.metric_code, rap_units_b.name, v_rap_reports.data_code, v_rap_reports.value_type \"1"1"1"1"0"0"0DAT*}lgQRAPIDS ReportDAT*release 8; datawindow(units=0 timer_interval=0 color=16777215 processing=0 HTMLDW=no print.documentname="RAPIDS Report" print.orientation = 0 print.margin.left = 300 print.margin.right = 100 print.margin.top = 100 print.margin.bottom = 150 print.paper.source = 0 print.paper.size = 0 print.prompt=no print.buttons=no print.preview.buttons=no ) header(height=376 color="536870912" ) summary(height=0 color="536870912" ) footer(height=88 color="536870912" ) detail(height=4 color="553648127" ) tablDAT*e(column=(type=char(50) updatewhereclause=yes name=nation_name dbname="v_rap_reports.nation_name" ) column=(type=char(50) updatewhereclause=yes name=state_name dbname="v_rap_reports.state_name" ) column=(type=char(50) updatewhereclause=yes name=county_name dbname="v_rap_reports.county_name" ) column=(type=char(10) updatewhereclause=yes name=source_id dbname="v_rap_reports.source_id" ) column=(type=char(50) updatewhereclause=yes name=source_name dbname="v_rap_reports.source_name" ) columnDAT* font.face="Arial" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16776960" ) column(band=trailer.7 id=21 alignment="0" tabsequence=32766 border="0" color="0" x="1463" y="44" height="56" width="640" format="[general]" html.valueishtml="0" name=end_date visible="1" edit.limit=30 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-8" font.weight="400DAT*" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16776960" ) column(band=trailer.7 id=20 alignment="0" tabsequence=32766 border="0" color="0" x="421" y="44" height="56" width="640" format="[shortdate] [time]" html.valueishtml="0" name=start_date_1 visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.chaDAT*rset="0" background.mode="2" background.color="16776960" ) text(band=trailer.7 alignment="2" text="Units:" border="0" color="0" x="1061" y="44" height="56" width="402" html.valueishtml="0" name=t_9 visible="1" font.face="Arial" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16776960" ) text(band=trailer.7 alignment="2" text="End Date:" border="0" color="0" x="18" y="44" height="56" width="402" html.valueishtml="0" nameDAT*b=t_10 visible="1" font.face="Arial" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16776960" ) line(band=trailer.5 x1="0" y1="4" x2="3054" y2="4" name=l_6 visible="1" pen.style="0" pen.width="5" pen.color="0" background.mode="2" background.color="16777215" ) text(band=footer alignment="1" text="Emissions by device and metric code for the current selection." border="0" color="0" x="18" y="20" height="64" width="3035" htDAT*odev_rap_reports.process_code process_namev_rap_reports.process_name scc_codev_rap_reports.scc_code stream_idv_rap_reports.stream_idmaterial_codev_rap_reports.material_codeq metric_codev_rap_reports.metric_codetreference_codev_rap_reports.reference_code~ value_typev_rap_reports.value_type>DAT*d start_datev_rap_reports.start_dated end_datev_rap_reports.end_datevrap_units_namerap_units.namecamountamountd cmin_decode min_decodeDAT*=(type=char(4) updatewhereclause=yes name=sic_code dbname="v_rap_reports.sic_code" ) column=(type=char(6) updatewhereclause=yes name=naics_code dbname="v_rap_reports.naics_code" ) column=(type=char(10) updatewhereclause=yes name=device_id dbname="v_rap_reports.device_id" ) column=(type=char(15) updatewhereclause=yes name=device_code dbname="v_rap_reports.device_code" ) column=(type=char(50) updatewhereclause=yes name=device_name dbname="v_rap_reports.device_name" ) column=(type=char(10) DAT*updatewhereclause=yes name=process_id dbname="v_rap_reports.process_id" ) column=(type=char(15) updatewhereclause=yes name=process_code dbname="v_rap_reports.process_code" ) column=(type=char(50) updatewhereclause=yes name=process_name dbname="v_rap_reports.process_name" ) column=(type=char(10) updatewhereclause=yes name=scc_code dbname="v_rap_reports.scc_code" ) column=(type=char(10) updatewhereclause=yes name=stream_id dbname="v_rap_reports.stream_id" ) column=(type=char(12) updatewherDAT*eclause=yes name=material_code dbname="v_rap_reports.material_code" ) column=(type=char(12) updatewhereclause=yes name=metric_code dbname="v_rap_reports.metric_code" ) column=(type=char(12) updatewhereclause=yes name=reference_code dbname="v_rap_reports.reference_code" ) column=(type=char(3) updatewhereclause=yes name=value_type dbname="v_rap_reports.value_type" ) column=(type=char(26) updatewhereclause=yes name=start_date dbname="v_rap_reports.start_date" ) column=(type=char(26) updatewDAT*2306$663"0`Ov_rap_reports_source_name_t$987$174%Name:Name:"0s y(DAT*2 source_name$1166$1271"0`Ov_rap_reports_sic_code_t$ 2450$ 265% SIC Code: SIC Code:"0DAT*s y( sic_code$ 2720$142"0`O\ naics_code_t$; 2875% NAICS Code: NAICS Code:"0DAT*s y  naics_code$ 3218$160"0@% source_id ,NHK@@APDAT* yGIMl_5$164`Ov_rap_reports_material_code_t$658% Pollutant Pollutant"0`Ov_rap_reporDAT*ts_metric_code_t$[859$ 800%Downstream DischargeDownstream Discharge"0` Ot_6$1719% Discharge Discharge" 0` ODAT* t_7$  2578%Mass Flow to Next DeviceMass Flow to Next Device"0` OKpv_rap_reports_device_code_t$21074%Code:Code:"0`'ODAT*K "%v_rap_reports_device_id_t${123$!I329%#$ Device ID: Device ID:"&0`/(O)K+-v_rap_reports_device_name_t$*W1879$,187".08'DAT*0s y1K3 (652 device_name$22062$4%1317"70A/9s y:K< (?> device_code$;1257$=[603DAT*"@08Bs yCK<(FE device_id$D453"G0@IIPJH yGIMl_6%LM device_id 0ODAT*jkxru@H@PcUQOs yK(SR material_code"T0n\PVOs yKWZdevice_downstream$#XY%sum( stream_downstreDAT*am for group 6 )["[0ncU]Os yK^adevice_massflow$#_`#sum( stream_massflow for group 6 )["b0n\dOs y Kehdevice_discharge$#fg$sum( streDAT*am_discharge for group 6 )["i0@ln oP%mn device_id %pqmaterial_code %st device_id %vwmaterial_code y|5z {stream_downstream5} ~DAT*stream_massflow5 stream_discharge4N@@ns yprocess_downstream$[1371$#%sum( stream_downstream for group 7 )["DAT*0s y( stream_id"0s y/   process_id"0ns yDAT*process_massflow$2048$##sum( stream_massflow for group 7 )["0ns yprocess_discharge$ 2725$#$sum( stream_discharge for group 7 )["0@DAT* ( end_date<t  $ 16776960$1463$,44$856"0DAT* 1( start_date_1&[shortdate] [time][shortdate] [time]"0`  ct_10$%1061"0`  /DAT*t_11"0n P A % process_id  %material_code % metric_code % process_id  %material_code % metric_code 5 strDAT*eam_downstream5 stream_massflow5 stream_discharge4Y.CVMPS@@n /Kdata_code_flag$1262$#9if( cmin_decode = min( cmin_decoDAT*de for group 8 ), 1, 0 )  [ ? "0ns yKz$#_if( metric_code = 'DOWNSTRMDIS' AND cmin_decode = min( cmin_decode for group 8 ), camount, 0 ) ,  DOWNSTRMDAT*DIS  [  "0n s y K  compute_2$ 1975$# ]if( metric_code = 'MASS FLOW' AND cmin_decode = min( cmin_decode for group 8 ), camount, 0 ) ,  MASSDAT* FLOW  [  "0ns yK, compute_3$[ 2651$# !]if( metric_code = 'DISCHARGE' AND cmin_decode = min( cmin_decode for group 8 ), camount, 0 )"*+ ,#' $% &DIDAT*SCHARGE () [  "-0@/>60. 11(43 start_date$2 32"50`:/7.  1l8DAT*t_8"90`>6;.  /1V<t_9"=0:?. 1(A@ metric_code"B0DGPJ%EF stream_id %HImateDAT*rial_code %KL metric_code %NO stream_id %QRmaterial_code %TU metric_code WXX 8Zhuilor@@[[n\Z 3KDAT*]fvalue_type_flag$#^_;if( value_type_c = max( value_type_c for group 9 ), 1, 0 )`de ac b value_type_c[ ? "g0@%jk stream_id %mnmaterial_code %pDAT*q metric_code %st cmin_decode vSw x value_type_cDzFDAT*Z3i33 3A DAT*8 / 3   3  PDAT*      /#q!"&$%645DAT*R\ {{~ee()2 $%|} nation_name % state_name % county_name % source_id % device_id %material_code % meDAT*Lists details for a single source.release 8; datawindow(units=2 timer_interval=60000 color=1090519039 processing=0 HTMLDW=no print.documentname="" print.orientation = 1 print.margin.left = 250 print.margin.right = 250 print.margin.top = 250 print.margin.bottom = 250 print.paper.source = 0 print.paper.size = 0 print.prompt=no print.buttons=no print.preview.buttons=no ) header(height=343 color="536870912" ) summary(height=0 color="536870912" ) footer(height=0 color="536870912" ) detail(height=1DAT*958 color="536870912" height.autosize=yes) table(column=(type=decimal(0) update=yes updatewhereclause=yes name=rid dbname="rap_sources.rid" initial="null" ) column=(type=char(15) update=yes updatewhereclause=yes name=code dbname="rap_sources.code" initial="null" ) column=(type=decimal(0) update=yes updatewhereclause=yes name=geographic_county_rid dbname="rap_sources.geographic_county_rid" initial="null" ) column=(type=decimal(0) update=yes updatewhereclause=yes name=geographic_state_rid dbDAT*name="rap_sources.geographic_state_rid" ) column=(type=char(15) update=yes updatewhereclause=yes name=id dbname="rap_sources.id" initial="null" ) column=(type=char(50) update=yes updatewhereclause=yes name=name dbname="rap_sources.name" initial="null" ) column=(type=char(1) update=yes updatewhereclause=yes name=type dbname="rap_sources.type" initial="null" ) column=(type=date update=yes updatewhereclause=yes name=begin_operation_date dbname="rap_sources.begin_operation_date" ) column=(tyDAT*pe=char(255) update=yes updatewhereclause=yes name=comment_text dbname="rap_sources.comment_text" ) column=(type=date update=yes updatewhereclause=yes name=end_operation_date dbname="rap_sources.end_operation_date" ) column=(type=decimal(0) update=yes updatewhereclause=yes name=geographic_incorp_rid dbname="rap_sources.geographic_incorp_rid" initial="null" ) column=(type=decimal(0) update=yes updatewhereclause=yes name=geographic_locale_rid dbname="rap_sources.geographic_locale_rid" initial=DAT*"null" ) column=(type=char(1) update=yes updatewhereclause=yes name=group_flag dbname="rap_sources.group_flag" ) column=(type=char(20) update=yes updatewhereclause=yes name=group_type dbname="rap_sources.group_type" ) column=(type=char(40) update=yes updatewhereclause=yes name=location_line_1_addr dbname="rap_sources.location_line_1_addr" ) column=(type=char(40) update=yes updatewhereclause=yes name=location_line_2_addr dbname="rap_sources.location_line_2_addr" ) column=(type=char(11) upDAT*date=yes updatewhereclause=yes name=location_zip_code dbname="rap_sources.location_zip_code" ) column=(type=char(4) update=yes updatewhereclause=yes name=sic_code dbname="rap_sources.sic_code" ) column=(type=char(6) updatewhereclause=yes name=naics_code dbname="rap_sources.naics_code" ) retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"rap_sources~" ) TABLE(NAME=~"v_rap_sources~" ) COLUMN(NAME=~"rap_sources.rid~") COLUMN(NAME=~"rap_sources.code~") COLUMN(NAME=~"rap_sources.geographic_county_ridDAT*~") COLUMN(NAME=~"rap_sources.geographic_state_rid~") COLUMN(NAME=~"rap_sources.id~") COLUMN(NAME=~"rap_sources.name~") COLUMN(NAME=~"rap_sources.type~") COLUMN(NAME=~"rap_sources.begin_operation_date~") COLUMN(NAME=~"rap_sources.comment_text~") COLUMN(NAME=~"rap_sources.end_operation_date~") COLUMN(NAME=~"rap_sources.geographic_incorp_rid~") COLUMN(NAME=~"rap_sources.geographic_locale_rid~") COLUMN(NAME=~"rap_sources.group_flag~") COLUMN(NAME=~"rap_sources.group_type~") COLUMN(NAME=~"rap_sources.DAT*location_line_1_addr~") COLUMN(NAME=~"rap_sources.location_line_2_addr~") COLUMN(NAME=~"rap_sources.location_zip_code~") COLUMN(NAME=~"rap_sources.sic_code~") COLUMN(NAME=~"rap_sources.naics_code~") JOIN (LEFT=~"rap_sources.rid~" OP =~"=~"RIGHT=~"v_rap_sources.source_rid~" )WHERE( EXP1 =~"1~" OP =~"=~" EXP2 =~"1 ~" ) ) ARG(NAME = ~"al_nationArray~" TYPE = numberlist) ARG(NAME = ~"al_stateArray~" TYPE = numberlist) ARG(NAME = ~"al_countyArray~" TYPE = numberlist) ARG(NAME = ~"al_soDAT*urceArray~" TYPE = numberlist) ARG(NAME = ~"al_sourceSub1Array~" TYPE = numberlist) ARG(NAME = ~"al_sourceSub2Array~" TYPE = numberlist) ARG(NAME = ~"fromDate~" TYPE = datetime) ARG(NAME = ~"toDate~" TYPE = datetime) ARG(NAME = ~"as_null~" TYPE = string) ARG(NAME = ~"as_ro~" TYPE = string) ARG(NAME = ~"unitCode~" TYPE = string) ARG(NAME = ~"refCode~" TYPE = string) ARG(NAME = ~"matCode~" TYPE = stringlist) " arguments=(("al_nationArray", numberlist),("al_stateArray", numberlist),("al_counDAT* tyArray", numberlist),("al_sourceArray", numberlist),("al_sourceSub1Array", numberlist),("al_sourceSub2Array", numberlist),("fromDate", datetime),("toDate", datetime),("as_null", string),("as_ro", string),("unitCode", string),("refCode", string),("matCode", stringlist)) ) text(band=header alignment="0" text="Source Detail Report" border="0" color="0" x="4218" y="0" height="208" width="1968" html.valueishtml="0" name=t_1 visible="1" font.face="MS Sans Serif" font.height="-12" font.weight="700" DAT*"font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="553648127" ) compute(band=header alignment="1" expression="'Page ' + page() + ' of ' + pageCount()"border="0" color="0" x="8541" y="83" height="145" width="1875" format="[general]" html.valueishtml="0" name=page visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) line(band=header x1="41" y1=DAT*$"312" x2="10406" y2="312" name=l_1 visible="1" pen.style="0" pen.width="31" pen.color="0" background.mode="1" background.color="553648127" ) compute(band=header alignment="0" expression="today()"border="0" color="0" x="52" y="83" height="145" width="562" format="[general]" html.valueishtml="0" name=today_cf tag="datetime" visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) DAT*& report(band=detail dataobject="d_rpt_dev" x="156" y="1614" height="312" width="10312" border="0" height.autosize=yes criteria="" nest_arguments=((" rid ")) trail_footer = yes name=dw_1 visible="1" slideup=directlyabove ) text(band=detail alignment="0" text="Agency Source Id:" border="0" color="0" x="52" y="104" height="135" width="1145" html.valueishtml="0" name=id_t visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" bacDAT*(kground.mode="1" background.color="536870912" ) text(band=detail alignment="0" text="Group Flag:" border="0" color="0" x="52" y="322" height="135" width="802" html.valueishtml="0" name=group_flag_t visible="1" font.face="MS Sans Serif" 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=13 alignment="0" tabsequence=32766 border="0" color="0" x="812" y="322" height="135" width="166" format="DAT**[general]" html.valueishtml="0" name=group_flag visible="1" edit.limit=1 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) text(band=detail alignment="1" text="Group Type:" border="0" color="0" x="1156" y="322" height="135" width="843" html.valueishtml="0" name=group_type_t visible="1" font.fDAT*,ace="MS Sans Serif" 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=14 alignment="0" tabsequence=32766 border="0" color="0" x="1979" y="322" height="135" width="1937" format="[general]" html.valueishtml="0" name=group_type visible="1" edit.limit=20 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="MS Sans Serif" font.height="-8" font.DAT*.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) text(band=detail alignment="0" text="Begin Operation Date:" border="0" color="0" x="4114" y="322" height="135" width="1531" html.valueishtml="0" name=begin_operation_date_t visible="1" font.face="MS Sans Serif" 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=8 alignment="0" tDAT*0absequence=32766 border="0" color="0" x="5697" y="322" height="135" width="854" format="[general]" html.valueishtml="0" name=begin_operation_date visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) text(band=detail alignment="0" text="End Operation Date:" border="0" colorDAT*2="0" x="7031" y="322" height="135" width="1406" html.valueishtml="0" name=end_operation_date_t visible="1" font.face="MS Sans Serif" 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=10 alignment="0" tabsequence=32766 border="0" color="0" x="8479" y="322" height="135" width="927" format="[general]" html.valueishtml="0" name=end_operation_date visible="1" edit.limit=0 edit.case=any edit.foDAT*4cusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) text(band=detail alignment="0" text="Address:" border="0" color="0" x="52" y="531" height="135" width="593" html.valueishtml="0" name=location_line_1_addr_t visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" fonDAT*6t.charset="0" background.mode="1" background.color="536870912" ) column(band=detail id=15 alignment="0" tabsequence=32766 border="0" color="0" x="687" y="531" height="135" width="3364" format="[general]" html.valueishtml="0" name=location_line_1_addr visible="1" edit.limit=40 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1"DAT*8 background.color="536870912" ) text(band=detail alignment="0" text="City:" border="0" color="0" x="4114" y="531" height="135" width="312" html.valueishtml="0" name=geographic_incorp_rid_t visible="1" font.face="MS Sans Serif" 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=11 alignment="0" tabsequence=32766 border="0" color="0" x="4458" y="531" height="135" width="2531" format="[generaDAT*:l]" html.valueishtml="0" name=geographic_incorp_rid visible="1" dddw.name=d_city_names dddw.displaycolumn=name dddw.datacolumn=rid dddw.percentwidth=100 dddw.lines=0 dddw.limit=0 dddw.allowedit=no dddw.useasborder=no dddw.case=any dddw.imemode=0 font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="553648127" ) text(band=detail alignment="0" text="County:" border="0" color="0" x="7031" y="531" height="DAT*<135" width="520" html.valueishtml="0" name=geographic_county_rid_t visible="1" font.face="MS Sans Serif" 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=3 alignment="0" tabsequence=32766 border="0" color="0" x="7583" y="531" height="135" width="1864" format="[general]" html.valueishtml="0" name=geographic_county_rid visible="1" dddw.name=d_county_name dddw.displaycolumn=name dddw.datacoDAT*>lumn=rid dddw.percentwidth=100 dddw.lines=0 dddw.limit=0 dddw.allowedit=no dddw.useasborder=no dddw.case=any dddw.imemode=0 font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="553648127" ) column(band=detail id=16 alignment="0" tabsequence=32766 border="0" color="0" x="687" y="718" height="135" width="3364" format="[general]" html.valueishtml="0" name=location_line_2_addr visible="1" edit.limit=40 edDAT*@it.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) text(band=detail alignment="0" text="State:" border="0" color="0" x="4114" y="718" height="135" width="416" html.valueishtml="0" name=geographic_locale_rid_t visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2DAT*B" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) column(band=detail id=4 alignment="0" tabsequence=32766 border="0" color="0" x="4562" y="718" height="135" width="2427" format="[general]" html.valueishtml="0" name=geographic_state_rid visible="1" dddw.name=d_state_names dddw.displaycolumn=name dddw.datacolumn=rid dddw.percentwidth=100 dddw.lines=0 dddw.limit=0 dddw.allowedit=no dddw.useasborder=no dddw.case=any dddw.imemode=0 font.face="MS Sans Serif" font.heDAT*Dight="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) text(band=detail alignment="0" text="Zip:" border="0" color="0" x="7031" y="718" height="135" width="270" html.valueishtml="0" name=location_zip_code_t visible="1" font.face="MS Sans Serif" 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=17 alignment="0" tabsequDAT*Fence=32766 border="0" color="0" x="7354" y="718" height="135" width="895" format="[general]" html.valueishtml="0" name=location_zip_code visible="1" edit.limit=9 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) text(band=detail alignment="0" text="Comments:" border="0" color="0" x="52" y="937"DAT*H height="135" width="729" html.valueishtml="0" name=comment_text_t visible="1" font.face="MS Sans Serif" 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=9 alignment="0" tabsequence=32766 border="0" color="0" x="812" y="937" height="135" width="8770" format="[general]" html.valueishtml="0" name=comment_text visible="1" edit.limit=255 edit.case=any edit.focusrectangle=no edit.autoselect=yDAT*Jes edit.autohscroll=yes edit.imemode=0 font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) report(band=detail dataobject="d_rpt_act_src" x="41" y="1239" height="312" width="9437" border="0" height.autosize=yes criteria="" nest_arguments=((" rid ")) trail_footer = yes name=dw_2 visible="1" slideup=directlyabove ) column(band=detail id=5 alignment="0" tabsequence=32766 border="0" color=DAT*L"0" x="1218" y="104" height="135" width="864" format="[general]" html.valueishtml="0" name=id visible="1" edit.limit=15 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) text(band=detail alignment="1" text="Code:" border="0" color="0" x="2125" y="104" height="135" width="395" html.valueishtml="DAT*N0" name=code_t visible="1" font.face="MS Sans Serif" 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=2 alignment="0" tabsequence=32766 border="0" color="0" x="2552" y="104" height="135" width="1385" format="[general]" html.valueishtml="0" name=code visible="1" edit.limit=15 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="MS Sans SDAT*Perif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) text(band=detail alignment="0" text="Name:" border="0" color="0" x="3979" y="104" height="135" width="427" html.valueishtml="0" name=name_t visible="1" font.face="MS Sans Serif" 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=6 alignment="0" tabseqDAT*xuence=32766 border="0" color="0" x="4437" y="104" height="135" width="2406" format="[general]" html.valueishtml="0" name=name visible="1" edit.limit=50 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) text(band=detail alignment="0" text="Type:" border="0" color="0" x="6895" y="104" height="135DAT*Ttric_code % process_id  % stream_id % cmin_decode % value_type \ gengPI\D apts_ssusr .  :fromDate:toDate :as_null:as_ro :fromDate:toDate :fromDate:toDate :unitCode :refCode :matCodel DAT*Val_nationArrayal_stateArrayal_countyArrayal_sourceArrayal_sourceSub1Arrayal_sourceSub2Array fromDatetoDateas_nullas_ro unitCoderefCodematCode[c\DAT*XU2" nation_namev_rap_reports.nation_nameZ state_namev_rap_reports.state_namei county_namev_rap_reports.county_name source_idv_rap_reports.source_id source_namev_rap_reports.source_name sic_codeDAT*Zv_rap_reports.sic_code naics_codev_rap_reports.naics_code device_idv_rap_reports.device_idA device_codev_rap_reports.device_code8 device_namev_rap_reports.device_name/ process_idv_rap_reports.process_id process_codev_rap_reports.process_code process_namev_rap_reports.process_name scc_codev_rap_reports.scc_codeDAT*\ stream_idv_rap_reports.stream_idmaterial_codev_rap_reports.material_codeP metric_codev_rap_reports.metric_code>c\U2"reference_codevDAT*^_rap_reports.reference_code value_typev_rap_reports.value_type [      c\U2" start_datev_rap_reports.start_date/ end_datev_rap_reports.end_date DAT*`rap_units_namerap_units.nameqcamountamount'(&)'*(+),*-+c.,\/-U0.21/"20312 cmin_decode min_decode78697:8DAT*;9<:=;><c?=\@>UA?2B@"CADBECDSELECT v_rap_reports.nation_name, v_rap_reports.state_name, v_rap_reports.county_name, v_rap_reports.source_id, v_rap_reports.source_name, v_rap_reports.sic_code, v_rap_reports.naics_code, v_rap_reports.device_id, v_rap_reporDAT*dml.valueishtml="0" name=t_11 visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) compute(band=header.6 alignment="1" expression="sum( stream_amount for group 6 )"border="0" color="0" x="2011" y="4" height="64" width="800" format="0.0####" html.valueishtml="0" name=compute_2 visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" fontDAT*f.charset="0" background.mode="2" background.color="16777215" ) text(band=header.5 alignment="1" text="AMOUNT" border="0" color="0" x="2011" y="180" height="64" width="800" html.valueishtml="0" name=t_6 visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) htmltable(border="1" ) htmlgen(clientevents="1" clientvalidation="1" clientcomputedfields="1" clientformatting="0" clientsDAT*<criptable="0" generatejavascript="1" netscapelayers="0" ) DAT*jPDW0800ZpdwPlCD,````# F$XYZnnaaDAT*lS @d8n+DAT*n page< $0%  MS Sans SerifMS Sans Serif$ 2$-8$700$1$ 536870912$DAT*p4037$ 12$<60$2562& [general] [general]%!"('Page ' + page() + ' of ' + pageCount() ^#* ^$( ^%'& Page )  of `8, /135< DAT*r- $.-12$01774$2P80$4w1143%67Stream Tracing At A SourceStream Tracing At A Sourcen+9;=@$:%37$<457&DAT*t>? [general] [general]()ABtoday()@@HESFDGJLNP(Rrap_processes_id< H$IDAT*v400$KR82$M8$O452$Q@320ZETDGULNW(Yrap_processes_code$V462$X411dS[DG\LN^DAT*x`(crap_streams_from_process_rid$]1787$_`352&ab [general] [general]kZeDGfLNh`(jrap_streams_to_process_rid$gN 2382$i384DAT*zrdlDGmLNo (qrap_streams_id$ne 2917$p 288yksDGtLNv (xrap_streams_code$u 3273$w{379DAT*|rzDG{} rap_devices_device_name$|4599$~0$@64$1426yDG} rap_processes_process_nDAT*~ame$6025$1755DG}  rap_streams_stream_name$e7781@,@``DAT* LNrap_sources_name_t$E1861$398% Source Name Source NameGLN  v_rap_ss_sic_source_name$2277$DAT*1152@%v_rap_ss_sic_source_name  0 @` Nhrap_devices_code_t$786$16%DAT* Device Code Device CodeGN(rap_devices_code$1193$658` Nrap_devices_name_t$1925% Device Name DevDAT*ice NameGN^(rap_devices_id$N334` Nrap_devices_id_t$27$%293% Device Id Device Id`DAT* JNPrap_processes_id_t$148% Process Id Process Id` UNWrap_processes_code_t% Process Code Process Code` Nrap_processes_name_tDAT*$923$425% Process Name Process Name` Nrap_streams_from_process_rid_t$1792$526%From Process RidFrom Process Rid` fNDAT*Urap_streams_to_process_rid_t%To Process RidTo Process Rid` mNorap_streams_id_t% Stream Id Stream Id` tNvrap_streams_code_t% Stream Code Stream Code`DAT* Nrap_streams_name_t${3707$393% Stream Name Stream NameP   $5$23$ 4$ 4594@DAT*%rap_devices_id %rap_devices_code D-R DAT*0./3126y4539E78<S:;?=>3BZ@A EdCDDAT* HkFG KrIJ NLM 3QOP 3Be%v_rap_ss_sic_source_name  %rap_devices_id %rap_processes_id l DAT* !"#$%&'()*+,al_nationArrayal_stateArrayal_countyArrayal_sourceArrayal_sourceSub1Arrayal_sourceSub2Array fromDatetoDateas_nullas_ro unitCoderefCodematCoderap_devices_idrap_devices.idrap_devices_coderap_devices.coderap_devices_device_namerap_devices.device_DAT*nameyrap_processes_idrap_processes.idErap_processes_coderap_processes.codeSrap_processes_process_namerap_processes.process_namerap_streams_from_process_ridrap_streams.from_process_ridZrap_streams_to_process_ridrap_streams.to_process_riddrap_streams_idrap_streams.idkrap_streams_coderap_streams.codeDAT*rrap_streams_stream_namerap_streams.stream_namev_rap_ss_sic_source_namev_rap_ss_sic.source_name, SELECT rap_devices.id, rap_devices.code, rap_devices.name "device_name", rap_processes.id, rap_processes.code, rap_processes.name "process_name", rap_streams.from_process_rid, rap_streams.to_process_rid, rap_streams.iDAT*d, rap_streams.code, rap_streams.name "stream_name", v_rap_ss_sic.source_name FROM rap_devices, rap_processes, rap_streams, v_rap_ss_sic WHERE ( rap_processes.device_rid = rap_devices.rid ) and ( rap_streams.from_process_rid = rap_processes.rid ) and ( rap_devices.source_rid = v_rap_ss_sic.source_rid ) ORDER BY rap_devices.id ASC, rap_processes.id ASC TVDAT*"Uno"Wyes8DAT*=(type=char(4) updatewhereclause=yes name=sic_code dbname="v_rap_reports.sic_code" ) column=(type=char(10) updatewhereclause=yes name=device_id dbname="v_rap_reports.device_id" ) column=(type=char(15) updatewhereclause=yes name=device_code dbname="v_rap_reports.device_code" ) column=(type=char(50) updatewhereclause=yes name=device_name dbname="v_rap_reports.device_name" ) column=(type=char(10) updatewhereclause=yes name=process_id dbname="v_rap_reports.process_id" ) column=(type=char(15)DAT* updatewhereclause=yes name=process_code dbname="v_rap_reports.process_code" ) column=(type=char(50) updatewhereclause=yes name=process_name dbname="v_rap_reports.process_name" ) column=(type=char(10) updatewhereclause=yes name=scc_code dbname="v_rap_reports.scc_code" ) column=(type=char(10) updatewhereclause=yes name=stream_id dbname="v_rap_reports.stream_id" ) column=(type=char(12) updatewhereclause=yes name=material_code dbname="v_rap_reports.material_code" ) column=(type=char(12) updDAT*8atewhereclause=yes name=metric_code dbname="v_rap_reports.metric_code" ) column=(type=char(12) updatewhereclause=yes name=reference_code dbname="v_rap_reports.reference_code" ) column=(type=char(3) updatewhereclause=yes name=value_type dbname="v_rap_reports.value_type" ) column=(type=char(26) updatewhereclause=yes name=start_date dbname="v_rap_reports.start_date" ) column=(type=char(26) updatewhereclause=yes name=end_date dbname="v_rap_reports.end_date" ) column=(type=char(30) updatewherDAT*DAT*codev_rap_reports.device_code device_namev_rap_reports.device_name process_idv_rap_reports.process_id process_codev_rap_reports.process_code process_namev_rap_reports.process_name scc_codev_rap_reports.scc_code stream_idv_rap_reports.stream_idmaterial_codev_rap_reports.material_code)*(+)*| metric_codev_rap_repDAT*orts.metric_code/0.1/0reference_codev_rap_reports.reference_code54g value_typev_rap_reports.value_type9:8;9<:=;><?=@>? start_datev_rap_reports.start_dateDpC eDAT*nd_datev_rap_reports.end_dateH4Grap_units_namerap_units.nameL&KQcamountamountPQORPSQTRS cmin_decode min_decodeXaYWZX[Y\Z][^\]SELECT v_DAT*vrap_reports.nation_name, v_rap_reports.state_name, v_rap_reports.county_name, v_rap_reports.source_id, v_rap_reports.source_name, v_rap_reports.sic_code, v_rap_reports.device_id, v_rap_reports.device_code, v_rap_reports.device_name, v_rap_reports.process_id, v_rap_reports.process_code, v_rap_reports.process_name, v_rap_reports.scc_code, v_rap_reports.stream_id, v_rap_reports.material_code, v_rap_reports.metric_code, v_rap_reports.reference_code, DAT*dqSELECT v_rap_reports.nation_name, v_rap_reports.state_name, v_rap_reports.county_name, v_rap_reports.source_id, v_rap_reports.source_name, v_rap_reports.sic_code, v_rap_reports.device_id, v_rap_reports.device_code, v_rap_reports.device_name, v_rap_reports.process_id, v_rap_reports.process_code, v_rap_reports.process_name, v_rap_rDAT*eports.scc_code, v_rap_reports.stream_id, v_rap_reports.material_code, v_rap_reports.metric_code, v_rap_reports.reference_code, v_rap_reports.value_type,  "start_date",  "end_date", rap_units_b.name, sum(v_rap_reports.value_amount * rap_units_a.conversion_factor_amt / rap_units_b.conversion_factor_amt) "amount", IF v_rap_reports.data_code IS NULL THEN  ELSE IF v_rap_reports.data_code = 'RO' THEN  ELSE v_rap_reports.data_code ENDIF ENDIF "min_decode" DAT* FROM v_rap_reports, rap_units rap_units_a, rap_units rap_units_b WHERE ( v_rap_reports.value_unit_code = rap_units_a.code ) AND ( rap_units_a.meas_code = rap_units_b.meas_code ) AND ( v_rap_reports.metric_code IN ('DISCHARGE', 'DOWNSTRMDIS', 'MASS FLOW')) AND ( ( v_rap_reports.value_type is null ) OR ( v_rap_reports.value_type in ( select type from rap_value_types where name like 'SPECIATED FROM %' ) ) ) AND ( ( v_rap_reports.start_date BETWEDAT*et="0" background.mode="2" background.color="16776960" ) text(band=trailer.7 alignment="2" text="End Date:" border="0" color="0" x="18" y="44" height="56" width="402" html.valueishtml="0" name=t_10 visible="1" font.face="Arial" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16776960" ) line(band=trailer.4 x1="0" y1="4" x2="3054" y2="4" name=l_5 visible="1" pen.style="0" pen.width="5" pen.color="0" background.mode="2" DAT*background.color="16777215" ) text(band=footer alignment="1" text="Emissions by source and metric code for the current selection." border="0" color="0" x="18" y="20" height="64" width="3035" html.valueishtml="0" name=t_11 visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) text(band=header.4 alignment="1" text="AMOUNT" border="0" color="0" x="2011" y="180" height="64" width="DAT*EN  AND  ) AND ( v_rap_reports.end_date BETWEEN  AND  ) AND ( rap_units_b.code =  ) AND ( v_rap_reports.reference_code =  ) AND ( v_rap_reports.material_code IN (  ) ) ) GROUP BY v_rap_reports.nation_name, v_rap_reports.state_name, v_rap_reports.county_name, v_rap_reports.source_id, v_rap_reports.source_name, v_rap_reports.sic_code, v_rap_reports.device_id, v_rap_reports.device_code, v_rap_reports.device_name, v_rap_reports.process_id, v_DAT*800" html.valueishtml="0" name=t_6 visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) compute(band=header.5 alignment="1" expression="sum( stream_amount for group 5 )"border="0" color="0" x="2011" y="4" height="64" width="800" format="0.0####" html.valueishtml="0" name=process_amount visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.piDAT*tch="2" font.charset="0" background.mode="2" background.color="16777215" ) htmltable(border="1" ) htmlgen(clientevents="1" clientvalidation="1" clientcomputedfields="1" clientformatting="0" clientscriptable="0" generatejavascript="1" netscapelayers="0" ) DAT*PDW0800pdwPl  <```` F$?,ddDAT*{|  @x`"DAT*  t_1$1<  $ 0%  MS Sans SerifMS Sans Serif$2$-12$700$ 536870912$DAT*18$T84$P80$ 3054%Emissions by SourceEmissions by Source"!0`4#$')+-/2t_2< % $&-8$(n622$*DAT*$292$,@64$.[347%01 End Date: End Date:"30`="5$'6+-8;t_3$7212%9: Start Date: Start Date:"<0`H4>$?)+ADAT*CFt_4$@n1646$B512%DEUnits:Units:"G0`Q=I$?6+JLOt_5$K507%MNReference Code:Reference Code:"P0gHRS [])+DAT*_a(edrap_units_name<T W Y%UVArialArial$X-10$Z400$\ 16777215$^n2158$`640&bc [general] [general]"fDAT*0lQhS []6+_a(ji reference_code"k0ngmnoq+_as~page< % Y$p 2432$r20%tu(DAT*'Page ' + page() + ' of ' + pageCount() ^v} ^w{ ^xzy Page |  of "0nlnq+ compute_1$421& dd-mmm-yyyy dd-mmm-yyyy()today()"DAT*0nS [6+_ start_date_c$969()date( left ( start_date, 11) ) `  &@"0nS [)+_ end_date_c()DAT*date( left ( end_date, 11) ) `  &@"0@X`n [q+t_11$ 3035%?Emissions by source and metric code for the current selection.?Emissions by source and metric code for the DAT*current selection."0@ n [q+a scc_code$439"0n [q+ a cmin_decodeDAT*$457$238"0n [q+ a value_type$695"0nn q+  value_type_c$DAT* 15793151$933& [general] [general]$# if( isNull( value_type ), 0, 1)   ?"0nn q+  compute_4$ 15780518$DAT*1298$#data_code_flag data_code_flag"0nn q+a  compute_5$1536$#value_type_flag value_type_flag"0n [DAT*q+camount$1774&0.0####0.0####"0n$ q+stream_amount$ 12632256$2249&0.0####0.0####DAT*$#+camount * data_code_flag * value_type_flag 0 0  data_code_flag value_type_flag" 0$  553648127@,+'(@XPDAT* [l_1$5$0$4S [-q+a(2 nation_name$1755"0`$q+ "%DAT*v_rap_reports_nation_name_t$!219%#$Nation:Nation:"&0@%)* nation_name ,? ,;<@H-22.,S [-+a(0DAT*/2 state_name"10`-3,$+469v_rap_reports_state_name_t$5183%78State:State:":0@%=> state_name ,U+@QDAT*R@XAHPCB@ [l_2HAD@S [-+a(FE2 county_name"G0`CI@$+JLOv_rap_reports_county_name_t$DAT*K229%MNCounty:County:"P0@%ST county_name ,?V@ W`dXV$Y[+]_bv_rap_reports_metric_code_t$ZDAT*[1115$\180$^658%`a METRIC CODE METRIC CODE"c0PhWeV [ffl_3$g164`qdiV$+jlov_rap_reports_source_name_t$k187DAT*%mnName:Name:"p0xhrVS [-+sa(vu source_id$t750"w0}qyVS [-+a({z2 source_name"|DAT*0`x~V$+v_rap_reports_source_id_t$I329% Source ID: Source ID:"0`}V$ [+]v_rap_reports_material_code_t%MATERIAL CODEMATERIAL CODE"0PDAT*V [l_4$244VS [+a  naics_code$ 2487"0`V$+ naics_code_t$ DAT*2080$398% NAICS Code: NAICS Code:"0VS [+a( sic_code$ 1568"0`V$+v_rap_reports_sic_code_tDAT*$1239$@320% SIC Code: SIC Code:"0`V$[+t_6$2011$ 800%AMOUNTAMOUNT"0@(DAT*P [l_5% source_id 4U@H S [Y+]a( metric_code"0DAT*S [ +a material_code$663"0nS [+process_amount$#!sum( stream_amount for group 5 )["0@DAT* 2g% source_id %material_code % metric_code % source_id %material_code % metric_code 5 stream_amount4)%DAT*"@  S [q+]a( device_id$146"0S [q+]a( stream_id$DAT*896"0 S [q+]a( material_code_1$%1573" 0n S [q+]  compute_2$# !sum( stream_amount for group 6 )[DAT*"0@ og% device_id %material_code % metric_code % device_id % !material_code %#$ metric_code &5'DAT* (stream_amount4{*Adwnqt@ +:0,*S [4q+]a (.- process_id"/05+1*S [q+]a(32 sDAT*tream_id_1"40:06*S [q+]a(87 material_code_2"90n5;*S [q+]<? compute_3$#=>!sum( stream_amount for group 7 )["@0@DAT*B`PCAD EGIK_a(NM end_date<T % Y$F 16776960$H1463$J,44$L856"O0XBQDAT* AD EIK_R(VU start_date_1&ST[shortdate] [time][shortdate] [time]"W0``PYAD E ZIK\C^t_9$[%1061$]402"_0`XaADAT* D E IK\/bt_10"c0e hok%fg process_id  %ijmaterial_code %lm metric_code %op process_id  %rsmaterial_code %uv metric_code xDAT*5y zstream_amount4)|@ }}n~|n +data_code_flag$1262$#9if( cmin_decode = min( cmin_decode for group 8 ), 1, 0 )  DAT*[ ? "0@D EK_R( start_date$ 32"0`D E ZK\Lt_7"DAT*0`D E K\8t_8"0D EGK_a( metric_code_1"0oe% stream_id %material_code %DAT* metric_code % stream_id %material_code % metric_code X 8{@ nn +aDAT*value_type_flag$%1317$#;if( value_type_c = max( value_type_c for group 9 ), 1, 0 )   value_type_c[ ? "0@% stream_id %material_code DAT*% metric_code % cmin_decode S  value_type_cDzDAT* 3#-!"3&C$%3)q'(,x*+3/-.201534DAT*67 89 3<+:; => ?@ 3CAB FDEJHIDAT*"rap_reports.process_code, v_rap_reports.process_name, v_rap_reports.scc_code, v_rap_reports.stream_id, v_rap_reports.reference_code, v_rap_reports.material_code, v_rap_reports.metric_code, rap_units_b.name, v_rap_reports.data_code, v_rap_reports.value_type "no"yes~vd+DDAT*  OMN SgQR VTU`^_eBcdiQghljksqrDAT*$\ ռee! % nation_name % state_name % county_name % source_id %material_code % metric_code %DAT*Ymaterial_code metric_code source_id source_amt device_id device_amtRAPIDS ReportDAT*& device_id % process_id  % stream_id % cmin_decode % value_type \ gengPI\D apts_srord .  :fromDate:toDate :as_null:as_ro :fromDate:toDate :fromDate:toDate :unitCode :refCode :matCodelDAT*(      al_nationArrayal_stateArrayal_countyArrayal_sourceArrayal_sourceSub1Arrayal_sourceSub2Array fromDatetoDateas_nullas_ro unitCoderefCodematCode}: l natiDAT**on_namev_rap_reports.nation_name state_namev_rap_reports.state_name- county_namev_rap_reports.county_nameC source_idv_rap_reports.source_idq source_namev_rap_reports.source_namex sic_codev_rap_reports.sic_code naics_codev_rap_reports.naics_code device_idv_rap_reports.device_idDAT*, device_codev_rap_reports.device_code device_namev_rap_reports.device_name process_idv_rap_reports.process_id+ process_codev_rap_reports.process_code process_namev_rap_reports.process_name scc_codev_rap_reports.scc_code stream_idv_rap_reports.stream_idG0Fmaterial_codev_rap_reports.material_codeK5LJKDAT*p metric_codev_rap_reports.metric_codePOreference_codev_rap_reports.reference_codeg value_typev_rap_reports.value_typeWXV:YW ZX[Y\Z][\ start_datev_rap_reports.start_dateab`Pa end_datev_rap_reports.endDAT*0uo_pollutantuo_emis_periodcb_closecb_previewii_levelis_headeril_device_ridil_process_ridil_nation_ridil_state_ridil_county_ridil_city_ridil_source_ridis_geo_levelidt_startidt_endis_ref_codeis_emittantsistr_rpt_parmsis_reportnameib_enable_objectsib_rollup_report W , 4"(4;BDAT*2LV%[ a #t & ) 0 2 ; D} Ed@!+7ER\%dpDAT*/zF&] oW, 4  h1% @@@  # & ) 0 2 ; D EDAT*6 metric_code"0S [ +a( material_code"0nS [+ compute_2$#!sum( stream_amount for group 6 )["DAT*80@    P%   device_id %material_code % metric_code % device_id %material_code % metric_code 5DAT*: stream_amount4o!5Xkbeh@ "0n)#!S [q+$'process_amount$#%&!sum( stream_amount for group 7 )["(00"*!S [+q+aDAT*<(.- stream_id$,896"/0)1!S [4q+a  32 process_id"40@6TD758 9;=?_aDAT*>(BA end_date<T % Y$: 16776960$<1463$>,44$@856"C0L6E58 9=?_F(JI start_date_1&GHDAT*@[shortdate] [time][shortdate] [time]"K0`TDM58 9 N=?PCRt_9$O%1061$Q402"S0`LU58 9 =?P/Vt_10"W0Y \o_%Z[DAT*B process_id  %]^material_code %`a metric_code %cd process_id  %fgmaterial_code %ij metric_code l5m nstream_amount4 p@ qqDAT*Dnrpn +su}data_code_flag$t1262$#vw9if( cmin_decode = min( cmin_decode for group 8 ), 1, 0 )x{| yz [ ? "~0@DAT*F8 9?_F( start_date$ 32"0`8 9 N?PLt_7"0`8 9 ?P8t_8"0DAT*H8 9;?_a( metric_code_1"0o_t% stream_id %material_code % metric_code % stream_id %material_code DAT*J% metric_code X 8o@ nn +savalue_type_flag$#;if( value_type_c = max( value_type_c for group 9 ), 1, 0 ) DAT*L  value_type_c[ ? "0@% stream_id %material_code % metric_code % cmin_decode S  value_type_cDDAT*Ng3-3C3DAT*Pd3 #t!"&$%)'( ,*+ 3/0-. DAT*R01 23 3645 9)78<:; ?=> CgAB FDEDAT*TOMNT6RSXQVW[YZa_`\ eeA  0 % nation_name %DAT*V state_name % county_name % source_id % device_id %material_code % metric_code % process_id  % stream_id % cmin_decode DAT*X% value_type \ gengPI\D apts_drord .  :fromDate:toDate :as_null:as_ro :fromDate:toDate :fromDate:toDate :unitCode :refCode :matCodel al_nationArrayal_stateArrayal_countyArrayal_sourceArrayal_sourceSub1ADAT*Zrrayal_sourceSub2Array fromDatetoDateas_nullas_ro unitCoderefCodematCode q "        l nation_namev_rap_reports.nation_name state_namev_rap_reports.state_name- county_namev_rap_reports.county_nameC source_idv_rap_reports.souDAT*frce_id source_namev_rap_reports.source_named sic_codev_rap_reports.sic_code naics_codev_rap_reports.naics_codet device_idv_rap_reports.device_id device_codev_rap_reports.device_code device_namev_rap_reports.device_name process_idv_rap_reports.process_id0 process_codev_rap_DAT*^Lists all reference codes. Used on w_report and w_export.forward global type u_dw_reference_code from datawindow end type end forward global type u_dw_reference_code from datawindow int Width=1239 int Height=92 int TabOrder=1 string DataObject="d_reference_codes" boolean Border=false end type global u_dw_reference_code u_dw_reference_code type variables string is_ref_code end variables forward prototypes public function boolean uf_get_reference_codes () end prototypes puDAT*`blic function boolean uf_get_reference_codes ();// Function: uf_check_required // // Purpose: To validate reference code is selected // // Scope: public // // Parameter: none // // Return: boolean - TRUE denotes validation passed; FALSE if validation // failed. // // Log: // Date Who What // -------- ----- ----------------------------- // 3/17/95 SWJ Initial version string ls_ref_code ls_ref_code = This.GetItemString(1, 1) if IsNull(ls_ref_code) or ls_ref_code = '' then DAT*b return FALSE else is_ref_code = ls_ref_code return TRUE end if end function event constructor;DataWindowChild dwc // Retrieve data for reference code dddw //Get the handle of the child datawindow if This.GetChild("code", dwc) = -1 then MessageBox('u_dw_reference_code', "Application Error:~nReference Code - " + & "Not a DataWindowChild.~nContact your technical support.") return end if dwc.SetTransObject(SQLCA) dwc.Retrieve() This.SetTransObject(SQLCA) This.InsertRoDAT*w(0) end event DAT*:Stores report parameters.global type str_rpt_parms from structure string rptname datetime fromdate datetime todate string refcode string unitcode string as_null string as_ro string matcode[] u_class_source_group source_group boolean rollup_report any matcode_blocks[] end type DAT*hreports.process_code process_namev_rap_reports.process_name scc_codev_rap_reports.scc_code stream_idv_rap_reports.stream_id)material_codev_rap_reports.material_code metric_codev_rap_reports.metric_code@?reference_codev_rap_reports.reference_codeg value_typev_rap_reports.value_typeGHF"DAT*jIGJHKILJK start_datev_rap_reports.start_datePQODP end_datev_rap_reports.end_dateU6Trap_units_namerap_units.nameQcamountamount\"][^\] cmin_decode min_decodebqcDAT*la"dbecfdeSELECT v_rap_reports.nation_name, v_rap_reports.state_name, v_rap_reports.county_name, v_rap_reports.source_id, v_rap_reports.source_name, v_rap_reports.sic_code, v_rap_reports.naics_code, v_rap_reports.device_id, v_rap_reports.device_code, v_rap_reports.device_name, v_rap_reports.process_id, v_rap_reports.process_code, v_rap_reports.process_name, v_rap_reports.sccDAT*n_code, v_rap_reports.stream_id, v_rap_reports.material_code, v_rap_reports.metric_code, v_rap_reports.reference_code, v_rap_reports.value_type,  "start_date",  "end_date", rap_units_b.name, sum(v_rap_reports.value_amount * rap_units_a.conversion_factor_amt / rap_units_b.conversion_factor_amt) "amount", IF v_rap_reports.data_code IS NULL THEN  ELSE IF v_rap_reports.data_code = 'RO' THEN  ELSE v_rap_reports.data_code ENDIF ENDIF "min_decode" FROM vDAT*p_rap_reports, rap_units rap_units_a, rap_units rap_units_b WHERE ( v_rap_reports.value_unit_code = rap_units_a.code ) AND ( rap_units_a.meas_code = rap_units_b.meas_code ) AND ( v_rap_reports.metric_code IN ('DISCHARGE', 'DOWNSTRMDIS', 'MASS FLOW')) AND ( ( v_rap_reports.start_date BETWEEN  AND  ) AND ( v_rap_reports.end_date BETWEEN  AND  ) AND ( rap_units_b.code =  ) AND ( v_rap_reports.reference_code =  ) AND ( v_rap_reports.material_code IN (  ) ) ) DAT*r GROUP BY v_rap_reports.nation_name, v_rap_reports.state_name, v_rap_reports.county_name, v_rap_reports.source_id, v_rap_reports.source_name, v_rap_reports.sic_code, v_rap_reports.naics_code, v_rap_reports.device_id, v_rap_reports.device_code, v_rap_reports.device_name, v_rap_reports.process_id, v_rap_reports.process_code, v_rap_reports.process_name, v_rap_reports.scc_code, v_rap_reports.stream_id, v_rap_reports.reference_code, v_rap_reports.mateDAT*trial_code, v_rap_reports.metric_code, rap_units_b.name, v_rap_reports.data_code, v_rap_reports.value_type \jlnprtv"k1"m1"o1"q1"s0"u0"w0yzxDAT*`{yl|zg{QRAPIDS ReportDAT*x v_rap_reports.value_type,  "start_date",  "end_date", rap_units_b.name, sum(v_rap_reports.value_amount * rap_units_a.conversion_factor_amt / rap_units_b.conversion_factor_amt) "amount", IF v_rap_reports.data_code IS NULL THEN  ELSE IF v_rap_reports.data_code = 'RO' THEN  ELSE v_rap_reports.data_code ENDIF ENDIF "min_decode" FROM v_rap_reports, rap_units rap_units_a, rap_units rap_units_b WHERE ( v_rap_reports.value_unit_code = rap_units_a.code ) ADAT*zND ( rap_units_a.meas_code = rap_units_b.meas_code ) AND ( v_rap_reports.metric_code IN ('DISCHARGE', 'DOWNSTRMDIS', 'MASS FLOW')) AND ( ( v_rap_reports.start_date BETWEEN  AND  ) AND ( v_rap_reports.end_date BETWEEN  AND  ) AND ( rap_units_b.code =  ) AND ( v_rap_reports.reference_code =  ) AND ( v_rap_reports.material_code IN (  ) ) ) GROUP BY v_rap_reports.nation_name, v_rap_reports.state_name, v_rap_reports.county_name, v_rap_reports.source_id, DAT*|v_rap_reports.source_name, v_rap_reports.sic_code, v_rap_reports.device_id, v_rap_reports.device_code, v_rap_reports.device_name, v_rap_reports.process_id, v_rap_reports.process_code, v_rap_reports.process_name, v_rap_reports.scc_code, v_rap_reports.stream_id, v_rap_reports.reference_code, v_rap_reports.material_code, v_rap_reports.metric_code, rap_units_b.name, v_rap_reports.data_code, v_rap_reports.value_type \bDAT*dfhjln"c1"e1"g1"i1"k0"m0"o0qrpsqltrgsQRAPIDS ReportDAT*PDW0800pdwPl  <```` F$?,ddDAT*yz  @x`"DAT*  t_1$1<  $ 0%  MS Sans SerifMS Sans Serif$2$-12$700$ 536870912$DAT*18$T84$P80$ 3054%Emissions by SourceEmissions by Source"!0`4#$')+-/2t_2< % $&-8$(n622$*DAT*$292$,@64$.[347%01 End Date: End Date:"30`="5$'6+-8;t_3$7212%9: Start Date: Start Date:"<0`H4>$?)+ADAT*CFt_4$@n1646$B512%DEUnits:Units:"G0`Q=I$?6+JLOt_5$K507%MNReference Code:Reference Code:"P0gHRS [])+DAT*_a(edrap_units_name<T W Y%UVArialArial$X-10$Z400$\ 16777215$^n2158$`640&bc [general] [general]"fDAT*0lQhS []6+_a(ji reference_code"k0ngmnoq+_as~page< % Y$p 2432$r20%tu(DAT*'Page ' + page() + ' of ' + pageCount() ^v} ^w{ ^xzy Page |  of "0nlnq+ compute_1$421& dd-mmm-yyyy dd-mmm-yyyy()today()"DAT*0nS [6+_ start_date_c$969()date( left ( start_date, 11) ) `  &@"0nS [)+_ end_date_c()DAT*date( left ( end_date, 11) ) `  &@"0@X`n [q+t_11$ 3035%?Emissions by source and metric code for the current selection.?Emissions by source and metric code for the DAT*current selection."0@ n [q+a scc_code$439"0n [q+ a cmin_decodeDAT*$457$238"0n [q+ a value_type$695"0nn q+  value_type_c$DAT* 15793151$933& [general] [general]$# if( isNull( value_type ), 0, 1)   ?"0nn q+  compute_4$ 15780518$DAT*1298$#data_code_flag data_code_flag"0nn q+a  compute_5$1536$#value_type_flag value_type_flag"0n [DAT*q+camount$1774&0.0####0.0####"0n$ q+stream_amount$ 12632256$2249&0.0####0.0####DAT*$#+camount * data_code_flag * value_type_flag 0 0  data_code_flag value_type_flag" 0$  553648127@,+'(@XPDAT* [l_1$5$0$4S [-q+a(2 nation_name$1755"0`$q+ "%DAT*v_rap_reports_nation_name_t$!219%#$Nation:Nation:"&0@%)* nation_name ,? ,;<@H-22.,S [-+a(0DAT*hereclause=yes name=end_date dbname="v_rap_reports.end_date" ) column=(type=char(30) updatewhereclause=yes name=rap_units_name dbname="rap_units.name" ) column=(type=number updatewhereclause=yes name=camount dbname="amount" ) column=(type=char(4) updatewhereclause=yes name=cmin_decode dbname="min_decode" ) retrieve="SELECT v_rap_reports.nation_name, v_rap_reports.state_name, v_rap_reports.county_name, v_rap_reports.source_id, v_rap_reports.source_name, v_rap_reports.sDAT*ic_code, v_rap_reports.naics_code, v_rap_reports.device_id, v_rap_reports.device_code, v_rap_reports.device_name, v_rap_reports.process_id, v_rap_reports.process_code, v_rap_reports.process_name, v_rap_reports.scc_code, v_rap_reports.stream_id, v_rap_reports.material_code, v_rap_reports.metric_code, v_rap_reports.reference_code, v_rap_reports.value_type, :fromDate ~"start_date~", :toDate ~"end_date~", rap_units_b.name, sum(v_rap_reports.value_amountDAT* * rap_units_a.conversion_factor_amt / rap_units_b.conversion_factor_amt) ~"amount~", IF v_rap_reports.data_code IS NULL THEN :as_null ELSE IF v_rap_reports.data_code = 'RO' THEN :as_ro ELSE v_rap_reports.data_code ENDIF ENDIF ~"min_decode~" FROM v_rap_reports, rap_units rap_units_a, rap_units rap_units_b WHERE ( v_rap_reports.value_unit_code = rap_units_a.code ) AND ( rap_units_a.meas_code = rap_units_b.meas_code ) AND ( v_rap_reports.metric_code IN ('DISCHADAT*RGE', 'DOWNSTRMDIS', 'MASS FLOW')) AND ( ( v_rap_reports.value_type is null ) OR ( v_rap_reports.value_type in ( select type from rap_value_types where name like 'SPECIATED FROM %' ) ) ) AND ( ( v_rap_reports.start_date BETWEEN :fromDate AND :toDate ) AND ( v_rap_reports.end_date BETWEEN :fromDate AND :toDate ) AND ( rap_units_b.code = :unitCode ) AND ( v_rap_reports.reference_code = :refCode ) AND ( v_rap_reports.material_code IN ( :matCode ) ) ) GRDAT*OUP BY v_rap_reports.nation_name, v_rap_reports.state_name, v_rap_reports.county_name, v_rap_reports.source_id, v_rap_reports.source_name, v_rap_reports.sic_code, v_rap_reports.naics_code, v_rap_reports.device_id, v_rap_reports.device_code, v_rap_reports.device_name, v_rap_reports.process_id, v_rap_reports.process_code, v_rap_reports.process_name, v_rap_reports.scc_code, v_rap_reports.stream_id, v_rap_reports.reference_code, v_rap_reports.materialDAT*_code, v_rap_reports.metric_code, rap_units_b.name, v_rap_reports.data_code, v_rap_reports.value_type " arguments=(("al_nationArray", numberlist),("al_stateArray", numberlist),("al_countyArray", numberlist),("al_sourceArray", numberlist),("al_sourceSub1Array", numberlist),("al_sourceSub2Array", numberlist),("fromDate", datetime),("toDate", datetime),("as_null", string),("as_ro", string),("unitCode", string),("refCode", string),("matCode", stringlist)) sort="nation_name A state_nameDAT* A county_name A source_id A device_id A material_code A metric_code A process_id A stream_id A cmin_decode A value_type A " ) group(level=1 header.height=88 trailer.height=0 by=("nation_name" ) header.color="536870912" trailer.color="536870912" ) group(level=2 header.height=72 trailer.height=0 by=("state_name" ) header.color="536870912" trailer.color="536870912" ) group(level=3 header.height=88 trailer.height=0 by=("county_name" ) header.color="536870912" trailer.color="536870912" ) group(levDAT*el=4 header.height=104 trailer.height=0 by=("source_id" ) header.color="553648127" trailer.color="536870912" ) group(level=5 header.height=168 trailer.height=24 by=("device_id" ) header.color="553648127" trailer.color="536870912" ) group(level=6 header.height=72 trailer.height=0 by=("device_id" , "material_code" ) header.color="553648127" trailer.color="536870912" sort="device_id A material_code A " ) group(level=7 header.height=0 trailer.height=0 by=("process_id" , "material_code" , "metric_cDAT*ode" ) header.color="553648127" trailer.color="536870912" sort="process_id A material_code A metric_code A " ) group(level=8 header.height=0 trailer.height=0 by=("stream_id" , "material_code" , "metric_code" ) header.color="553648127" trailer.color="536870912" sort="stream_id A material_code A metric_code A " ) group(level=9 header.height=0 trailer.height=0 by=("stream_id" , "material_code" , "metric_code" , "cmin_decode" ) header.color="553648127" trailer.color="536870912" ) compute(band=heaDAT*der alignment="1" expression="'Page ' + page() + ' of ' + pageCount()"border="0" color="0" x="2743" y="20" height="64" width="640" format="[general]" html.valueishtml="0" name=page visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) compute(band=header alignment="0" expression="today()"border="0" color="0" x="18" y="20" height="64" width="421" format="dd-mmm-yyyy" html.valueiDAT*shtml="0" name=compute_1 visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) text(band=header alignment="2" text="Source Emission Summary Report" border="0" color="0" x="18" y="84" height="80" width="3365" html.valueishtml="0" name=t_1 visible="1" font.face="MS Sans Serif" font.height="-12" font.weight="700" font.family="2" font.pitch="2" font.charset="0" font.underline="1DAT*" background.mode="1" background.color="536870912" ) text(band=header alignment="0" text="Start Date:" border="0" color="0" x="768" y="212" height="64" width="347" html.valueishtml="0" name=t_2 visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) text(band=header alignment="0" text="Units:" border="0" color="0" x="1792" y="292" height="64" width="512" html.valueishtml="0" naDAT*me=t_3 visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) text(band=header alignment="0" text="Reference Code:" border="0" color="0" x="1792" y="212" height="64" width="507" html.valueishtml="0" name=t_4 visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )DAT* column(band=header id=22 alignment="0" tabsequence=32766 border="0" color="0" x="2304" y="292" height="64" width="640" format="[general]" html.valueishtml="0" name=rap_units_name visible="1" edit.limit=30 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) column(band=header id=17 alignment="0" tabsequDAT*ence=32766 border="0" color="0" x="2304" y="212" height="64" width="640" format="[general]" html.valueishtml="0" name=reference_code visible="1" edit.limit=12 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) text(band=header alignment="0" text="End Date:" border="0" color="0" x="768" y="292" height="6DAT*4" width="347" html.valueishtml="0" name=t_5 visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) compute(band=header alignment="0" expression="date( left ( start_date, 11) )"border="0" color="0" x="1120" y="212" height="64" width="640" format="dd-mmm-yyyy" html.valueishtml="0" name=start_date_c visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="DAT*2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) compute(band=header alignment="0" expression="date( left ( end_date, 11) )"border="0" color="0" x="1115" y="292" height="64" width="640" format="dd-mmm-yyyy" html.valueishtml="0" name=end_date_c visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) line(band=header.1 x1="0" y1="4" x2="3383" y2="4" naDAT*me=l_1 visible="1" pen.style="0" pen.width="5" pen.color="0" background.mode="2" background.color="16777215" ) text(band=header.1 alignment="0" text="Nation:" border="0" color="0" x="9" y="20" height="64" width="219" html.valueishtml="0" name=v_rap_reports_nation_name_t visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) column(band=header.1 id=1 alignment="0" tabsequence=3DAT*2766 border="0" color="0" x="338" y="20" height="64" width="1755" format="[general]" html.valueishtml="0" name=nation_name visible="1" edit.limit=50 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) column(band=header.2 id=2 alignment="0" tabsequence=32766 border="0" color="0" x="347" y="4" height="64"DAT* width="1755" format="[general]" html.valueishtml="0" name=state_name visible="1" edit.limit=50 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) text(band=header.2 alignment="0" text="State:" border="0" color="0" x="9" y="4" height="64" width="183" html.valueishtml="0" name=v_rap_reports_state_name_tDAT* visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) line(band=header.3 x1="0" y1="84" x2="3383" y2="84" name=l_2 visible="1" pen.style="0" pen.width="5" pen.color="0" background.mode="2" background.color="16777215" ) column(band=header.3 id=3 alignment="0" tabsequence=32766 border="0" color="0" x="338" y="4" height="64" width="1755" format="[general]" html.valueishtml="0" DAT* name=county_name visible="1" edit.limit=50 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) text(band=header.3 alignment="0" text="County:" border="0" color="0" x="9" y="4" height="64" width="229" html.valueishtml="0" name=v_rap_reports_county_name_t visible="1" font.face="MS Sans Serif" font.heightDAT*="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) line(band=header.4 x1="0" y1="100" x2="3383" y2="100" name=l_3 visible="1" pen.style="0" pen.width="5" pen.color="0" background.mode="2" background.color="16777215" ) line(band=header.4 x1="0" y1="4" x2="3383" y2="4" name=l_4 visible="1" pen.style="0" pen.width="9" pen.color="0" background.mode="2" background.color="16777215" ) text(band=header.4 alignment="0" text="SoDAT*urce ID:" border="0" color="0" x="9" y="20" height="64" width="293" html.valueishtml="0" name=v_rap_reports_source_id_t visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) column(band=header.4 id=4 alignment="0" tabsequence=32766 border="0" color="0" x="306" y="20" height="64" width="663" format="[general]" html.valueishtml="0" name=source_id visible="1" edit.limit=10 edit.cDAT*ase=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) text(band=header.4 alignment="0" text="Name:" border="0" color="0" x="987" y="20" height="64" width="174" html.valueishtml="0" name=v_rap_reports_source_name_t visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitDAT*ch="2" font.charset="0" background.mode="1" background.color="536870912" ) column(band=header.4 id=5 alignment="0" tabsequence=32766 border="0" color="0" x="1166" y="20" height="64" width="1271" format="[general]" html.valueishtml="0" name=source_name visible="1" edit.limit=50 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" backgDAT*round.color="16777215" ) text(band=header.4 alignment="0" text="SIC Code:" border="0" color="0" x="2450" y="20" height="64" width="265" html.valueishtml="0" name=v_rap_reports_sic_code_t visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) column(band=header.4 id=6 alignment="0" tabsequence=32766 border="0" color="0" x="2720" y="20" height="64" width="142" format="[general]" DAT*html.valueishtml="0" name=sic_code visible="1" edit.limit=4 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) text(band=header.4 alignment="0" text="NAICS Code:" border="0" color="0" x="2875" y="20" height="64" width="338" html.valueishtml="0" name=naics_code_t visible="1" font.face="MS Sans Serif" fDAT*ont.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) column(band=header.4 id=7 alignment="0" tabsequence=32766 border="0" color="0" x="3218" y="20" height="64" width="160" format="[general]" html.valueishtml="0" name=naics_code visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.moDAT*de="2" background.color="16777215" ) compute(band=header.7 alignment="1" expression="sum( stream_downstream for group 7 )"border="0" color="0" x="1371" y="20" height="64" width="658" format="0.0####" html.valueishtml="0" name=process_downstream visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) column(band=header.7 id=15 alignment="0" tabsequence=32766 border="0" color="0" x="695" DAT*y="20" height="64" width="658" format="[general]" html.valueishtml="0" name=stream_id visible="1" edit.limit=12 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) column(band=header.7 id=11 alignment="0" tabsequence=32766 border="0" color="0" x="18" y="20" height="64" width="658" format="[general]" htmlDAT*.valueishtml="0" name=process_id visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) compute(band=header.7 alignment="1" expression="sum( stream_massflow for group 7 )"border="0" color="0" x="2048" y="20" height="64" width="658" format="[general]" html.valueishtml="0" name=process_massflow visible="1" font.face="Arial" fDAT*ont.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) compute(band=header.7 alignment="1" expression="sum( stream_discharge for group 7 )"border="0" color="0" x="2725" y="20" height="64" width="658" format="0.0####" html.valueishtml="0" name=process_discharge visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="167772DAT*15" ) compute(band=header.8 alignment="0" expression="if( cmin_decode = min( cmin_decode for group 8 ), 1, 0 )"border="0" color="0" x="18" y="4" height="64" width="1262" format="0.0####" html.valueishtml="0" name=data_code_flag visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="15780518" ) compute(band=header.8 alignment="1" expression="if( metric_code = 'DOWNSTRMDIS' AND cmin_decode = DAT*min( cmin_decode for group 8 ), camount, 0 )"border="0" color="0" x="1298" y="4" height="64" width="658" format="0.0####" html.valueishtml="0" name=z visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) compute(band=header.8 alignment="1" expression="if( metric_code = 'MASS FLOW' AND cmin_decode = min( cmin_decode for group 8 ), camount, 0 )"border="0" color="0" x="1975" y="4" height=DAT*"64" width="658" format="0.0####" html.valueishtml="0" name=compute_2 visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) compute(band=header.8 alignment="1" expression="if( metric_code = 'DISCHARGE' AND cmin_decode = min( cmin_decode for group 8 ), camount, 0 )"border="0" color="0" x="2651" y="4" height="64" width="658" format="0.0####" html.valueishtml="0" name=compute_3 visible="DAT*1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) compute(band=header.9 alignment="0" expression="if( value_type_c = max( value_type_c for group 9 ), 1, 0 )"border="0" color="0" x="1317" y="4" height="64" width="1262" format="[general]" html.valueishtml="0" name=value_type_flag visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.chaDAT*rset="0" background.mode="2" background.color="15780518" ) column(band=detail id=14 alignment="0" tabsequence=32766 border="0" color="0" x="18" y="20" height="64" width="439" format="[general]" html.valueishtml="0" name=scc_code visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) column(band=detail id=24 alignment=DAT*"2" tabsequence=32766 border="0" color="0" x="457" y="20" height="64" width="238" format="[general]" html.valueishtml="0" name=cmin_decode visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) column(band=detail id=19 alignment="2" tabsequence=32766 border="0" color="0" x="695" y="20" height="64" width="238" format="[DAT*general]" html.valueishtml="0" name=value_type visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) compute(band=detail alignment="2" expression="if( isNull( value_type ), 0, 1)"border="0" color="0" x="933" y="20" height="64" width="238" format="[general]" html.valueishtml="0" name=value_type_c visible="1" font.facDAT*e="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="15793151" ) compute(band=detail alignment="2" expression="data_code_flag"border="0" color="0" x="1298" y="20" height="64" width="238" format="[general]" html.valueishtml="0" name=compute_4 visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="15780518" DAT*) compute(band=detail alignment="2" expression="value_type_flag "border="0" color="0" x="1536" y="20" height="64" width="238" format="[general]" html.valueishtml="0" name=compute_5 visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="15780518" ) column(band=detail id=23 alignment="1" tabsequence=32766 border="0" color="0" x="1774" y="20" height="64" width="457" format="0.0####" html.valueDAT*6 ishtml="0" name=camount visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) compute(band=detail alignment="1" expression="camount * data_code_flag * value_type_flag"border="0" color="0" x="2249" y="20" height="64" width="457" format="0.0####" html.valueishtml="0" name=stream_amount visible="1"DAT*ts.device_code, v_rap_reports.device_name, v_rap_reports.process_id, v_rap_reports.process_code, v_rap_reports.process_name, v_rap_reports.scc_code, v_rap_reports.stream_id, v_rap_reports.material_code, v_rap_reports.metric_code, v_rap_reports.reference_code, v_rap_reports.value_type,  "start_date",  "end_date", rap_units_b.name, sum(v_rap_reports.value_amount * rap_units_a.conversion_factor_amt / rap_units_b.conversion_factor_amt) "amount", IF v_DAT*rap_reports.data_code IS NULL THEN  ELSE IF v_rap_reports.data_code = 'RO' THEN  ELSE v_rap_reports.data_code ENDIF ENDIF "min_decode" FROM v_rap_reports, rap_units rap_units_a, rap_units rap_units_b WHERE ( v_rap_reports.value_unit_code = rap_units_a.code ) AND ( rap_units_a.meas_code = rap_units_b.meas_code ) AND ( v_rap_reports.metric_code IN ('DISCHARGE', 'DOWNSTRMDIS', 'MASS FLOW')) AND ( ( v_rap_reports.value_type is null ) OR ( v_rap_reports.value_typeDAT* in ( select type from rap_value_types where name like 'SPECIATED FROM %' ) ) ) AND ( ( v_rap_reports.start_date BETWEEN  AND  ) AND ( v_rap_reports.end_date BETWEEN  AND  ) AND ( rap_units_b.code =  ) AND ( v_rap_reports.reference_code =  ) AND ( v_rap_reports.material_code IN (  ) ) ) GROUP BY v_rap_reports.nation_name, v_rap_reports.state_name, v_rap_reports.county_name, v_rap_reports.source_id, v_rap_reports.source_name, vDAT*_rap_reports.sic_code, v_rap_reports.naics_code, v_rap_reports.device_id, v_rap_reports.device_code, v_rap_reports.device_name, v_rap_reports.process_id, v_rap_reports.process_code, v_rap_reports.process_name, v_rap_reports.scc_code, v_rap_reports.stream_id, v_rap_reports.reference_code, v_rap_reports.material_code, v_rap_reports.metric_code, rap_units_b.name, v_rap_reports.data_code, v_rap_reports.value_type \IKDAT*MOQSU"J1"L1"N1"P1"R0"T0"V0XYWZX[YqZ-RAPIDS ReportDAT*3F xG8d  destroyL"#2  +destroy2 5 xywidthheighttaborderborderborderstyleDAT*@ @ @<")] o@@@< @@1                  !DAT* L%2  2 * visiblexywidthheighttaborderx7p!] 7p @   @ $DAT* L%OP'-/10.2  2 * visiblexywidthheighttaborderx[ p!(] [ p( @   $DAT* '2  2 xywidthheighttextsizeweightfontcharsetfontpitchfontfamilyfacenametextcolorbackcolorenabledtextfocusrectangle,@  @")*5+?,JS]DAT*/2 state_name"10`-3,$+469v_rap_reports_state_name_t$5183%78State:State:":0@%=> state_name ,U+@QDAT*R@XAHPCB@ [l_2HAD@S [-+a(FE2 county_name"G0`CI@$+JLOv_rap_reports_county_name_t$DAT*@ got] o@@ *+, -.@<0$)@8H$68Pl8t09}9}n8DAT*K229%MNCounty:County:"P0@%ST county_name ,?V@ W`dXV$Y[+]_bv_rap_reports_metric_code_t$ZDAT*[1115$\180$^658%`a METRIC CODE METRIC CODE"c0PhWeV [ffl_3$g164`qdiV$+jlov_rap_reports_source_name_t$k187DAT*%mnName:Name:"p0xhrVS [-+sa(vu source_id$t750"w0}qyVS [-+a({z2 source_name"|DAT*0`x~V$+v_rap_reports_source_id_t$I329% Source ID: Source ID:"0`}V$ [+]v_rap_reports_material_code_t%MATERIAL CODEMATERIAL CODE"0`DAT*V$[+]t_6$2011%AMOUNTAMOUNT"0PV [l_4$244VS [+a  naics_codeDAT* $ 2487"0`V$+ naics_code_t$ 2080$398% NAICS Code: NAICS Code:"0VS [+a(DAT*" sic_code$ 1568"0`V$+v_rap_reports_sic_code_t$1239$@320% SIC Code: SIC Code:"0@(PDAT*$ [l_5% source_id 4U@H nS [+]process_amount$#!sum( stream_amount for group 5 )["0DAT*&S [Y+]a( metric_code"0S [ +a material_code$663"0@ DAT*(g% source_id %material_code % metric_code % source_id %material_code % metric_code 5 stream_amount4'# @ DAT**S [q+]a( device_id$146"0S [q+]a( stream_id$896"DAT*,0S [q+]a( material_code_1$%1573"0n S [q+]   compute_2$#  !sum( stream_amount for group 6 )["0@DAT*. g% device_id %material_code % metric_code % device_id %material_code %!" metric_code $5% &stream_amoDAT*hunt4y(?bulor@ )8.*(S [4q+]a (,+ process_id"-03)/(S [q+]a(10 stream_id_1"2DAT*2Traces stream information between process and devices.release 6; datawindow(units=0 timer_interval=0 color=16777215 processing=0 print.documentname="" print.orientation = 1 print.margin.left = 110 print.margin.right = 110 print.margin.top = 97 print.margin.bottom = 97 print.paper.source = 0 print.paper.size = 0 print.prompt=no print.buttons=no print.preview.buttons=no ) header(height=100 color="536870912" ) summary(height=8 color="536870912" ) footer(height=0 color="536870912" ) detail(heightDAT*4=72 color="536870912" ) table(column=(type=char(15) updatewhereclause=yes name=rap_devices_id dbname="rap_devices.id" ) column=(type=char(15) updatewhereclause=yes name=rap_devices_code dbname="rap_devices.code" ) column=(type=char(50) updatewhereclause=yes name=rap_devices_device_name dbname="rap_devices.device_name" ) column=(type=char(15) updatewhereclause=yes name=rap_processes_id dbname="rap_processes.id" ) column=(type=char(15) updatewhereclause=yes name=rap_processes_code dbname="rDAT*:ap_processes.code" ) column=(type=char(50) updatewhereclause=yes name=rap_processes_process_name dbname="rap_processes.process_name" ) column=(type=decimal(0) updatewhereclause=yes name=rap_streams_from_process_rid dbname="rap_streams.from_process_rid" ) column=(type=decimal(0) updatewhereclause=yes name=rap_streams_to_process_rid dbname="rap_streams.to_process_rid" ) column=(type=char(20) updatewhereclause=yes name=rap_streams_id dbname="rap_streams.id" ) column=(type=char(15) updatewheDAT*" 1 visible="1" edit.limit=30 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16776960" ) column(band=trailer.7 id=20 alignment="0" tabsequence=32766 border="0" color="0" x="421" y="44" height="56" width="640" format="[shortdate] [time]" html.valueishtml="0" name=end_date visible="1" edit.limit=0 edit.case=any editDAT*teclause=yes name=rap_units_name dbname="rap_units.name" ) column=(type=number updatewhereclause=yes name=camount dbname="amount" ) column=(type=char(4) updatewhereclause=yes name=cmin_decode dbname="min_decode" ) retrieve="SELECT v_rap_reports.nation_name, v_rap_reports.state_name, v_rap_reports.county_name, v_rap_reports.source_id, v_rap_reports.source_name, v_rap_reports.sic_code, v_rap_reports.device_id, v_rap_reports.device_code, v_rap_reports.device_namDAT*<reclause=yes name=rap_streams_code dbname="rap_streams.code" ) column=(type=char(50) updatewhereclause=yes name=rap_streams_stream_name dbname="rap_streams.stream_name" ) column=(type=char(50) updatewhereclause=yes name=v_rap_ss_sic_source_name dbname="v_rap_ss_sic.source_name" ) retrieve=" SELECT rap_devices.id, rap_devices.code, rap_devices.name ~"device_name~", rap_processes.id, rap_processes.code, rap_processes.name ~"procDAT*>ess_name~", rap_streams.from_process_rid, rap_streams.to_process_rid, rap_streams.id, rap_streams.code, rap_streams.name ~"stream_name~", v_rap_ss_sic.source_name FROM rap_devices, rap_processes, rap_streams, v_rap_ss_sic WHERE ( rap_processes.device_rid = rap_devices.rid ) and ( rap_streams.from_process_rid = rap_processes.rid ) and ( rap_devicesDAT*@.source_rid = v_rap_ss_sic.source_rid ) ORDER BY rap_devices.id ASC, rap_processes.id ASC " arguments=(("al_nationArray", numberlist),("al_stateArray", numberlist),("al_countyArray", numberlist),("al_sourceArray", numberlist),("al_sourceSub1Array", numberlist),("al_sourceSub2Array", numberlist),("fromDate", datetime),("toDate", datetime),("as_null", string),("as_ro", string),("unitCode", string),("refCode", string),("matCode", stringlist)) sort="v_rap_ss_sic_source_name A rap_DAT*Bdevices_id A rap_processes_id A " ) group(level=1 header.height=96 trailer.height=8 by=("v_rap_ss_sic_source_name" ) newpage=yes header.color="536870912" trailer.color="536870912" ) group(level=2 header.height=204 trailer.height=8 by=("rap_devices_id" , "rap_devices_code" ) header.color="536870912" trailer.color="536870912" ) compute(band=header alignment="1" expression="'Page ' + page() + ' of ' + pageCount()"border="0" color="0" x="4037" y="12" height="60" width="562" format="[general]" nameDAT*D=page font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) text(band=header alignment="2" text="Stream Tracing At A Source"border="0" color="0" x="1774" y="12" height="80" width="1143" font.face="MS Sans Serif" font.height="-12" font.weight="700" font.family="2" font.pitch="2" font.charset="0" font.underline="1" background.mode="1" background.color="536870912" ) compute(band=header aligDAT*Fnment="0" expression="today()"border="0" color="0" x="37" y="12" height="60" width="457" format="[general]" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) text(band=header.1 alignment="2" text="Source Name"border="0" color="0" x="1861" y="8" height="52" width="398" name=rap_sources_name_t font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" fDAT*Hont.charset="0" background.mode="1" background.color="536870912" ) column(band=header.1 id=12 alignment="0" tabsequence=32766 border="0" color="0" x="2277" y="8" height="52" width="1152" format="[general]" name=v_rap_ss_sic_source_name edit.limit=0 edit.case=any edit.autoselect=yes font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) text(band=header.2 alignment="2" text="Device Code"borDAT*Jder="0" color="0" x="786" y="16" height="52" width="384" name=rap_devices_code_t font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) column(band=header.2 id=2 alignment="0" tabsequence=32766 border="0" color="0" x="1193" y="16" height="52" width="658" format="[general]" name=rap_devices_code edit.limit=15 edit.case=any edit.autoselect=yes edit.autohscroll=yes font.face="MS Sans Serif" DAT*Lfont.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) text(band=header.2 alignment="2" text="Device Name"border="0" color="0" x="1925" y="16" height="52" width="398" name=rap_devices_name_t font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) column(band=header.2 id=1 alignment="0" tabsequence=32766 border="DAT*N0" color="0" x="334" y="16" height="52" width="352" format="[general]" name=rap_devices_id edit.limit=15 edit.case=any edit.autoselect=yes edit.autohscroll=yes font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) text(band=header.2 alignment="2" text="Device Id"border="0" color="0" x="27" y="16" height="52" width="293" name=rap_devices_id_t font.face="MS Sans Serif" font.height="-8" fonDAT*Pt.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) text(band=header.2 alignment="2" text="Process Id"border="0" color="0" x="82" y="148" height="52" width="320" name=rap_processes_id_t font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) text(band=header.2 alignment="2" text="Process Code"border="0" color="0" x="462" y="148"DAT*R height="52" width="411" name=rap_processes_code_t font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) text(band=header.2 alignment="2" text="Process Name"border="0" color="0" x="923" y="148" height="52" width="425" name=rap_processes_name_t font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.colorDAT*T="536870912" ) text(band=header.2 alignment="2" text="From Process Rid"border="0" color="0" x="1792" y="148" height="52" width="526" name=rap_streams_from_process_rid_t font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) text(band=header.2 alignment="2" text="To Process Rid"border="0" color="0" x="2382" y="148" height="52" width="462" name=rap_streams_to_process_rid_t font.face="MS SaDAT*Vns Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) text(band=header.2 alignment="2" text="Stream Id"border="0" color="0" x="2917" y="148" height="52" width="288" name=rap_streams_id_t font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) text(band=header.2 alignment="2" text="Stream Code"border="DAT*X0" color="0" x="3273" y="148" height="52" width="379" name=rap_streams_code_t font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) text(band=header.2 alignment="2" text="Stream Name"border="0" color="0" x="3707" y="148" height="52" width="393" name=rap_streams_name_t font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.DAT*Zmode="1" background.color="536870912" ) line(band=header.2 x1="23" y1="4" x2="4594" y2="4" pen.style="0" pen.width="5" pen.color="0" background.mode="1" background.color="536870912" ) column(band=detail id=4 alignment="0" tabsequence=32766 border="0" color="0" x="82" y="8" height="52" width="320" format="[general]" name=rap_processes_id edit.limit=15 edit.case=any edit.autoselect=yes edit.autohscroll=yes font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch=DAT*\"2" font.charset="0" background.mode="1" background.color="536870912" ) column(band=detail id=5 alignment="0" tabsequence=32766 border="0" color="0" x="462" y="8" height="52" width="411" format="[general]" name=rap_processes_code edit.limit=15 edit.case=any edit.autoselect=yes edit.autohscroll=yes font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) column(band=detail id=7 alignment="1" DAT*^tabsequence=32766 border="0" color="0" x="1787" y="8" height="52" width="352" format="[general]" name=rap_streams_from_process_rid edit.limit=0 edit.case=any edit.autoselect=yes edit.autohscroll=yes font.face="MS Sans Serif" font.height="-8" 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="0" x="2382" y="8" height="52" width="384" format="[general]" namDAT*`e=rap_streams_to_process_rid edit.limit=0 edit.case=any edit.autoselect=yes edit.autohscroll=yes font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) column(band=detail id=9 alignment="0" tabsequence=32766 border="0" color="0" x="2917" y="8" height="52" width="288" format="[general]" name=rap_streams_id edit.limit=20 edit.case=any edit.autoselect=yes edit.autohscroll=yes font.face="MS SaDAT*bns Serif" font.height="-8" 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="0" x="3273" y="8" height="52" width="379" format="[general]" name=rap_streams_code edit.limit=15 edit.case=any edit.autoselect=yes edit.autohscroll=yes font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="DAT*d1" background.color="536870912" ) column(band=detail id=3 alignment="0" tabsequence=32766 border="0" color="0" x="4599" y="0" height="64" width="1426" format="[general]" name=rap_devices_device_name edit.limit=0 edit.case=any edit.autoselect=yes font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) column(band=detail id=6 alignment="0" tabsequence=32766 border="0" color="0" x="6025" y="0"DAT*f height="64" width="1755" format="[general]" name=rap_processes_process_name edit.limit=0 edit.case=any edit.autoselect=yes font.face="MS Sans Serif" font.height="-8" 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="0" x="7781" y="0" height="64" width="1426" format="[general]" name=rap_streams_stream_name edit.limit=0 edit.case=any edit.autoselect=yes DAT* font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) htmltable(border="1" cellpadding="0" cellspacing="0" generatecss="no" nowrap="yes") DAT*j08.4(S [q+]a(65 material_code_2"70n39(S [q+]:= compute_3$#;<!sum( stream_amount for group 7 )[">0@@^DAT*lNA?B CEGI_a(LK end_date<T % Y$D 16776960$F1463$H,44$J856"M0V@O?B CDAT*nGI_P(TS start_date_1&QR[shortdate] [time][shortdate] [time]"U0`^NW?B C XGIZC\t_9$Y%1061$[402"]0`V_?B C GDAT*rIZ/`t_10"a0c fi%de process_id  %ghmaterial_code %jk metric_code %mn process_id  %pqmaterial_code %st metric_code v5w xDAT*|_datefBerap_units_namerap_units.nameQcamountamountm:nl ompno cmin_decode min_decodet}us:vt wuxvywxSELECT v_rap_reports.nation_name, v_rap_reports.state_name, v_rap_reports.county_name, DAT*vstream_amount4'z@ {{n|zn +}data_code_flag$~1262$#9if( cmin_decode = min( cmin_decode for group 8 ), 1, 0 )  [ ? DAT* e, v_rap_reports.process_id, v_rap_reports.process_code, v_rap_reports.process_name, v_rap_reports.scc_code, v_rap_reports.stream_id, v_rap_reports.material_code, v_rap_reports.metric_code, v_rap_reports.reference_code, v_rap_reports.value_type, :fromDate ~"start_date~", :toDate ~"end_date~", rap_units_b.name, sum(v_rap_reports.value_amount * rap_units_a.conversion_factor_amt / rap_units_b.conversion_factor_amt) ~"amount~", IF v_rap_reports.data_code ISDAT*"0@B CI_P( start_date$ 32"0`B C XIZLt_7"0`DAT*z" width="385" html.valueishtml="0" name=type_t visible="1" font.face="MS Sans Serif" 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=7 alignment="0" tabsequence=32766 border="0" color="0" x="7312" y="104" height="135" width="250" format="[general]" html.valueishtml="0" name=type visible="1" edit.limit=1 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.iDAT*memode=0 font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) text(band=detail alignment="0" text="SIC Code:" border="0" color="0" x="7604" y="104" height="135" width="687" html.valueishtml="0" name=sic_code_t visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) columnDAT*~ v_rap_reports.source_id, v_rap_reports.source_name, v_rap_reports.sic_code, v_rap_reports.naics_code, v_rap_reports.device_id, v_rap_reports.device_code, v_rap_reports.device_name, v_rap_reports.process_id, v_rap_reports.process_code, v_rap_reports.process_name, v_rap_reports.scc_code, v_rap_reports.stream_id, v_rap_reports.material_code, v_rap_reports.metric_code, v_rap_reports.reference_code, v_rap_reports.value_type,  "start_date",  "end_datDAT*e", rap_units_b.name, sum(v_rap_reports.value_amount * rap_units_a.conversion_factor_amt / rap_units_b.conversion_factor_amt) "amount", IF v_rap_reports.data_code IS NULL THEN  ELSE IF v_rap_reports.data_code = 'RO' THEN  ELSE v_rap_reports.data_code ENDIF ENDIF "min_decode" FROM v_rap_reports, rap_units rap_units_a, rap_units rap_units_b WHERE ( v_rap_reports.value_unit_code = rap_units_a.code ) AND ( rap_units_a.meas_code = rap_units_b.meas_code ) AND (DAT*B C IZ8t_8"0B CEI_a( metric_code_1"0e% stream_id %material_code % metric_code DAT*% stream_id %material_code % metric_code X 8y@ nn +}avalue_type_flag$DAT* v_rap_reports.metric_code IN ('DISCHARGE', 'DOWNSTRMDIS', 'MASS FLOW')) AND ( ( v_rap_reports.start_date BETWEEN  AND  ) AND ( v_rap_reports.end_date BETWEEN  AND  ) AND ( rap_units_b.code =  ) AND ( v_rap_reports.reference_code =  ) AND ( v_rap_reports.material_code IN (  ) ) ) GROUP BY v_rap_reports.nation_name, v_rap_reports.state_name, v_rap_reports.county_name, v_rap_reports.source_id, v_rap_reports.source_name, v_rap_reports.sic_code, v_rap_reDAT*ports.naics_code, v_rap_reports.device_id, v_rap_reports.device_code, v_rap_reports.device_name, v_rap_reports.process_id, v_rap_reports.process_code, v_rap_reports.process_name, v_rap_reports.scc_code, v_rap_reports.stream_id, v_rap_reports.reference_code, v_rap_reports.material_code, v_rap_reports.metric_code, rap_units_b.name, v_rap_reports.data_code, v_rap_reports.value_type \}DAT*"~1"1"1"1"0"0"0lgQRAPIDS ReportDAT*%1317$#;if( value_type_c = max( value_type_c for group 9 ), 1, 0 )   value_type_c[ ? "0@% stream_id %material_code % metric_cDAT*ode % cmin_decode S  value_type_cDxDAT*3!- 3$C"#3'q%& *x()3-+,0./312 45DAT* 67 3:)89 ;< => 3A?@ DBC HFG MKDAT*L QgOP TRS^\]c@abgQefjhiqop\DAT*(band=detail id=18 alignment="0" tabsequence=32766 border="0" color="0" x="8281" y="104" height="135" width="645" format="[general]" html.valueishtml="0" name=sic_code visible="1" edit.limit=4 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) text(band=detail alignment="0" text="NAICS Code:" boDAT*rder="0" color="0" x="8968" y="104" height="135" width="843" html.valueishtml="0" name=naics_code_t visible="1" font.face="MS Sans Serif" 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=19 alignment="0" tabsequence=32766 border="0" color="0" x="9822" y="104" height="135" width="562" format="[general]" html.valueishtml="0" name=naics_code visible="1" edit.limit=0 edit.case=any edit.autosDAT*select=yes edit.imemode=0 font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) htmltable(border="1" ) htmlgen(clientevents="1" clientvalidation="1" clientcomputedfields="1" clientformatting="0" clientscriptable="0" generatejavascript="1" netscapelayers="0" ) DAT* eeric A  % nation_name % state_name % county_name % source_id %material_code % metric_code % device_id %DAT* process_id  % stream_id % cmin_decode % value_type \ gengPI\D apts_srold .   :fromDate:toDate :as_null:as_ro :fromDate:toDate :fromDate:toDate :unitCode :refCode :matCodel   DAT*   al_nationArrayal_stateArrayal_countyArrayal_sourceArrayal_sourceSub1Arrayal_sourceSub2Array fromDatetoDateas_nullas_ro unitCoderefCodematCode{8l nation_namev_rap_reports.nation_nameDAT* state_namev_rap_reports.state_name- county_namev_rap_reports.county_nameC source_idv_rap_reports.source_idq source_namev_rap_reports.source_namex sic_codev_rap_reports.sic_code naics_codev_rap_reports.naics_code device_idv_rap_reports.device_id device_codev_rap_reports.deviceDAT*_code device_namev_rap_reports.device_name process_idv_rap_reports.process_id) process_codev_rap_reports.process_code process_namev_rap_reports.process_name scc_codev_rap_reports.scc_code stream_idv_rap_reports.stream_idE.Dmaterial_codev_rap_reports.material_codeI3JHI metric_codev_rap_reports.metrDAT*ic_codeNMreference_codev_rap_reports.reference_codeg value_typev_rap_reports.value_typeUVT8WUXVYWZX[YZ start_datev_rap_reports.start_date_`^N_ end_datev_rap_reports.end_dated@cDAT*4 rap_units_namerap_units.nameQcamountamountk8ljmknlm cmin_decode min_decoder{sq8trusvtwuvSELECT v_rap_reports.nation_name, v_rap_reports.state_name, v_rap_reports.county_name, v_rap_reports.source_id, v_rap_repoDAT*release 8; datawindow(units=0 timer_interval=0 color=16777215 processing=0 HTMLDW=no print.documentname="RAPIDS Report" print.orientation = 0 print.margin.left = 300 print.margin.right = 100 print.margin.top = 100 print.margin.bottom = 150 print.paper.source = 0 print.paper.size = 0 print.prompt=no print.buttons=no print.preview.buttons=no ) header(height=376 color="536870912" ) summary(height=0 color="536870912" ) footer(height=88 color="536870912" ) detail(height=0 color="553648127" ) tablDAT*Print window.forward global type w_report_print from Window end type type cb_printer from commandbutton within w_report_print end type type cb_cancel from commandbutton within w_report_print end type type cb_ok from commandbutton within w_report_print end type type cbx_collate from checkbox within w_report_print end type type cbx_file from checkbox within w_report_print end type type st_4 from statictext within w_report_print end type type sle_range from singlelineedit within w_repoDAT*rt_print end type type rb_range from radiobutton within w_report_print end type type rb_current from radiobutton within w_report_print end type type rb_all from radiobutton within w_report_print end type type sle_copies from singlelineedit within w_report_print end type type st_2 from statictext within w_report_print end type type st_printer from statictext within w_report_print end type type st_1 from statictext within w_report_print end type type gb_1 from groupbox within w_reporDAT*t_print end type end forward global type w_report_print from Window int X=155 int Y=368 int Width=2121 int Height=1048 boolean TitleBar=true string Title="Print Report" long BackColor=79741120 boolean ControlMenu=true WindowType WindowType=response! cb_printer cb_printer cb_cancel cb_cancel cb_ok cb_ok cbx_collate cbx_collate cbx_file cbx_file st_4 st_4 sle_range sle_range rb_range rb_range rb_current rb_current rb_all rb_all sle_copies sle_copies st_2 st_2 st_printer stDAT*_printer st_1 st_1 gb_1 gb_1 end type global w_report_print w_report_print type variables datawindow idw_obj end variables event open;window lw_obj string ls_page idw_obj = Message.PowerObjectParm // //lw_obj = This.ParentWindow() //if lw_obj.Title <> 'Print Report' then // rb_current.Enabled = FALSE //end if // Get the currently selected printer st_printer.Text = idw_obj.Describe('DataWindow.Printer') // Get the total page number of the datawindow ls_page = idw_obj.GeDAT*tItemString(1, 'page') ls_page = Right(ls_page, Len(ls_page) - Pos(ls_page, 'of') - 2) rb_all.Text = '&All (' + ls_page if ls_page = '1' then rb_all.Text = rb_all.Text + ' page)' else rb_all.Text = rb_all.Text + ' pages)' end if end event on w_report_print.create this.cb_printer=create cb_printer this.cb_cancel=create cb_cancel this.cb_ok=create cb_ok this.cbx_collate=create cbx_collate this.cbx_file=create cbx_file this.st_4=create st_4 this.sle_range=create sle_range thisDAT*.rb_range=create rb_range this.rb_current=create rb_current this.rb_all=create rb_all this.sle_copies=create sle_copies this.st_2=create st_2 this.st_printer=create st_printer this.st_1=create st_1 this.gb_1=create gb_1 this.Control[]={this.cb_printer,& this.cb_cancel,& this.cb_ok,& this.cbx_collate,& this.cbx_file,& this.st_4,& this.sle_range,& this.rb_range,& this.rb_current,& this.rb_all,& this.sle_copies,& this.st_2,& this.st_printer,& this.st_1,& this.gb_1} end on onDAT* w_report_print.destroy destroy(this.cb_printer) destroy(this.cb_cancel) destroy(this.cb_ok) destroy(this.cbx_collate) destroy(this.cbx_file) destroy(this.st_4) destroy(this.sle_range) destroy(this.rb_range) destroy(this.rb_current) destroy(this.rb_all) destroy(this.sle_copies) destroy(this.st_2) destroy(this.st_printer) destroy(this.st_1) destroy(this.gb_1) end on type cb_printer from commandbutton within w_report_print int X=1682 int Y=376 int Width=293 int Height=108 intDAT* TabOrder=100 string Text="Printer..." int TextSize=-8 int Weight=700 string FaceName="MS Sans Serif" FontFamily FontFamily=Swiss! FontPitch FontPitch=Variable! end type event clicked;PrintSetup() st_printer.Text = idw_obj.Describe('DataWindow.Printer') end event type cb_cancel from commandbutton within w_report_print int X=1682 int Y=220 int Width=293 int Height=108 int TabOrder=90 string Text="Cancel" int TextSize=-8 int Weight=700 string FaceName="MS Sans Serif" FontFamDAT*ily FontFamily=Swiss! FontPitch FontPitch=Variable! end type event clicked;Close(Parent) end event type cb_ok from commandbutton within w_report_print int X=1682 int Y=64 int Width=293 int Height=108 int TabOrder=80 string Text="OK" boolean Default=true int TextSize=-8 int Weight=700 string FaceName="MS Sans Serif" FontFamily FontFamily=Swiss! FontPitch FontPitch=Variable! end type event clicked;string ls_modify, ls_page, ls_path, ls_file, ls_err integer li_rtn //ls_moDAT*dify = "DataWindow.Printer='" + st_printer.Text + "'" if sle_copies.Text <> '' and Not IsNull(sle_copies.Text) then // ls_modify = ls_modify + ' DataWindow.Print.Copies=' + sle_copies.Text ls_modify = 'DataWindow.Print.Copies=' + sle_copies.Text end if if rb_current.Checked then // Get the current page number of the datawindow ls_page = idw_obj.GetItemString(idw_obj.GetRow(), 'page') ls_page = Mid(ls_page, 6, Pos(ls_page, 'of') - 7) ls_modify = ls_modify + " DataWindow.Print.PageDAT*.Range='" + ls_page + "'" ls_modify = ls_modify + " DataWindow.Print.Page.Range='" + & sle_range.Text + "'" end if if cbx_collate.Checked then ls_modify = ls_modify + " DataWindow.Print.Collate=Yes" end if // SDJ - If Print to file box is checked, then open the Save As // window and choose the drive, directory, name, and type of // file for the report data to be saved to. if cbx_file.Checked = TRUE then li_rtn = w_report_body.dw_1.SaveAs() choose case li_rtn case 1 DAT* ls_modify = ls_modify + " DataWindow.Print.FileName='" + ls_path + "'" case 0 return case -1 MessageBox('Error', 'Error getting print file name') return end choose end if ls_err = idw_obj.Modify(ls_modify) if ls_err <> '' then MessageBox('Modify ' + idw_obj.DataObject + ' Error', ls_err) return end if // SDJ - If the Print to file box is NOT checked, print the report. If cbx_file.checked = FALSE then idw_obj.Print() end if close(Parent) end event DAT* type cbx_collate from checkbox within w_report_print int X=1563 int Y=808 int Width=489 int Height=76 int TabOrder=70 string Text="Collate Cop&ies" BorderStyle BorderStyle=StyleLowered! long TextColor=8388608 long BackColor=79741120 int TextSize=-8 int Weight=700 string FaceName="MS Sans Serif" FontFamily FontFamily=Swiss! FontPitch FontPitch=Variable! end type type cbx_file from checkbox within w_report_print int X=1563 int Y=692 int Width=416 int Height=76 int TabOrder=60DAT* string Text="Print to Fi&le" BorderStyle BorderStyle=StyleLowered! long TextColor=8388608 long BackColor=79741120 int TextSize=-8 int Weight=700 string FaceName="MS Sans Serif" FontFamily FontFamily=Swiss! FontPitch FontPitch=Variable! end type type st_4 from statictext within w_report_print int X=169 int Y=716 int Width=1225 int Height=140 boolean Enabled=false string Text="Enter page numbers and/or page ranges separated by commas. For example: 2, 4, 7-9" boolean FocusRectanDAT*gle=false long TextColor=8388608 long BackColor=79741120 int TextSize=-8 int Weight=700 string FaceName="MS Sans Serif" FontFamily FontFamily=Swiss! FontPitch FontPitch=Variable! end type type sle_range from singlelineedit within w_report_print int X=475 int Y=600 int Width=878 int Height=92 int TabOrder=50 BorderStyle BorderStyle=StyleLowered! boolean AutoHScroll=false int TextSize=-8 int Weight=700 string FaceName="MS Sans Serif" FontFamily FontFamily=Swiss! FontPitch FontDAT*Pitch=Variable! end type event modified;rb_range.Checked = TRUE end event type rb_range from radiobutton within w_report_print int X=187 int Y=600 int Width=297 int Height=76 int TabOrder=40 string Text="Pa&ges:" long TextColor=8388608 long BackColor=79741120 int TextSize=-8 int Weight=700 string FaceName="MS Sans Serif" FontFamily FontFamily=Swiss! FontPitch FontPitch=Variable! end type type rb_current from radiobutton within w_report_print int X=187 int Y=512 int WidtDAT*h=457 int Height=76 int TabOrder=30 string Text="Curr&ent Page" long TextColor=8388608 long BackColor=79741120 int TextSize=-8 int Weight=700 string FaceName="MS Sans Serif" FontFamily FontFamily=Swiss! FontPitch FontPitch=Variable! end type event clicked;sle_range.Text = '' end event type rb_all from radiobutton within w_report_print int X=187 int Y=424 int Width=169 int Height=76 int TabOrder=20 string Text="&All" boolean Checked=true long TextColor=8388608 long BackCoDAT*lor=79741120 int TextSize=-8 int Weight=700 string FaceName="MS Sans Serif" FontFamily FontFamily=Swiss! FontPitch FontPitch=Variable! end type event clicked;sle_range.text = '' end event type sle_copies from singlelineedit within w_report_print int X=393 int Y=220 int Width=247 int Height=92 int TabOrder=10 BorderStyle BorderStyle=StyleLowered! boolean AutoHScroll=false string Text="1" int TextSize=-8 int Weight=700 string FaceName="MS Sans Serif" FontFamily FontFamily=SwDAT*iss! FontPitch FontPitch=Variable! end type type st_2 from statictext within w_report_print int X=91 int Y=228 int Width=247 int Height=76 boolean Enabled=false string Text="Copies:" Alignment Alignment=Right! boolean FocusRectangle=false long TextColor=8388608 long BackColor=79741120 int TextSize=-8 int Weight=700 string FaceName="MS Sans Serif" FontFamily FontFamily=Swiss! FontPitch FontPitch=Variable! end type type st_printer from statictext within w_report_print int X=DAT*393 int Y=64 int Width=1019 int Height=112 boolean Enabled=false string Text="none" boolean FocusRectangle=false long TextColor=8388608 long BackColor=79741120 int TextSize=-8 int Weight=700 string FaceName="MS Sans Serif" FontFamily FontFamily=Swiss! FontPitch FontPitch=Variable! end type type st_1 from statictext within w_report_print int X=91 int Y=64 int Width=247 int Height=76 boolean Enabled=false string Text="Printer:" Alignment Alignment=Right! boolean FocusRectangDAT*le=false long TextColor=8388608 long BackColor=79741120 int TextSize=-8 int Weight=700 string FaceName="MS Sans Serif" FontFamily FontFamily=Swiss! FontPitch FontPitch=Variable! end type type gb_1 from groupbox within w_report_print int X=101 int Y=324 int Width=1335 int Height=540 string Text="Page Range" BorderStyle BorderStyle=StyleLowered! long TextColor=8388608 long BackColor=79741120 int TextSize=-8 int Weight=700 string FaceName="MS Sans Serif" FontFamily FontFamily=SDAT*2wiss! FontPitch FontPitch=Variable! end type DAT*e(column=(type=char(50) updatewhereclause=yes name=nation_name dbname="v_rap_reports.nation_name" ) column=(type=char(50) updatewhereclause=yes name=state_name dbname="v_rap_reports.state_name" ) column=(type=char(50) updatewhereclause=yes name=county_name dbname="v_rap_reports.county_name" ) column=(type=char(10) updatewhereclause=yes name=source_id dbname="v_rap_reports.source_id" ) column=(type=char(50) updatewhereclause=yes name=source_name dbname="v_rap_reports.source_name" ) columnDAT*=(type=char(4) updatewhereclause=yes name=sic_code dbname="v_rap_reports.sic_code" ) column=(type=char(4) updatewhereclause=yes name=naics_code dbname="v_rap_reports.naics_code" ) column=(type=char(10) updatewhereclause=yes name=device_id dbname="v_rap_reports.device_id" ) column=(type=char(15) updatewhereclause=yes name=device_code dbname="v_rap_reports.device_code" ) column=(type=char(50) updatewhereclause=yes name=device_name dbname="v_rap_reports.device_name" ) column=(type=char(10) DAT*updatewhereclause=yes name=process_id dbname="v_rap_reports.process_id" ) column=(type=char(15) updatewhereclause=yes name=process_code dbname="v_rap_reports.process_code" ) column=(type=char(50) updatewhereclause=yes name=process_name dbname="v_rap_reports.process_name" ) column=(type=char(10) updatewhereclause=yes name=scc_code dbname="v_rap_reports.scc_code" ) column=(type=char(10) updatewhereclause=yes name=stream_id dbname="v_rap_reports.stream_id" ) column=(type=char(12) updatewherDAT*eclause=yes name=material_code dbname="v_rap_reports.material_code" ) column=(type=char(12) updatewhereclause=yes name=metric_code dbname="v_rap_reports.metric_code" ) column=(type=char(12) updatewhereclause=yes name=reference_code dbname="v_rap_reports.reference_code" ) column=(type=char(3) updatewhereclause=yes name=value_type dbname="v_rap_reports.value_type" ) column=(type=char(26) updatewhereclause=yes name=start_date dbname="v_rap_reports.start_date" ) column=(type=char(26) updatewDAT*hereclause=yes name=end_date dbname="v_rap_reports.end_date" ) column=(type=char(30) updatewhereclause=yes name=rap_units_name dbname="rap_units.name" ) column=(type=number updatewhereclause=yes name=camount dbname="amount" ) column=(type=char(4) updatewhereclause=yes name=cmin_decode dbname="min_decode" ) retrieve="SELECT v_rap_reports.nation_name, v_rap_reports.state_name, v_rap_reports.county_name, v_rap_reports.source_id, v_rap_reports.source_name, v_rap_reports.sDAT*ic_code, v_rap_reports.naics_code, v_rap_reports.device_id, v_rap_reports.device_code, v_rap_reports.device_name, v_rap_reports.process_id, v_rap_reports.process_code, v_rap_reports.process_name, v_rap_reports.scc_code, v_rap_reports.stream_id, v_rap_reports.material_code, v_rap_reports.metric_code, v_rap_reports.reference_code, v_rap_reports.value_type, :fromDate ~"start_date~", :toDate ~"end_date~", rap_units_b.name, sum(v_rap_reports.value_amountDAT* * rap_units_a.conversion_factor_amt / rap_units_b.conversion_factor_amt) ~"amount~", IF v_rap_reports.data_code IS NULL THEN :as_null ELSE IF v_rap_reports.data_code = 'RO' THEN :as_ro ELSE v_rap_reports.data_code ENDIF ENDIF ~"min_decode~" FROM v_rap_reports, rap_units rap_units_a, rap_units rap_units_b WHERE ( v_rap_reports.value_unit_code = rap_units_a.code ) AND ( rap_units_a.meas_code = rap_units_b.meas_code ) AND ( v_rap_reports.metric_code IN ('DISCHARGE'DAT*, 'DOWNSTRMDIS', 'MASS FLOW')) AND ( ( v_rap_reports.value_type is null ) OR ( v_rap_reports.value_type in ( select type from rap_value_types where name like 'SPECIATED FROM %' ) ) ) AND ( ( v_rap_reports.start_date BETWEEN :fromDate AND :toDate ) AND ( v_rap_reports.end_date BETWEEN :fromDate AND :toDate ) AND ( rap_units_b.code = :unitCode ) AND ( v_rap_reports.reference_code = :refCode ) AND ( v_rap_reports.material_code IN ( :matCode ) ) ) GROUP DAT*BY v_rap_reports.nation_name, v_rap_reports.state_name, v_rap_reports.county_name, v_rap_reports.source_id, v_rap_reports.source_name, v_rap_reports.sic_code, v_rap_reports.naics_code, v_rap_reports.device_id, v_rap_reports.device_code, v_rap_reports.device_name, v_rap_reports.process_id, v_rap_reports.process_code, v_rap_reports.process_name, v_rap_reports.scc_code, v_rap_reports.stream_id, v_rap_reports.reference_code, v_rap_reports.material_codDAT*e, v_rap_reports.metric_code, rap_units_b.name, v_rap_reports.data_code, v_rap_reports.value_type " arguments=(("al_nationArray", numberlist),("al_stateArray", numberlist),("al_countyArray", numberlist),("al_sourceArray", numberlist),("al_sourceSub1Array", numberlist),("al_sourceSub2Array", numberlist),("fromDate", datetime),("toDate", datetime),("as_null", string),("as_ro", string),("unitCode", string),("refCode", string),("matCode", stringlist)) sort="nation_name A state_name A cDAT*ounty_name A source_id A material_code A metric_code A device_id A process_id A stream_id A cmin_decode A value_type A " ) group(level=1 header.height=88 trailer.height=0 by=("nation_name" ) header.color="536870912" trailer.color="536870912" ) group(level=2 header.height=72 trailer.height=0 by=("state_name" ) header.color="536870912" trailer.color="536870912" ) group(level=3 header.height=88 trailer.height=0 by=("county_name" ) header.color="536870912" trailer.color="536870912" ) group(level=4DAT* header.height=248 trailer.height=40 by=("source_id" ) header.color="553648127" trailer.color="536870912" ) group(level=5 header.height=72 trailer.height=0 by=("source_id" , "material_code" , "metric_code" ) header.color="553648127" trailer.color="536870912" sort="source_id A material_code A metric_code A " ) group(level=6 header.height=0 trailer.height=0 by=("device_id" , "material_code" , "metric_code" ) header.color="553648127" trailer.color="536870912" sort="device_id A material_code A metDAT*ric_code A " ) group(level=7 header.height=4 trailer.height=0 by=("process_id" , "material_code" , "metric_code" ) header.color="553648127" trailer.color="536870912" sort="process_id A material_code A metric_code A " ) group(level=8 header.height=0 trailer.height=0 by=("stream_id" , "material_code" , "metric_code" ) header.color="553648127" trailer.color="536870912" sort="stream_id A material_code A metric_code A " ) group(level=9 header.height=0 trailer.height=0 by=("stream_id" , "material_cDAT*ode" , "metric_code" , "cmin_decode" ) header.color="553648127" trailer.color="536870912" ) text(band=header alignment="2" text="Emissions by Source" border="0" color="0" x="18" y="84" height="80" width="3054" html.valueishtml="0" name=t_1 visible="1" font.face="MS Sans Serif" font.height="-12" font.weight="700" font.family="2" font.pitch="2" font.charset="0" font.underline="1" background.mode="1" background.color="536870912" ) text(band=header alignment="0" text="End Date:" border="0" color=DAT*"0" x="622" y="292" height="64" width="347" html.valueishtml="0" name=t_2 visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) text(band=header alignment="0" text="Start Date:" border="0" color="0" x="622" y="212" height="64" width="347" html.valueishtml="0" name=t_3 visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" fontDAT*.charset="0" background.mode="1" background.color="536870912" ) text(band=header alignment="0" text="Units:" border="0" color="0" x="1646" y="292" height="64" width="512" html.valueishtml="0" name=t_4 visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) text(band=header alignment="0" text="Reference Code:" border="0" color="0" x="1646" y="212" height="64" width="507" html.valDAT*ueishtml="0" name=t_5 visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) column(band=header id=22 alignment="0" tabsequence=32766 border="0" color="0" x="2158" y="292" height="64" width="640" format="[general]" html.valueishtml="0" name=rap_units_name visible="1" edit.limit=30 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 fontDAT*.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) column(band=header id=18 alignment="0" tabsequence=32766 border="0" color="0" x="2158" y="212" height="64" width="640" format="[general]" html.valueishtml="0" name=reference_code visible="1" edit.limit=12 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400DAT*" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) compute(band=header alignment="1" expression="'Page ' + page() + ' of ' + pageCount()"border="0" color="0" x="2432" y="20" height="64" width="640" format="[general]" html.valueishtml="0" name=page visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) compute(band=header alignmeDAT*nt="0" expression="today()"border="0" color="0" x="18" y="20" height="64" width="421" format="dd-mmm-yyyy" html.valueishtml="0" name=compute_1 visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) compute(band=header alignment="0" expression="date( left ( start_date, 11) )"border="0" color="0" x="969" y="212" height="64" width="640" format="dd-mmm-yyyy" html.valueishtml="0" naDAT* me=start_date_c visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) compute(band=header alignment="0" expression="date( left ( end_date, 11) )"border="0" color="0" x="969" y="292" height="64" width="640" format="dd-mmm-yyyy" html.valueishtml="0" name=end_date_c visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" backgrouDAT* nd.mode="2" background.color="16777215" ) line(band=header.1 x1="0" y1="4" x2="3054" y2="4" name=l_1 visible="1" pen.style="0" pen.width="5" pen.color="0" background.mode="2" background.color="16777215" ) column(band=header.1 id=1 alignment="0" tabsequence=32766 border="0" color="0" x="347" y="20" height="64" width="1755" format="[general]" html.valueishtml="0" name=nation_name visible="1" edit.limit=50 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemodeDAT* =0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) text(band=header.1 alignment="0" text="Nation:" border="0" color="0" x="18" y="20" height="64" width="219" html.valueishtml="0" name=v_rap_reports_nation_name_t visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) column(DAT* band=header.2 id=2 alignment="0" tabsequence=32766 border="0" color="0" x="347" y="4" height="64" width="1755" format="[general]" html.valueishtml="0" name=state_name visible="1" edit.limit=50 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) text(band=header.2 alignment="0" text="State:" border="0" coDAT* lor="0" x="18" y="4" height="64" width="183" html.valueishtml="0" name=v_rap_reports_state_name_t visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) line(band=header.3 x1="0" y1="84" x2="3054" y2="84" name=l_2 visible="1" pen.style="0" pen.width="5" pen.color="0" background.mode="2" background.color="16777215" ) column(band=header.3 id=3 alignment="0" tabsequence=32766 boDAT* rder="0" color="0" x="347" y="4" height="64" width="1755" format="[general]" html.valueishtml="0" name=county_name visible="1" edit.limit=50 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) text(band=header.3 alignment="0" text="County:" border="0" color="0" x="18" y="4" height="64" width="229" html.vDAT* alueishtml="0" name=v_rap_reports_county_name_t visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) text(band=header.4 alignment="0" text="METRIC CODE" border="0" color="0" x="1115" y="180" height="64" width="658" html.valueishtml="0" name=v_rap_reports_metric_code_t visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" fonDAT* t.charset="0" background.mode="1" background.color="536870912" ) line(band=header.4 x1="0" y1="164" x2="3054" y2="164" name=l_3 visible="1" pen.style="0" pen.width="5" pen.color="0" background.mode="2" background.color="16777215" ) text(band=header.4 alignment="0" text="Name:" border="0" color="0" x="18" y="84" height="64" width="187" html.valueishtml="0" name=v_rap_reports_source_name_t visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" DAT* font.charset="0" background.mode="1" background.color="536870912" ) column(band=header.4 id=4 alignment="0" tabsequence=32766 border="0" color="0" x="347" y="4" height="64" width="750" format="[general]" html.valueishtml="0" name=source_id visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color=DAT* "16777215" ) column(band=header.4 id=5 alignment="0" tabsequence=32766 border="0" color="0" x="347" y="84" height="64" width="1755" format="[general]" html.valueishtml="0" name=source_name visible="1" edit.limit=50 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) text(band=header.4 alignment="0" textDAT* ="Source ID:" border="0" color="0" x="18" y="4" height="64" width="329" html.valueishtml="0" name=v_rap_reports_source_id_t visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) text(band=header.4 alignment="0" text="MATERIAL CODE" border="0" color="0" x="219" y="180" height="64" width="658" html.valueishtml="0" name=v_rap_reports_material_code_t visible="1" font.face="MS SanDAT* s Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) text(band=header.4 alignment="1" text="AMOUNT" border="0" color="0" x="2011" y="180" height="64" width="658" html.valueishtml="0" name=t_6 visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) line(band=header.4 x1="0" y1="244" x2="305DAT* 4" y2="244" name=l_4 visible="1" pen.style="0" pen.width="5" pen.color="0" background.mode="2" background.color="16777215" ) column(band=header.4 id=7 alignment="0" tabsequence=32766 border="0" color="0" x="2487" y="4" height="64" width="439" format="[general]" html.valueishtml="0" name=naics_code visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" bDAT* ackground.color="16777215" ) text(band=header.4 alignment="0" text="NAICS Code:" border="0" color="0" x="2080" y="4" height="64" width="398" html.valueishtml="0" name=naics_code_t visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) column(band=header.4 id=6 alignment="0" tabsequence=32766 border="0" color="0" x="1568" y="4" height="64" width="439" format="[general]" html.valDAT* ueishtml="0" name=sic_code visible="1" edit.limit=4 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) text(band=header.4 alignment="0" text="SIC Code:" border="0" color="0" x="1239" y="4" height="64" width="320" html.valueishtml="0" name=v_rap_reports_sic_code_t visible="1" font.face="MS Sans Serif" DAT* font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) compute(band=header.5 alignment="1" expression="sum( stream_amount for group 5 )"border="0" color="0" x="2011" y="4" height="64" width="658" format="0.0####" html.valueishtml="0" name=process_amount visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) DAT*  column(band=header.5 id=17 alignment="0" tabsequence=32766 border="0" color="0" x="1115" y="4" height="64" width="658" format="[general]" html.valueishtml="0" name=metric_code visible="1" edit.limit=12 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) column(band=header.5 id=16 alignment="0" tabsequenDAT*" ce=32766 border="0" color="0" x="219" y="4" height="64" width="663" format="[general]" html.valueishtml="0" name=material_code visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) column(band=header.6 id=8 alignment="0" tabsequence=32766 border="0" color="0" x="146" y="20" height="64" width="658" format="[general]" html.valDAT*$ ueishtml="0" name=device_id visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) column(band=header.6 id=15 alignment="0" tabsequence=32766 border="0" color="0" x="896" y="20" height="64" width="658" format="[general]" html.valueishtml="0" name=stream_id visible="1" edit.limit=1DAT*& 2 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) column(band=header.6 id=16 alignment="0" tabsequence=32766 border="0" color="0" x="1573" y="20" height="64" width="658" format="[general]" html.valueishtml="0" name=material_code_1 visible="1" edit.limit=12 edit.case=any edit.focusrectangle=no edit.auDAT*( toselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) compute(band=header.6 alignment="1" expression="sum( stream_amount for group 6 )"border="0" color="0" x="2249" y="20" height="64" width="658" format="0.0####" html.valueishtml="0" name=compute_2 visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" fonDAT** t.charset="0" background.mode="2" background.color="16777215" ) column(band=header.7 id=11 alignment="0" tabsequence=32766 border="0" color="0" x="183" y="20" height="64" width="658" format="[general]" html.valueishtml="0" name=process_id visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="DAT*, 16777215" ) column(band=header.7 id=15 alignment="0" tabsequence=32766 border="0" color="0" x="896" y="20" height="64" width="658" format="[general]" html.valueishtml="0" name=stream_id_1 visible="1" edit.limit=12 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) column(band=header.7 id=16 alignment="DAT*. 0" tabsequence=32766 border="0" color="0" x="1573" y="20" height="64" width="658" format="[general]" html.valueishtml="0" name=material_code_2 visible="1" edit.limit=12 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) compute(band=header.7 alignment="1" expression="sum( stream_amount for group 7 )"borDAT*0 der="0" color="0" x="2249" y="20" height="64" width="658" format="0.0####" html.valueishtml="0" name=compute_3 visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) compute(band=header.8 alignment="0" expression="if( cmin_decode = min( cmin_decode for group 8 ), 1, 0 )"border="0" color="0" x="18" y="4" height="64" width="1262" format="0.0####" html.valueishtml="0" name=data_code_flag DAT*2 visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="15780518" ) compute(band=header.9 alignment="0" expression="if( value_type_c = max( value_type_c for group 9 ), 1, 0 )"border="0" color="0" x="1317" y="4" height="64" width="1262" format="[general]" html.valueishtml="0" name=value_type_flag visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.piDAT*n tch="2" font.charset="0" background.mode="2" background.color="15780518" ) column(band=detail id=14 alignment="0" tabsequence=32766 border="0" color="0" x="18" y="20" height="64" width="439" format="[general]" html.valueishtml="0" name=scc_code visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) column(band=detail DAT*6 rts.source_name, v_rap_reports.sic_code, v_rap_reports.naics_code, v_rap_reports.device_id, v_rap_reports.device_code, v_rap_reports.device_name, v_rap_reports.process_id, v_rap_reports.process_code, v_rap_reports.process_name, v_rap_reports.scc_code, v_rap_reports.stream_id, v_rap_reports.material_code, v_rap_reports.metric_code, v_rap_reports.reference_code, v_rap_reports.value_type,  "start_date",  "end_date", rap_units_b.name, sum(v_rap_reDAT*8 ports.value_amount * rap_units_a.conversion_factor_amt / rap_units_b.conversion_factor_amt) "amount", IF v_rap_reports.data_code IS NULL THEN  ELSE IF v_rap_reports.data_code = 'RO' THEN  ELSE v_rap_reports.data_code ENDIF ENDIF "min_decode" FROM v_rap_reports, rap_units rap_units_a, rap_units rap_units_b WHERE ( v_rap_reports.value_unit_code = rap_units_a.code ) AND ( rap_units_a.meas_code = rap_units_b.meas_code ) AND ( v_rap_reports.metric_code IN ('DISCHARGDAT* E', 'DOWNSTRMDIS', 'MASS FLOW')) AND ( ( v_rap_reports.value_type is null ) OR ( v_rap_reports.value_type in ( select type from rap_value_types where name like 'SPECIATED FROM %' ) ) ) AND ( ( v_rap_reports.start_date BETWEEN  AND  ) AND ( v_rap_reports.end_date BETWEEN  AND  ) AND ( rap_units_b.code =  ) AND ( v_rap_reports.reference_code =  ) AND ( v_rap_reports.material_code IN (  ) ) ) GROUP BY v_rap_reports.nation_name, v_rap_reportDAT*< ***Main reporting window.***forward global type w_report_old from window end type type uo_ss from u_class_ss_client within w_report_old end type type dw_reference_codes from u_dw_reference_code within w_report_old end type type dw_unit_meas from u_dw_unit_code within w_report_old end type type st_select_report from statictext within w_report_old end type type ddlb_reportname from dropdownlistbox within w_report_old end type type uo_pollutant from u_pollutant within w_report_old end tDAT*> ype type uo_emis_period from u_emis_period within w_report_old end type type cb_close from commandbutton within w_report_old end type type cb_preview from commandbutton within w_report_old end type end forward global type w_report_old from window integer x = 87 integer y = 300 integer width = 2720 integer height = 1332 boolean titlebar = true string title = "RAPIDS Reports" boolean controlmenu = true boolean minbox = true boolean maxbox = true boolean resizable = true long bacDAT*@ kcolor = 79741120 string icon = "Rpt.ico" uo_ss uo_ss dw_reference_codes dw_reference_codes dw_unit_meas dw_unit_meas st_select_report st_select_report ddlb_reportname ddlb_reportname uo_pollutant uo_pollutant uo_emis_period uo_emis_period cb_close cb_close cb_preview cb_preview end type global w_report_old w_report_old type variables int ii_level // Source, device, process, etc string is_header long il_device_rid long il_process_rid long il_nation_rid longDAT*B  il_state_rid long il_county_rid long il_city_rid long il_source_rid string is_geo_level datetime idt_start datetime idt_end string is_ref_code string is_emittants[] str_rpt_parms istr_rpt_parms; // structure which stores report name and parameters string is_reportname boolean ib_enable_objects boolean ib_rollup_report end variables on w_report_old.create this.uo_ss=create uo_ss this.dw_reference_codes=create dw_reference_codes this.dw_unit_meas=create dw_unit_meas thisDAT*D .st_select_report=create st_select_report this.ddlb_reportname=create ddlb_reportname this.uo_pollutant=create uo_pollutant this.uo_emis_period=create uo_emis_period this.cb_close=create cb_close this.cb_preview=create cb_preview this.Control[]={this.uo_ss,& this.dw_reference_codes,& this.dw_unit_meas,& this.st_select_report,& this.ddlb_reportname,& this.uo_pollutant,& this.uo_emis_period,& this.cb_close,& this.cb_preview} end on on w_report_old.destroy destroy(this.uo_ss) destDAT*F roy(this.dw_reference_codes) destroy(this.dw_unit_meas) destroy(this.st_select_report) destroy(this.ddlb_reportname) destroy(this.uo_pollutant) destroy(this.uo_emis_period) destroy(this.cb_close) destroy(this.cb_preview) end on event closequery;If MessageBox('Exit Reporting', 'Are you sure you want to exit Reporting?', & Question!, YesNo!) = 1 then SetNull(gs_filt) Close(This) else Message.ReturnValue = 1 end if end event type uo_ss from u_class_ss_client within w_report_oDAT*H ld integer x = 64 integer y = 64 integer width = 1088 integer height = 416 integer taborder = 60 boolean border = true borderstyle borderstyle = stylelowered! end type on uo_ss.destroy call u_class_ss_client::destroy end on type dw_reference_codes from u_dw_reference_code within w_report_old boolean visible = false integer x = 1335 integer y = 672 integer width = 1280 integer height = 112 integer taborder = 30 end type type dw_unit_meas from u_dw_unit_code within w_reportDAT*J _old boolean visible = false integer x = 1371 integer y = 800 integer width = 1243 integer height = 112 integer taborder = 40 end type type st_select_report from statictext within w_report_old integer x = 64 integer y = 512 integer width = 466 integer height = 64 integer textsize = -8 integer weight = 700 fontcharset fontcharset = ansi! fontpitch fontpitch = variable! fontfamily fontfamily = swiss! string facename = "MS Sans Serif" long textcolor = 8388608 long backcolor = 80DAT*L 269524 boolean enabled = false string text = "Select Report:" boolean focusrectangle = false end type type ddlb_reportname from dropdownlistbox within w_report_old integer x = 55 integer y = 576 integer width = 1097 integer height = 624 integer taborder = 20 integer textsize = -8 integer weight = 700 fontpitch fontpitch = variable! fontfamily fontfamily = swiss! string facename = "MS Sans Serif" boolean sorted = false boolean vscrollbar = true string item[] = {"Emissions by CouDAT*N nty","Emissions by Source","Emissions by Device","Emissions by Process","Source Emissions Summary","Source Detail Report","Source Device Connections","County Emissions Breakdown"} borderstyle borderstyle = stylelowered! end type event selectionchanged;// Sets report name drop down to instance variable is_reportName = ddlb_reportName.text(index) // Assigns instance variable to a specific datawindow(report) choose case is_reportname case 'County Emissions Breakdown' is_reportnamDAT*P e = 'd_county_breakdown' ib_rollup_report = TRUE ib_enable_objects = TRUE case 'Emissions by County' is_reportname = 'd_county_rollup' ib_rollup_report = TRUE ib_enable_objects = TRUE //test warehouse report case 'Emissions by County (Warehouse)' is_reportname = 'd_county_rollup_warehouse' ib_rollup_report = TRUE ib_enable_objects = TRUE case 'Emissions by Source' is_reportname = 'd_source_rollup' ib_rollup_report = TRUE ib_enable_objects = TRUE case 'EmiDAT*R ssions by Device' is_reportname = 'd_device_rollup' ib_rollup_report = TRUE ib_enable_objects = TRUE case 'Emissions by Process' is_reportname = 'd_process_rollup' ib_rollup_report = TRUE ib_enable_objects = TRUE case 'Source Emissions Summary' is_reportname = 'd_source_summary' ib_rollup_report = TRUE ib_enable_objects = TRUE case 'Source Detail Report' is_reportname = 'd_source_detail' ib_rollup_report = FALSE ib_enable_objects = FALSE case 'Source DevDAT*T ice Connections' if gs_database = 'ORACLE' then is_reportname = 'd_device_connections_ora' else is_reportname = 'd_device_connections' end if ib_rollup_report = FALSE ib_enable_objects = FALSE case 'Source Stream Tracing' is_reportname = 'd_stream_tracing' ib_rollup_report = FALSE ib_enable_objects = FALSE case '' //do nothing for no report selected case else messageBox("Error", "w_report::ddlb_reportName::selectionChanged(); " +& "invalid repoDAT*V rt name '" + is_reportName + "'", exclamation!) return -1 end choose // Enables or disables objects on w_report based on report selected. if ib_enable_objects then uo_emis_period.visible = TRUE dw_reference_codes.visible = TRUE dw_unit_meas.visible = TRUE uo_pollutant.visible = TRUE else uo_emis_period.visible = FALSE dw_reference_codes.visible = FALSE dw_unit_meas.visible = FALSE uo_pollutant.visible = FALSE end if end event type uo_pollutant from u_pollutant witDAT*X hin w_report_old boolean visible = false integer x = 1234 integer taborder = 10 boolean border = false end type on uo_pollutant.destroy call u_pollutant::destroy end on type uo_emis_period from u_emis_period within w_report_old boolean visible = false integer x = 64 integer y = 736 integer taborder = 50 boolean border = false end type on uo_emis_period.destroy call u_emis_period::destroy end on type cb_close from commandbutton within w_report_old integer x = 1957 integDAT*Z er y = 1056 integer width = 293 integer height = 96 integer taborder = 80 integer textsize = -8 integer weight = 700 fontpitch fontpitch = variable! fontfamily fontfamily = swiss! string facename = "MS Sans Serif" string text = "Exit" end type event clicked;//SDJ 11/20/97 Close w_report window close(Parent) end event type cb_preview from commandbutton within w_report_old integer x = 2304 integer y = 1056 integer width = 293 integer height = 96 integer taborder = 70 integer DAT*\ textsize = -8 integer weight = 700 fontpitch fontpitch = variable! fontfamily fontfamily = swiss! string facename = "MS Sans Serif" string text = "Preview" end type event clicked;integer li_num_emittants string ls_temp_emittants[] long ll_sourceRid long ll_sourceSub1Rid SetPointer(Hourglass!) // Build the list of emittants as a temporary array, then overwrite the instance array uo_pollutant.uf_get_emittants(ls_temp_emittants, li_num_emittants) if li_num_emittants <= 0 and ib_eDAT*^ nable_objects = TRUE then messageBox("Required Parameter Missing", "Please select emittants.", exclamation!) return -1 end if is_emittants = ls_temp_emittants // Check to ensure report, reference code, and unit of measure were selected // and objects are enabled. IF ddlb_reportname.text = '' then messageBox("Required Parameter Missing", "Please select a report.", exclamation!) return -1 end if IF not uo_ss.of_hasData() and ib_enable_objects = TRUE then MessageBox("Source SeDAT*` lector", "Please select information from Source Selector.", exclamation!) return -1 end if IF dw_reference_codes.uf_get_reference_codes() = FALSE and ib_enable_objects = TRUE then MessageBox('Reference Code', 'Please select a Reference Code.', exclamation!) return -1 end if IF ib_enable_objects = TRUE then IF dw_unit_meas.uf_check_required("Unit of Measure Missing") = FALSE then return -1 end if // If Device Connections report or Source Detail report // is selected, check to enDAT*b sure a single source is selected. // If more than one source is selected, a message box appears and will not allow user // to proceed until a single source is selected. IF (is_reportname = 'd_device_connections' or & is_reportname = 'd_device_connections_ora' or & is_reportname = 'd_source_detail') then ll_sourceRid = uo_ss.iclass_group.ids_resultSet.getItemNumber(1, uo_ss.iclass_group.is_sourceRid) ll_sourceSub1Rid = uo_ss.iclass_group.ids_resultSet.getItemNumber(1, uo_ss.iclass_grouDAT*d p.is_sourceSub1Rid) if ll_sourcerid < 0 or ll_sourceSub1Rid < 0 then MessageBox('Error', 'cb_preview::clicked(); error in call to getItemNumber().', exclamation!) return -1 end if if not (not isNull(ll_sourceRid) and isNull(ll_sourceSub1Rid)) or & uo_ss.iclass_group.ids_resultSet.rowCount() > 1 then MessageBox('Report Input', 'Select only ONE source for this report to run.', exclamation!) return -1 end if end if // SDJ 11/24/97 Sets all variables from w_report // to DAT*f structure that is passed to w_report_body istr_rpt_parms.rptname = is_reportname istr_rpt_parms.fromdate = DateTime(Date(uo_emis_period.em_start.Text)) istr_rpt_parms.todate = DateTime(Date(uo_emis_period.em_end.Text)) istr_rpt_parms.refcode = dw_reference_codes.GetItemString(1, 1) istr_rpt_parms.unitcode = dw_unit_meas.GetItemString(1, 1) istr_rpt_parms.as_null = ProfileString(gs_iniFile, 'data code priority', 'null', & 'not found') IF istr_rpt_parms.as_null = 'not found' THEN // DoDAT*h  this in case that rapids.ini does not have this key istr_rpt_parms.as_null = '99' SetProfileString(gs_iniFile, 'data code priority', 'null', istr_rpt_parms.as_null) END IF istr_rpt_parms.as_ro = ProfileString(gs_iniFile, 'data code priority', 'RO', & 'not found') IF istr_rpt_parms.as_ro = 'not found' THEN // Do this in case that rapids.ini does not have this key istr_rpt_parms.as_ro = '00' SetProfileString(gs_iniFile, 'data code priority', 'RO', istr_rpt_parms.as_ro) EDAT*j ND IF istr_rpt_parms.matcode = is_emittants istr_rpt_parms.source_group = uo_ss.iclass_group istr_rpt_parms.rollup_report = ib_rollup_report //If the device connections report is selected, we must change the name that //the source group object uses to represent the source_rid column in the SQL //substitution. The rap_devices tables that are joined in use the same name //for source_rid as the v_rap_ss_sic view which is also joined in. To avoid //ambiguous column name problems, we manuDAT*l ally set the name that the source group object //will use to represent this column. We want the view source rid, so we fully //qualify the name. The source selector always resets this name to the default //when the source selector window opens, but since we can run multiple different //reports without re-opening the source selector window, we have to manage this //value here on a report by report basis. //MDY 8/99 if is_reportname = "d_device_connections" or is_reportname = "d_device_conDAT*nections_ora" then //use report-specific fully qualified name for source_rid column in SQL uo_ss.iclass_group.is_sourceRidName = "v_rap_ss_sic.source_rid" else //use default "generic" name for source_rid column in SQL uo_ss.iclass_group.is_sourceRidName = "source_rid" end if // Opens w_report_body and passes structure // Structure opens correct datawindow and passes variables OpenWithParm(w_report_body, istr_rpt_parms) end event DAT*p id=24 alignment="2" tabsequence=32766 border="0" color="0" x="457" y="20" height="64" width="238" format="[general]" html.valueishtml="0" name=cmin_decode visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) column(band=detail id=19 alignment="2" tabsequence=32766 border="0" color="0" x="695" y="20" height="64" widthDAT*r ="238" format="[general]" html.valueishtml="0" name=value_type visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) compute(band=detail alignment="2" expression="if( isNull( value_type ), 0, 1)"border="0" color="0" x="933" y="20" height="64" width="238" format="[general]" html.valueishtml="0" name=value_type_c visibDAT*t le="1" font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="15793151" ) compute(band=detail alignment="2" expression="data_code_flag"border="0" color="0" x="1298" y="20" height="64" width="238" format="[general]" html.valueishtml="0" name=compute_4 visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.cDAT*v olor="15780518" ) compute(band=detail alignment="2" expression="value_type_flag "border="0" color="0" x="1536" y="20" height="64" width="238" format="[general]" html.valueishtml="0" name=compute_5 visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="15780518" ) column(band=detail id=23 alignment="1" tabsequence=32766 border="0" color="0" x="1774" y="20" height="64" width="457" format="0.0DAT*x ####" html.valueishtml="0" name=camount visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) compute(band=detail alignment="1" expression="camount * data_code_flag * value_type_flag"border="0" color="0" x="2249" y="20" height="64" width="457" format="0.0####" html.valueishtml="0" name=stream_amDAT*z ount visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="12632256" ) column(band=trailer.8 id=20 alignment="0" tabsequence=32766 border="0" color="0" x="421" y="32" height="56" width="640" format="[shortdate] [time]" html.valueishtml="0" name=start_date visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" DAT*| font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16776960" ) text(band=trailer.8 alignment="2" text="Reference Code:" border="0" color="0" x="1061" y="32" height="56" width="402" html.valueishtml="0" name=t_7 visible="1" font.face="Arial" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16776960" ) text(band=trailer.8 alignment="2" text="Start Date:"DAT*~  border="0" color="0" x="18" y="32" height="56" width="402" html.valueishtml="0" name=t_8 visible="1" font.face="Arial" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16776960" ) column(band=trailer.8 id=17 alignment="0" tabsequence=32766 border="0" color="0" x="1463" y="32" height="56" width="640" format="[general]" html.valueishtml="0" name=metric_code_1 visible="1" edit.limit=12 edit.case=any edit.focusrectangle=no eDAT* dit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16776960" ) column(band=trailer.7 id=21 alignment="0" tabsequence=32766 border="0" color="0" x="1463" y="44" height="56" width="640" format="[general]" html.valueishtml="0" name=end_date visible="1" edit.limit=30 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=DAT* 0 font.face="Arial" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16776960" ) column(band=trailer.7 id=20 alignment="0" tabsequence=32766 border="0" color="0" x="421" y="44" height="56" width="640" format="[shortdate] [time]" html.valueishtml="0" name=start_date_1 visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-8" fontDAT* .weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16776960" ) text(band=trailer.7 alignment="2" text="Units:" border="0" color="0" x="1061" y="44" height="56" width="402" html.valueishtml="0" name=t_9 visible="1" font.face="Arial" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16776960" ) text(band=trailer.7 alignment="2" text="End Date:" border="0" color="0" x="18" y="DAT* 44" height="56" width="402" html.valueishtml="0" name=t_10 visible="1" font.face="Arial" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16776960" ) line(band=trailer.4 x1="0" y1="4" x2="3054" y2="4" name=l_5 visible="1" pen.style="0" pen.width="5" pen.color="0" background.mode="2" background.color="16777215" ) text(band=footer alignment="1" text="Emissions by source and metric code for the current selection." border="DAT*0" color="0" x="18" y="20" height="64" width="3035" html.valueishtml="0" name=t_11 visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) htmltable(border="1" ) htmlgen(clientevents="1" clientvalidation="1" clientcomputedfields="1" clientformatting="0" clientscriptable="0" generatejavascript="1" netscapelayers="0" ) DAT* s.state_name, v_rap_reports.county_name, v_rap_reports.source_id, v_rap_reports.source_name, v_rap_reports.sic_code, v_rap_reports.naics_code, v_rap_reports.device_id, v_rap_reports.device_code, v_rap_reports.device_name, v_rap_reports.process_id, v_rap_reports.process_code, v_rap_reports.process_name, v_rap_reports.scc_code, v_rap_reports.stream_id, v_rap_reports.reference_code, v_rap_reports.material_code, v_rap_reports.metric_code, rap_units_DAT* b.name, v_rap_reports.data_code, v_rap_reports.value_type \{}"|1"~1"1"1"0"0"0lgQDAT*(RAPIDS ReportDAT* PDW0800pdwPl  ```` F$I,ddDAT* {|  @x`"DAT*   t_1$1<  $ 0%  MS Sans SerifMS Sans Serif$2$-12$700$ 536870912$DAT* 18$T84$P80$ 3054%Emissions by ProcessEmissions by Process"!0`4#$')+-/2t_2< % $&-8$(n622$*DAT* $292$,@64$.[347%01 End Date: End Date:"30`="5$'6+-8;t_3$7212%9: Start Date: Start Date:"<0`H4>$?)+DAT* ACFt_4$@n1646$B512%DEUnits:Units:"G0`Q=I$?6+JLOt_5$K507%MNReference Code:Reference Code:"P0gHRS [])DAT* +_a(edrap_units_name<T W Y%UVArialArial$X-10$Z400$\ 16777215$^n2158$`640&bc [general] [general]"fDAT* 0lQhS []6+_a(ji reference_code"k0ngmnoq+_as~page< % Y$p 2432$r20%tuDAT* ('Page ' + page() + ' of ' + pageCount() ^v} ^w{ ^xzy Page |  of "0nlnq+ compute_1$421& dd-mmm-yyyy dd-mmm-yyyy()today()"DAT* 0nS [6+_ start_date_c$969()date( left ( start_date, 11) ) `  &@"0nS [)+_ end_date_c()DAT* date( left ( end_date, 11) ) `  &@"0@X`n [q+t_12$ 3035%@Emissions by process and metric code for the current selection.@Emissions by process and metric code for DAT* the current selection."0@ n [q+a stream_id$439"0n [q+ a cmin_decoDAT* de$457$238"0n [q+ a value_type$695"0nn q+  value_type_c$DAT*  15793151$933& [general] [general]$# if( isNull( value_type ), 0, 1)   ?"0nn q+  compute_2$ 15780518$DAT* 1298$#data_code_flag data_code_flag"0nn q+a  compute_3$1536$#value_type_flag value_type_flag"0n [DAT* q+camount$1774&0.0####0.0####"0n$ q+stream_amount$ 12632256$2249&0.0####0.0DAT* ####$#+camount * data_code_flag * value_type_flag 0 0  data_code_flag value_type_flag" 0$  553648127@,+'(@XPDAT*  [l_1$5$0$4S [-q+a(2 nation_name$1755"0`$q+ "%DAT* v_rap_reports_nation_name_t$!219%#$Nation:Nation:"&0@%)* nation_name ,? ,;<@H-22.,S [-+a(DAT* 0/2 state_name"10`-3,$+469v_rap_reports_state_name_t$5183%78State:State:":0@%=> state_name ,U+@QDAT* R@XAHPCB@ [l_2HAD@S [-+a(FE2 county_name"G0`CI@$+JLOv_rap_reports_county_name_tDAT* $K229%MNCounty:County:"P0@%ST county_name ,?V@ WP[XV [YYl_3$Z164`dDAT* W\V$+]_bv_rap_reports_source_name_t$^187%`aName:Name:"c0i[eVS [-+a(gf2 source_name"h0`tdjV$kDAT* +mor naics_code_t$l2199$nn366%pq NAICS Code: NAICS Code:"s0{iuVS [v+ayx naics_code$w 2574"z0`t|V$DAT* +}v_rap_reports_source_id_t$~I329% Source ID: Source ID:"0{VS [-+a( source_id$750"0`V$DAT* k+mv_rap_reports_sic_code_t% SIC Code: SIC Code:"0VS [v+a( sic_code"0@% source_id ,UDAT* @ P [YYl_4`$+]_v_rap_reports_device_name_t"0S [+a ( device_code$DAT* %1317$786"0`$+4v_rap_reports_device_code_t$n1134%Code:Code:"0S [-+a (2 DAT* device_name"0S [-+a( device_id"0`$+}v_rap_reports_device_id_t% Device ID: Device ID:"0@DAT* % device_id ,.(+@ `$+]_v_rap_reports_process_name_t"0S [+a (DAT*  process_code"0`$+4v_rap_reports_process_code_t"0`$]+v_rap_reports_scc_code_t$@320% SCC Code: SCC Code:"0DAT* S [-+a (2 process_name"0S [-+a ( process_id"0P [YYl_5S DAT* [+a( scc_code$ 2487"0`$+}v_rap_reports_process_id_t% Process ID: Process ID:"0`$ +DAT* v_rap_reports_material_code_t$180$658%MATERIAL CODEMATERIAL CODE"0P  [  l_6$ 244` $ +v_rap_reports_metric_code_t$DAT* 1042% METRIC CODE METRIC CODE"0` $+t_6$I1865$654%AMOUNTAMOUNT"0` $ !+m#&t_7$"DAT*  2688%$% DATA CODE DATA CODE"'0@())P*( [l_7%,- process_id  4/Hk~ux{@H 0A51/S [DAT*  +a(32 material_code"40:06/S [ +a(87 metric_code"90nA5;/S [+<?process_amount$#=>DAT* !sum( stream_amount for group 7 )["@0n:B/S [!+maC Fstream_decode%DEmin( cmin_decode for group 8 )["G0@IgWJHK LNPR_a(UDAT* T end_date<T % Y$M 16776960$O1463$Q,44$S856"V0_IXHK LPR_Y(]\ start_date_1&Z[[shDAT* ortdate] [time][shortdate] [time]"^0`gW`HK L aPRcCet_10$b%1061$d402"f0`_hHK L PRc/it_11"j0l o2re%mn DAT* process_id  %pqmaterial_code %st metric_code %vw process_id  %yzmaterial_code %|} metric_code 5 stream_amount4.@ DAT* nn +data_code_flag$1262$#9if( cmin_decode = min( cmin_decode for group 8 ), 1, 0 )  [ ? "0@DAT* K LR_Y( start_date$ 32"0`K L aRcLt_8"0`K L Rc8t_9"0DAT* K LNR_a( metric_code_1"02% stream_id %material_code % metric_code % stream_id %material_code %DAT*  metric_code X 8@ nn +avalue_type_flag$#;if( value_type_c = max( value_type_c for group 9 ), 1, 0 )  DAT*  value_type_c[ ? "0@% stream_id %material_code % metric_code % cmin_decode S  value_type_cD DAT* z$"#3'-%&3*C()3-+DAT* , 0d./33126t45978 <:; ?=> 3B@A EDAT* CD HFG 3KIJ NLM Q0OP TgRS WX [YZDAT* cabhQfgklomntrs\  eeɾ % nation_name %DAT*  state_name % county_name % source_id % device_id % process_id  %material_code % metric_code % stream_id % cmin_decode %DAT*  value_type \ gengPI\D apts_p_rol  .   :fromDate:toDate :as_null:as_ro :fromDate:toDate :fromDate:toDate :unitCode :refCode :matCodel  al_nationArrayal_stateArrayal_countyArrayal_sourceArrayal_sourceSub1ArrayaDAT* l_sourceSub2Array fromDatetoDateas_nullas_ro unitCoderefCodematCodeA: ! l nation_namev_rap_reports.nation_name state_namev_rap_reports.state_name- county_namev_rap_reports.county_nameC source_idv_rap_reports.source_idDAT*  source_namev_rap_reports.source_named sic_codev_rap_reports.sic_code naics_codev_rap_reports.naics_codet device_idv_rap_reports.device_id device_codev_rap_reports.device_code device_namev_rap_reports.device_name process_idv_rap_reports.process_id process_codev_rap_reports.prDAT* ocess_code process_namev_rap_reports.process_name scc_codev_rap_reports.scc_code stream_idv_rap_reports.stream_idmaterial_codev_rap_reports.material_code0 metric_codev_rap_reports.metric_codeUVT5Ugreference_codev_rap_reports.reference_code value_typev_rap_reports.value_type\DAT* ][:^\_]`^_ start_datev_rap_reports.start_datedecWd end_datev_rap_reports.end_dateiIjhiQrap_units_namerap_units.namecamountamountp:qop cmin_decode min_decodeuvtADAT* wu:xvywxSELECT v_rap_reports.nation_name, v_rap_reports.state_name, v_rap_reports.county_name, v_rap_reports.source_id, v_rap_reports.source_name, v_rap_reports.sic_code, v_rap_reports.naics_code, v_rap_reports.device_id, v_rap_reports.device_code, v_rap_reports.device_name, v_rap_reports.process_id, v_rap_reports.process_code, v_rap_reports.process_name, v_rap_reports.scc_code, DAT*  v_rap_reports.stream_id, v_rap_reports.material_code, v_rap_reports.metric_code, v_rap_reports.reference_code, v_rap_reports.value_type,  "start_date",  "end_date", rap_units_b.name, sum(v_rap_reports.value_amount * rap_units_a.conversion_factor_amt / rap_units_b.conversion_factor_amt) "amount", IF v_rap_reports.data_code IS NULL THEN  ELSE IF v_rap_reports.data_code = 'RO' THEN  ELSE v_rap_reports.data_code ENDIF ENDIF "min_decode" FROM v_rap_repoDAT* rts, rap_units rap_units_a, rap_units rap_units_b WHERE ( v_rap_reports.value_unit_code = rap_units_a.code ) AND ( rap_units_a.meas_code = rap_units_b.meas_code ) AND ( v_rap_reports.metric_code IN ('DISCHARGE', 'DOWNSTRMDIS', 'MASS FLOW')) AND ( ( v_rap_reports.value_type is null ) OR ( v_rap_reports.value_type in ( select type from rap_value_types where name like 'SPECIATED FROM %' ) ) ) AND ( ( v_rap_reports.start_date BETWEEN  AND  ) ANDAT* D ( v_rap_reports.end_date BETWEEN  AND  ) AND ( rap_units_b.code =  ) AND ( v_rap_reports.reference_code =  ) AND ( v_rap_reports.material_code IN (  ) ) ) GROUP BY v_rap_reports.nation_name, v_rap_reports.state_name, v_rap_reports.county_name, v_rap_reports.source_id, v_rap_reports.source_name, v_rap_reports.sic_code, v_rap_reports.naics_code, v_rap_reports.device_id, v_rap_reports.device_code, v_rap_reports.device_name, v_rap_reports.proDAT* cess_id, v_rap_reports.process_code, v_rap_reports.process_name, v_rap_reports.scc_code, v_rap_reports.stream_id, v_rap_reports.reference_code, v_rap_reports.material_code, v_rap_reports.metric_code, rap_units_b.name, v_rap_reports.data_code, v_rap_reports.value_type \}"~1"1"DAT* ******************************************** case else // ************************************************************************* //default action or error signalError(-1, "Unknow action '" + as_action + "' for ue_scanRow().") return -1 end choose return 0 end event type hsb_zoom from hscrollbar within w_report_body integer x = 864 integer y = 20 integer width = 306 integer height = 64 integer taborder = 60 integer minposition = 20 integer maxposition = 200 DAT* integer position = 100 end type event moved;// Moved script for hsb_zoom string ls_dw_syntax integer li_pos, li_zoom li_pos = this.position if li_pos < 20 then li_pos = 20 elseif li_pos > 200 then li_pos = 200 end if st_zoom.text = "Zoom " + String(li_pos) + "%" ls_dw_syntax = "DataWindow.Print.Preview.Zoom=" + String(li_pos) + "~"" dw_1.modify(ls_dw_syntax) end event on pageright;// Pageright script for hsb_zoom dw_1.TriggerEvent(rbuttondown!) end on on lDAT*\ ineleft;// Lineleft script for hsb_zoom dw_1.TriggerEvent(clicked!) end on on lineright;// Lineright script for hsb_zoom dw_1.TriggerEvent(rbuttondown!) end on on pageleft;// Pageleft script for hsb_zoom dw_1.TriggerEvent(clicked!) end on type st_zoom from statictext within w_report_body integer x = 549 integer y = 28 integer width = 329 integer height = 68 integer textsize = -8 integer weight = 700 fontpitch fontpitch = variable! fontfamily fontfamily = swisDAT* release 8; datawindow(units=0 timer_interval=0 color=16777215 processing=0 HTMLDW=no print.documentname="RAPIDS Report" print.orientation = 0 print.margin.left = 300 print.margin.right = 100 print.margin.top = 100 print.margin.bottom = 150 print.paper.source = 0 print.paper.size = 0 print.prompt=no print.buttons=no print.preview.buttons=no ) header(height=376 color="536870912" ) summary(height=0 color="536870912" ) footer(height=88 color="536870912" ) detail(height=4 color="553648127" ) tablDAT* e(column=(type=char(50) updatewhereclause=yes name=nation_name dbname="v_rap_reports.nation_name" ) column=(type=char(50) updatewhereclause=yes name=state_name dbname="v_rap_reports.state_name" ) column=(type=char(50) updatewhereclause=yes name=county_name dbname="v_rap_reports.county_name" ) column=(type=char(10) updatewhereclause=yes name=source_id dbname="v_rap_reports.source_id" ) column=(type=char(50) updatewhereclause=yes name=source_name dbname="v_rap_reports.source_name" ) columnDAT* =(type=char(4) updatewhereclause=yes name=sic_code dbname="v_rap_reports.sic_code" ) column=(type=char(4) updatewhereclause=yes name=naics_code dbname="v_rap_reports.naics_code" ) column=(type=char(10) updatewhereclause=yes name=device_id dbname="v_rap_reports.device_id" ) column=(type=char(15) updatewhereclause=yes name=device_code dbname="v_rap_reports.device_code" ) column=(type=char(50) updatewhereclause=yes name=device_name dbname="v_rap_reports.device_name" ) column=(type=char(10) DAT* updatewhereclause=yes name=process_id dbname="v_rap_reports.process_id" ) column=(type=char(15) updatewhereclause=yes name=process_code dbname="v_rap_reports.process_code" ) column=(type=char(50) updatewhereclause=yes name=process_name dbname="v_rap_reports.process_name" ) column=(type=char(10) updatewhereclause=yes name=scc_code dbname="v_rap_reports.scc_code" ) column=(type=char(10) updatewhereclause=yes name=stream_id dbname="v_rap_reports.stream_id" ) column=(type=char(12) updatewherDAT* eclause=yes name=material_code dbname="v_rap_reports.material_code" ) column=(type=char(12) updatewhereclause=yes name=metric_code dbname="v_rap_reports.metric_code" ) column=(type=char(12) updatewhereclause=yes name=reference_code dbname="v_rap_reports.reference_code" ) column=(type=char(3) updatewhereclause=yes name=value_type dbname="v_rap_reports.value_type" ) column=(type=char(26) updatewhereclause=yes name=start_date dbname="v_rap_reports.start_date" ) column=(type=char(26) updatewDAT* hereclause=yes name=end_date dbname="v_rap_reports.end_date" ) column=(type=char(30) updatewhereclause=yes name=rap_units_name dbname="rap_units.name" ) column=(type=number updatewhereclause=yes name=camount dbname="amount" ) column=(type=char(4) updatewhereclause=yes name=cmin_decode dbname="min_decode" ) retrieve="SELECT v_rap_reports.nation_name, v_rap_reports.state_name, v_rap_reports.county_name, v_rap_reports.source_id, v_rap_reports.source_name, v_rap_reports.sDAT* ic_code, v_rap_reports.naics_code, v_rap_reports.device_id, v_rap_reports.device_code, v_rap_reports.device_name, v_rap_reports.process_id, v_rap_reports.process_code, v_rap_reports.process_name, v_rap_reports.scc_code, v_rap_reports.stream_id, v_rap_reports.material_code, v_rap_reports.metric_code, v_rap_reports.reference_code, v_rap_reports.value_type, :fromDate ~"start_date~", :toDate ~"end_date~", rap_units_b.name, sum(v_rap_reports.value_amountDAT*  * rap_units_a.conversion_factor_amt / rap_units_b.conversion_factor_amt) ~"amount~", IF v_rap_reports.data_code IS NULL THEN :as_null ELSE IF v_rap_reports.data_code = 'RO' THEN :as_ro ELSE v_rap_reports.data_code ENDIF ENDIF ~"min_decode~" FROM v_rap_reports, rap_units rap_units_a, rap_units rap_units_b WHERE ( v_rap_reports.value_unit_code = rap_units_a.code ) AND ( rap_units_a.meas_code = rap_units_b.meas_code ) AND ( v_rap_reports.metric_code IN ('DISCHADAT* RGE', 'DOWNSTRMDIS', 'MASS FLOW')) AND ( ( v_rap_reports.value_type is null ) OR ( v_rap_reports.value_type in ( select type from rap_value_types where name like 'SPECIATED FROM %' ) ) ) AND ( ( v_rap_reports.start_date BETWEEN :fromDate AND :toDate ) AND ( v_rap_reports.end_date BETWEEN :fromDate AND :toDate ) AND ( rap_units_b.code = :unitCode ) AND ( v_rap_reports.reference_code = :refCode ) AND ( v_rap_reports.material_code IN ( :matCode ) ) ) GRDAT*" OUP BY v_rap_reports.nation_name, v_rap_reports.state_name, v_rap_reports.county_name, v_rap_reports.source_id, v_rap_reports.source_name, v_rap_reports.sic_code, v_rap_reports.naics_code, v_rap_reports.device_id, v_rap_reports.device_code, v_rap_reports.device_name, v_rap_reports.process_id, v_rap_reports.process_code, v_rap_reports.process_name, v_rap_reports.scc_code, v_rap_reports.stream_id, v_rap_reports.reference_code, v_rap_reports.materialDAT*$ _code, v_rap_reports.metric_code, rap_units_b.name, v_rap_reports.data_code, v_rap_reports.value_type " arguments=(("al_nationArray", numberlist),("al_stateArray", numberlist),("al_countyArray", numberlist),("al_sourceArray", numberlist),("al_sourceSub1Array", numberlist),("al_sourceSub2Array", numberlist),("fromDate", datetime),("toDate", datetime),("as_null", string),("as_ro", string),("unitCode", string),("refCode", string),("matCode", stringlist)) sort="nation_name A state_nameDAT*&  A county_name A source_id A device_id A process_id A material_code A metric_code A stream_id A cmin_decode A value_type A " ) group(level=1 header.height=88 trailer.height=0 by=("nation_name" ) header.color="536870912" trailer.color="536870912" ) group(level=2 header.height=72 trailer.height=0 by=("state_name" ) header.color="536870912" trailer.color="536870912" ) group(level=3 header.height=88 trailer.height=0 by=("county_name" ) header.color="536870912" trailer.color="536870912" ) group(levDAT*( el=4 header.height=168 trailer.height=0 by=("source_id" ) header.color="553648127" trailer.color="536870912" ) group(level=5 header.height=168 trailer.height=0 by=("device_id" ) header.color="553648127" trailer.color="536870912" ) group(level=6 header.height=248 trailer.height=40 by=("process_id" ) header.color="553648127" trailer.color="536870912" ) group(level=7 header.height=72 trailer.height=0 by=("process_id" , "material_code" , "metric_code" ) header.color="553648127" trailer.color="53687DAT** 0912" sort="process_id A material_code A metric_code A " ) group(level=8 header.height=0 trailer.height=0 by=("stream_id" , "material_code" , "metric_code" ) header.color="553648127" trailer.color="536870912" sort="stream_id A material_code A metric_code A " ) group(level=9 header.height=0 trailer.height=0 by=("stream_id" , "material_code" , "metric_code" , "cmin_decode" ) header.color="553648127" trailer.color="536870912" ) text(band=header alignment="2" text="Emissions by Process" border="0DAT*, " color="0" x="18" y="84" height="80" width="3054" html.valueishtml="0" name=t_1 visible="1" font.face="MS Sans Serif" font.height="-12" font.weight="700" font.family="2" font.pitch="2" font.charset="0" font.underline="1" background.mode="1" background.color="536870912" ) text(band=header alignment="0" text="End Date:" border="0" color="0" x="622" y="292" height="64" width="347" html.valueishtml="0" name=t_2 visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.familDAT*. y="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) text(band=header alignment="0" text="Start Date:" border="0" color="0" x="622" y="212" height="64" width="347" html.valueishtml="0" name=t_3 visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) text(band=header alignment="0" text="Units:" border="0" color="0" x="1646" y="292" height="64" DAT*0 width="512" html.valueishtml="0" name=t_4 visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) text(band=header alignment="0" text="Reference Code:" border="0" color="0" x="1646" y="212" height="64" width="507" html.valueishtml="0" name=t_5 visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.modDAT*2 e="1" background.color="536870912" ) column(band=header id=21 alignment="0" tabsequence=32766 border="0" color="0" x="2158" y="292" height="64" width="640" format="[general]" html.valueishtml="0" name=rap_units_name visible="1" edit.limit=30 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) column(banDAT*4 d=header id=17 alignment="0" tabsequence=32766 border="0" color="0" x="2158" y="212" height="64" width="640" format="[general]" html.valueishtml="0" name=reference_code visible="1" edit.limit=12 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) compute(band=header alignment="1" expression="'Page ' + paDAT*6 ge() + ' of ' + pageCount()"border="0" color="0" x="2432" y="20" height="64" width="640" format="[general]" html.valueishtml="0" name=page visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) compute(band=header alignment="0" expression="today()"border="0" color="0" x="18" y="20" height="64" width="421" format="dd-mmm-yyyy" html.valueishtml="0" name=compute_1 visible="1" fonDAT*8 t.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) compute(band=header alignment="0" expression="date( left ( start_date, 11) )"border="0" color="0" x="969" y="212" height="64" width="640" format="dd-mmm-yyyy" html.valueishtml="0" name=start_date_c visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" backgrouDAT*: nd.color="16777215" ) compute(band=header alignment="0" expression="date( left ( end_date, 11) )"border="0" color="0" x="969" y="292" height="64" width="640" format="dd-mmm-yyyy" html.valueishtml="0" name=end_date_c visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) line(band=header.1 x1="0" y1="4" x2="3054" y2="4" name=l_1 visible="1" pen.style="0" pen.width="5" pen.color="0" baDAT*< ckground.mode="2" background.color="16777215" ) column(band=header.1 id=1 alignment="0" tabsequence=32766 border="0" color="0" x="347" y="20" height="64" width="1755" format="[general]" html.valueishtml="0" name=nation_name visible="1" edit.limit=50 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) teDAT*> xt(band=header.1 alignment="0" text="Nation:" border="0" color="0" x="18" y="20" height="64" width="219" html.valueishtml="0" name=v_rap_reports_nation_name_t visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) column(band=header.2 id=2 alignment="0" tabsequence=32766 border="0" color="0" x="347" y="4" height="64" width="1755" format="[general]" html.valueishtml="0" name=staDAT*@ te_name visible="1" edit.limit=50 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) text(band=header.2 alignment="0" text="State:" border="0" color="0" x="18" y="4" height="64" width="183" html.valueishtml="0" name=v_rap_reports_state_name_t visible="1" font.face="MS Sans Serif" font.height="-8" font.DAT*B weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) line(band=header.3 x1="0" y1="84" x2="3054" y2="84" name=l_2 visible="1" pen.style="0" pen.width="5" pen.color="0" background.mode="2" background.color="16777215" ) column(band=header.3 id=3 alignment="0" tabsequence=32766 border="0" color="0" x="347" y="4" height="64" width="1755" format="[general]" html.valueishtml="0" name=county_name visible="1" edit.limit=50 edit.case=any editDAT*D .focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) text(band=header.3 alignment="0" text="County:" border="0" color="0" x="18" y="4" height="64" width="229" html.valueishtml="0" name=v_rap_reports_county_name_t visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.DAT*F charset="0" background.mode="1" background.color="536870912" ) line(band=header.4 x1="0" y1="164" x2="3054" y2="164" name=l_3 visible="1" pen.style="0" pen.width="5" pen.color="0" background.mode="2" background.color="16777215" ) text(band=header.4 alignment="0" text="Name:" border="0" color="0" x="18" y="84" height="64" width="187" html.valueishtml="0" name=v_rap_reports_source_name_t visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" foDAT*H nt.charset="0" background.mode="1" background.color="536870912" ) column(band=header.4 id=5 alignment="0" tabsequence=32766 border="0" color="0" x="347" y="84" height="64" width="1755" format="[general]" html.valueishtml="0" name=source_name visible="1" edit.limit=50 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.coloDAT*J r="16777215" ) text(band=header.4 alignment="0" text="NAICS Code:" border="0" color="0" x="2199" y="84" height="64" width="366" html.valueishtml="0" name=naics_code_t visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) column(band=header.4 id=7 alignment="0" tabsequence=32766 border="0" color="0" x="2574" y="84" height="64" width="439" format="[general]" html.valueishtml="0"DAT*L  name=naics_code visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) text(band=header.4 alignment="0" text="Source ID:" border="0" color="0" x="18" y="4" height="64" width="329" html.valueishtml="0" name=v_rap_reports_source_id_t visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="70DAT*N 0" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) column(band=header.4 id=4 alignment="0" tabsequence=32766 border="0" color="0" x="347" y="4" height="64" width="750" format="[general]" html.valueishtml="0" name=source_id visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" baDAT*P ckground.mode="2" background.color="16777215" ) text(band=header.4 alignment="0" text="SIC Code:" border="0" color="0" x="2199" y="4" height="64" width="366" html.valueishtml="0" name=v_rap_reports_sic_code_t visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) column(band=header.4 id=6 alignment="0" tabsequence=32766 border="0" color="0" x="2574" y="4" height="64" width="439DAT*R " format="[general]" html.valueishtml="0" name=sic_code visible="1" edit.limit=4 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) line(band=header.5 x1="0" y1="164" x2="3054" y2="164" name=l_4 visible="1" pen.style="0" pen.width="5" pen.color="0" background.mode="2" background.color="16777215" ) teDAT*T xt(band=header.5 alignment="0" text="Name:" border="0" color="0" x="18" y="84" height="64" width="187" html.valueishtml="0" name=v_rap_reports_device_name_t visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) column(band=header.5 id=9 alignment="0" tabsequence=32766 border="0" color="0" x="1317" y="4" height="64" width="786" format="[general]" html.valueishtml="0" name=devicDAT*V e_code visible="1" edit.limit=15 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) text(band=header.5 alignment="0" text="Code:" border="0" color="0" x="1134" y="4" height="64" width="183" html.valueishtml="0" name=v_rap_reports_device_code_t visible="1" font.face="MS Sans Serif" font.height="-8" fontDAT*X .weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) column(band=header.5 id=10 alignment="0" tabsequence=32766 border="0" color="0" x="347" y="84" height="64" width="1755" format="[general]" html.valueishtml="0" name=device_name visible="1" edit.limit=50 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" fonDAT*Z t.charset="0" background.mode="2" background.color="16777215" ) column(band=header.5 id=8 alignment="0" tabsequence=32766 border="0" color="0" x="347" y="4" height="64" width="750" format="[general]" html.valueishtml="0" name=device_id visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="167DAT*\ 77215" ) text(band=header.5 alignment="0" text="Device ID:" border="0" color="0" x="18" y="4" height="64" width="329" html.valueishtml="0" name=v_rap_reports_device_id_t visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) text(band=header.6 alignment="0" text="Name:" border="0" color="0" x="18" y="84" height="64" width="187" html.valueishtml="0" name=v_rap_reports_process_nDAT*^ ame_t visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) column(band=header.6 id=12 alignment="0" tabsequence=32766 border="0" color="0" x="1317" y="4" height="64" width="786" format="[general]" html.valueishtml="0" name=process_code visible="1" edit.limit=15 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.DAT*` height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) text(band=header.6 alignment="0" text="Code:" border="0" color="0" x="1134" y="4" height="64" width="183" html.valueishtml="0" name=v_rap_reports_process_code_t visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) text(band=header.6 alignment="0" tDAT*b ext="SCC Code:" border="0" color="0" x="2158" y="4" height="64" width="320" html.valueishtml="0" name=v_rap_reports_scc_code_t visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) column(band=header.6 id=13 alignment="0" tabsequence=32766 border="0" color="0" x="347" y="84" height="64" width="1755" format="[general]" html.valueishtml="0" name=process_name visible="1" edit.limDAT*d it=50 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) column(band=header.6 id=11 alignment="0" tabsequence=32766 border="0" color="0" x="347" y="4" height="64" width="750" format="[general]" html.valueishtml="0" name=process_id visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autosDAT*f elect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) line(band=header.6 x1="0" y1="164" x2="3054" y2="164" name=l_5 visible="1" pen.style="0" pen.width="5" pen.color="0" background.mode="2" background.color="16777215" ) column(band=header.6 id=14 alignment="0" tabsequence=32766 border="0" color="0" x="2487" y="4" height="64" width="439" format="[genDAT*h eral]" html.valueishtml="0" name=scc_code visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) text(band=header.6 alignment="0" text="Process ID:" border="0" color="0" x="18" y="4" height="64" width="329" html.valueishtml="0" name=v_rap_reports_process_id_t visible="1" font.facDAT*j e="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) text(band=header.6 alignment="0" text="MATERIAL CODE" border="0" color="0" x="219" y="180" height="64" width="658" html.valueishtml="0" name=v_rap_reports_material_code_t visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) lDAT*l ine(band=header.6 x1="0" y1="244" x2="3054" y2="244" name=l_6 visible="1" pen.style="0" pen.width="5" pen.color="0" background.mode="2" background.color="16777215" ) text(band=header.6 alignment="0" text="METRIC CODE" border="0" color="0" x="1042" y="180" height="64" width="658" html.valueishtml="0" name=v_rap_reports_metric_code_t visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536DAT*n 870912" ) text(band=header.6 alignment="1" text="AMOUNT" border="0" color="0" x="1865" y="180" height="64" width="654" html.valueishtml="0" name=t_6 visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) text(band=header.6 alignment="2" text="DATA CODE" border="0" color="0" x="2688" y="180" height="64" width="366" html.valueishtml="0" name=t_7 visible="1" font.face="MS Sans SDAT*p erif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) column(band=header.7 id=16 alignment="0" tabsequence=32766 border="0" color="0" x="219" y="4" height="64" width="658" format="[general]" html.valueishtml="0" name=material_code visible="1" edit.limit=12 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.faDAT*r mily="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) column(band=header.7 id=17 alignment="0" tabsequence=32766 border="0" color="0" x="1042" y="4" height="64" width="658" format="[general]" html.valueishtml="0" name=metric_code visible="1" edit.limit=12 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" backgroundDAT*t .mode="2" background.color="16777215" ) compute(band=header.7 alignment="1" expression="sum( stream_amount for group 7 )"border="0" color="0" x="1865" y="4" height="64" width="658" format="0.0####" html.valueishtml="0" name=process_amount visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) compute(band=header.7 alignment="2" expression="min( cmin_decode for group 8 )"border="0" coloDAT*v r="0" x="2688" y="4" height="64" width="366" format="[general]" html.valueishtml="0" name=stream_decode visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) compute(band=header.8 alignment="0" expression="if( cmin_decode = min( cmin_decode for group 8 ), 1, 0 )"border="0" color="0" x="18" y="4" height="64" width="1262" format="0.0####" html.valueishtml="0" name=data_code_flag visibleDAT*x ="1" font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="15780518" ) compute(band=header.9 alignment="0" expression="if( value_type_c = max( value_type_c for group 9 ), 1, 0 )"border="0" color="0" x="1317" y="4" height="64" width="1262" format="[general]" html.valueishtml="0" name=value_type_flag visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2"DAT*z  font.charset="0" background.mode="2" background.color="15780518" ) column(band=detail id=15 alignment="0" tabsequence=32766 border="0" color="0" x="18" y="20" height="64" width="439" format="[general]" html.valueishtml="0" name=stream_id visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) column(band=detail id=24 DAT*| alignment="2" tabsequence=32766 border="0" color="0" x="457" y="20" height="64" width="238" format="[general]" html.valueishtml="0" name=cmin_decode visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) column(band=detail id=19 alignment="2" tabsequence=32766 border="0" color="0" x="695" y="20" height="64" width="238"DAT*~  format="[general]" html.valueishtml="0" name=value_type visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) compute(band=detail alignment="2" expression="if( isNull( value_type ), 0, 1)"border="0" color="0" x="933" y="20" height="64" width="238" format="[general]" html.valueishtml="0" name=value_type_c visible="1"DAT*  font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="15793151" ) compute(band=detail alignment="2" expression="data_code_flag"border="0" color="0" x="1298" y="20" height="64" width="238" format="[general]" html.valueishtml="0" name=compute_2 visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="DAT* 15780518" ) compute(band=detail alignment="2" expression="value_type_flag "border="0" color="0" x="1536" y="20" height="64" width="238" format="[general]" html.valueishtml="0" name=compute_3 visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="15780518" ) column(band=detail id=23 alignment="1" tabsequence=32766 border="0" color="0" x="1774" y="20" height="64" width="457" format="0.0####" DAT* html.valueishtml="0" name=camount visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) compute(band=detail alignment="1" expression="camount * data_code_flag * value_type_flag"border="0" color="0" x="2249" y="20" height="64" width="457" format="0.0####" html.valueishtml="0" name=stream_amount vDAT* isible="1" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="12632256" ) column(band=trailer.8 id=20 alignment="0" tabsequence=32766 border="0" color="0" x="421" y="32" height="56" width="640" format="[shortdate] [time]" html.valueishtml="0" name=start_date visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.hDAT* eight="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16776960" ) text(band=trailer.8 alignment="2" text="Reference Code:" border="0" color="0" x="1061" y="32" height="56" width="402" html.valueishtml="0" name=t_8 visible="1" font.face="Arial" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16776960" ) text(band=trailer.8 alignment="2" text="Start Date:" bordeDAT* r="0" color="0" x="18" y="32" height="56" width="402" html.valueishtml="0" name=t_9 visible="1" font.face="Arial" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16776960" ) column(band=trailer.8 id=17 alignment="0" tabsequence=32766 border="0" color="0" x="1463" y="32" height="56" width="640" format="[general]" html.valueishtml="0" name=metric_code_1 visible="1" edit.limit=12 edit.case=any edit.focusrectangle=no edit.auDAT* toselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16776960" ) column(band=trailer.7 id=21 alignment="0" tabsequence=32766 border="0" color="0" x="1463" y="44" height="56" width="640" format="[general]" html.valueishtml="0" name=end_date visible="1" edit.limit=30 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 fonDAT* t.face="Arial" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16776960" ) column(band=trailer.7 id=20 alignment="0" tabsequence=32766 border="0" color="0" x="421" y="44" height="56" width="640" format="[shortdate] [time]" html.valueishtml="0" name=start_date_1 visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-8" font.weighDAT* t="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16776960" ) text(band=trailer.7 alignment="2" text="Units:" border="0" color="0" x="1061" y="44" height="56" width="402" html.valueishtml="0" name=t_10 visible="1" font.face="Arial" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16776960" ) text(band=trailer.7 alignment="2" text="End Date:" border="0" color="0" x="18" y="44" hDAT* eight="56" width="402" html.valueishtml="0" name=t_11 visible="1" font.face="Arial" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16776960" ) line(band=trailer.6 x1="0" y1="4" x2="3054" y2="4" name=l_7 visible="1" pen.style="0" pen.width="5" pen.color="0" background.mode="2" background.color="16777215" ) text(band=footer alignment="1" text="Emissions by process and metric code for the current selection." border="0" cDAT*olor="0" x="18" y="20" height="64" width="3035" html.valueishtml="0" name=t_12 visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) htmltable(border="1" ) htmlgen(clientevents="1" clientvalidation="1" clientcomputedfields="1" clientformatting="0" clientscriptable="0" generatejavascript="1" netscapelayers="0" ) DAT*1"1"0"0"0lgQRAPIDS ReportDAT* PDW0800|pdwPl  ```` F$v{A|,ddDAT* fg  @l`"DAT*   t_1$1<  $ 0%  MS Sans SerifMS Sans Serif$2$-12$700$ 536870912$DAT* 18$T84$P80$ 3054%Emissions by DeviceEmissions by Device"!0`4#$')+-/2t_2< % $&-8$(n622$*DAT* $292$,@64$.[347%01 End Date: End Date:"30`="5$'6+-8;t_3$7212%9: Start Date: Start Date:"<0`H4>$?)+ADAT* CFt_4$@n1646$B512%DEUnits:Units:"G0`Q=I$?6+JLOt_5$K507%MNReference Code:Reference Code:"P0gHRS [])+DAT* _a(edrap_units_name<T W Y%UVArialArial$X-10$Z400$\ 16777215$^n2158$`640&bc [general] [general]"fDAT* 0lQhS []6+_a(ji reference_code"k0ngmnoq+_as~page< % Y$p 2432$r20%tu(DAT* 'Page ' + page() + ' of ' + pageCount() ^v} ^w{ ^xzy Page |  of "0nlnq+ compute_1$421& dd-mmm-yyyy dd-mmm-yyyy()today()"DAT* 0nS [6+_ start_date_c$969()date( left ( start_date, 11) ) `  &@"0nS [)+_ end_date_c()DAT* date( left ( end_date, 11) ) `  &@"0@X`n [q+t_11$ 3035%?Emissions by device and metric code for the current selection.?Emissions by device and metric code for the DAT* current selection."0@ n [q+a scc_code$439"0n [q+ a cmin_decodeDAT* $457$238"0n [q+ a value_type$695"0nn q+  value_type_c$DAT*  15793151$933& [general] [general]$# if( isNull( value_type ), 0, 1)   ?"0nn q+  compute_3$ 15780518$DAT* 1298$#data_code_flag data_code_flag"0nn q+a  compute_4$1536$#value_type_flag value_type_flag"0n [DAT* q+camount$1774&0.0####0.0####"0n$ q+stream_amount$ 12632256$2249&0.0####0.0####DAT* $#+camount * data_code_flag * value_type_flag 0 0  data_code_flag value_type_flag" 0$  553648127@,+'(@XPDAT*  [l_1$5$0$4S [-q+a(2 nation_name$1755"0`$q+ "%DAT* v_rap_reports_nation_name_t$!219%#$Nation:Nation:"&0@%)* nation_name ,? ,;<@H-22.,S [-+a(0DAT* /2 state_name"10`-3,$+469v_rap_reports_state_name_t$5183%78State:State:":0@%=> state_name ,U+@QDAT* R@XAHPCB@ [l_2HAD@S [-+a(FE2 county_name"G0`CI@$+JLOv_rap_reports_county_name_t$DAT* K229%MNCounty:County:"P0@%ST county_name ,?V@ WP[XV [YYl_3$Z164`dWDAT* \V$+]_bv_rap_reports_source_name_t$^187%`aName:Name:"c0i[eVS [-+a(gf2 source_name"h0`tdjV$kDAT* +mor naics_code_t$lN2126$n`352%pq NAICS Code: NAICS Code:"s0{iuVS [v+a yx naics_code$w 2487"z0`t|V$DAT* +}v_rap_reports_source_id_t$~I329% Source ID: Source ID:"0{VS [-+a( source_id$750"0`V$DAT* k+mv_rap_reports_sic_code_t% SIC Code: SIC Code:"0VS [v+a( sic_code"0@% source_id 4UDAT* @P [YYl_4`$+]_v_rap_reports_device_name_t"0S [+a ( device_code$DAT* %1317$786"0`$+4v_rap_reports_device_code_t$n1134%Code:Code:"0S [-+a (2DAT*  device_name"0S [-+a( device_id"0`$+}v_rap_reports_device_id_t% Device ID: Device ID:"0`DAT* $ +v_rap_reports_material_code_t$180$658%MATERIAL CODEMATERIAL CODE"0`$+t_6$2011%AMOUNTAMOUNT"DAT* 0P [l_5$244`$+v_rap_reports_metric_code_t$[1115% METRIC CODE METRIC CODE"0@(PDAT*  [l_6% device_id % device_code  % device_name  4@H S [+a( metric_codDAT* e"0S [ +a( material_code"0nS [+ compute_2$#!sum( stream_amount for group 6 )["0@DAT*   %   device_id %  material_code % metric_code % device_id %material_code % metric_code 5 stream_amount4DAT* m3Vi`cf@  .n'!S [q+"%process_amount$##$!sum( stream_amount for group 7 )["&0. (S [)q+a(,+ DAT*  stream_id$*896"-0'/S [4q+a  10 process_id"20@4RB536 79;=_a(@? DAT* end_date<T % Y$8 16776960$:1463$<,44$>856"A0J4C36 7;=_D(HG start_date_1&EF[shortdate] [time][shortdatDAT* e] [time]"I0`RBK36 7 L;=NCPt_9$M%1061$O402"Q0`JS36 7 ;=N/Tt_10"U0W Z]%XY process_id  DAT* %[\material_code %^_ metric_code %ab process_id  %dematerial_code %gh metric_code j5k lstream_amount4n}@ oonpnDAT* n +qs{data_code_flag$r1262$#tu9if( cmin_decode = min( cmin_decode for group 8 ), 1, 0 )vyz wx [ ? "|0@~}6 7DAT* =_D( start_date$ 32"0`~}6 7 L=NLt_7"0`}6 7 =N8t_8"0}6 7DAT* 9=_a( metric_code_1"0% stream_id %material_code % metric_code % stream_id %material_code % metDAT* ric_code X 8m@ nn +qavalue_type_flag$#;if( value_type_c = max( value_type_c for group 9 ), 1, 0 )   value_type_cDAT* [ ? "0@% stream_id %material_code % metric_code % cmin_decode S  value_type_cDDAT* e 3-3C3DAT*  d3!t $"# '%& *() 3-.+, ./DAT*  01 3423 7'56 :89 =;< Ag?@ DBCM~KLDAT* R4PQVQTUYWX_]^\ Heeq  % nation_name % state_name DAT* % county_name % source_id % device_id %material_code % metric_code % process_id  % stream_id % cmin_decode % value_DAT* type \ gengPI\D apts_drold .   :fromDate:toDate :as_null:as_ro :fromDate:toDate :fromDate:toDate :unitCode :refCode :matCodel al_nationArrayal_stateArrayal_countyArrayal_sourceArrayal_sourceSub1Arrayal_sourceSub2Array fromDateDAT* toDateas_nullas_ro unitCoderefCodematCodeo        l nation_namev_rap_reports.nation_name state_namev_rap_reports.state_name- county_namev_rap_reports.county_nameC source_idv_rap_reports.source_id source_naDAT* mev_rap_reports.source_named sic_codev_rap_reports.sic_code naics_codev_rap_reports.naics_codet device_idv_rap_reports.device_id device_codev_rap_reports.device_code device_namev_rap_reports.device_name process_idv_rap_reports.process_id. process_codev_rap_reports.process_code process_nameDAT* v_rap_reports.process_name scc_codev_rap_reports.scc_code stream_idv_rap_reports.stream_id'material_codev_rap_reports.material_code metric_codev_rap_reports.metric_code>=reference_codev_rap_reports.reference_codeg value_typev_rap_reports.value_typeEFD GEHFDAT* IGJHI start_datev_rap_reports.start_dateN~OMBN end_datev_rap_reports.end_dateS4Rrap_units_namerap_units.nameQcamountamountZ [Y\Z[ cmin_decode min_decode`oa_ b`cDAT* adbcSELECT v_rap_reports.nation_name, v_rap_reports.state_name, v_rap_reports.county_name, v_rap_reports.source_id, v_rap_reports.source_name, v_rap_reports.sic_code, v_rap_reports.naics_code, v_rap_reports.device_id, v_rap_reports.device_code, v_rap_reports.device_name, v_rap_reports.process_id, v_rap_reports.process_code, v_rap_reports.process_name, v_rap_reports.scc_code, v_rap_reports.stream_id, DAT* v_rap_reports.material_code, v_rap_reports.metric_code, v_rap_reports.reference_code, v_rap_reports.value_type,  "start_date",  "end_date", rap_units_b.name, sum(v_rap_reports.value_amount * rap_units_a.conversion_factor_amt / rap_units_b.conversion_factor_amt) "amount", IF v_rap_reports.data_code IS NULL THEN  ELSE IF v_rap_reports.data_code = 'RO' THEN  ELSE v_rap_reports.data_code ENDIF ENDIF "min_decode" FROM v_rap_reports, rap_units rap_units_a,DAT*  rap_units rap_units_b WHERE ( v_rap_reports.value_unit_code = rap_units_a.code ) AND ( rap_units_a.meas_code = rap_units_b.meas_code ) AND ( v_rap_reports.metric_code IN ('DISCHARGE', 'DOWNSTRMDIS', 'MASS FLOW')) AND ( ( v_rap_reports.value_type is null ) OR ( v_rap_reports.value_type in ( select type from rap_value_types where name like 'SPECIATED FROM %' ) ) ) AND ( ( v_rap_reports.start_date BETWEEN  AND  ) AND ( v_rap_reports.end_date BETWEDAT* EN  AND  ) AND ( rap_units_b.code =  ) AND ( v_rap_reports.reference_code =  ) AND ( v_rap_reports.material_code IN (  ) ) ) GROUP BY v_rap_reports.nation_name, v_rap_reports.state_name, v_rap_reports.county_name, v_rap_reports.source_id, v_rap_reports.source_name, v_rap_reports.sic_code, v_rap_reports.naics_code, v_rap_reports.device_id, v_rap_reports.device_code, v_rap_reports.device_name, v_rap_reports.process_id, v_rap_reports.process_codDAT* e, v_rap_reports.process_name, v_rap_reports.scc_code, v_rap_reports.stream_id, v_rap_reports.reference_code, v_rap_reports.material_code, v_rap_reports.metric_code, rap_units_b.name, v_rap_reports.data_code, v_rap_reports.value_type \hjlnprt"i1"k1"m1"oDAT*1"q0"s0"u0wxvywlzxgyQRAPIDS ReportDAT*, PDW0800tpdwPl  ```` F$ns:t,ddDAT*  NULL THEN :as_null ELSE IF v_rap_reports.data_code = 'RO' THEN :as_ro ELSE v_rap_reports.data_code ENDIF ENDIF ~"min_decode~" FROM v_rap_reports, rap_units rap_units_a, rap_units rap_units_b WHERE ( v_rap_reports.value_unit_code = rap_units_a.code ) AND ( rap_units_a.meas_code = rap_units_b.meas_code ) AND ( v_rap_reports.metric_code IN ('DISCHARGE', 'DOWNSTRMDIS', 'MASS FLOW')) AND ( ( v_rap_reports.value_type is null ) OR ( v_rap_reports.value_type in ( seDAT* lect type from rap_value_types where name like 'SPECIATED FROM %' ) ) ) AND ( ( v_rap_reports.start_date BETWEEN :fromDate AND :toDate ) AND ( v_rap_reports.end_date BETWEEN :fromDate AND :toDate ) AND ( rap_units_b.code = :unitCode ) AND ( v_rap_reports.reference_code = :refCode ) AND ( v_rap_reports.material_code IN ( :matCode ) ) ) GROUP BY v_rap_reports.nation_name, v_rap_reports.state_name, v_rap_reports.county_name, v_rap_reports.source_id, DAT*  v_rap_reports.source_name, v_rap_reports.sic_code, v_rap_reports.device_id, v_rap_reports.device_code, v_rap_reports.device_name, v_rap_reports.process_id, v_rap_reports.process_code, v_rap_reports.process_name, v_rap_reports.scc_code, v_rap_reports.stream_id, v_rap_reports.reference_code, v_rap_reports.material_code, v_rap_reports.metric_code, rap_units_b.name, v_rap_reports.data_code, v_rap_reports.value_type " arguments=(("al_nationArray", numbDAT* erlist),("al_stateArray", numberlist),("al_countyArray", numberlist),("al_sourceArray", numberlist),("al_sourceSub1Array", numberlist),("al_sourceSub2Array", numberlist),("fromDate", datetime),("toDate", datetime),("as_null", string),("as_ro", string),("unitCode", string),("refCode", string),("matCode", stringlist)) sort="nation_name A state_name A county_name A material_code A metric_code A source_id A device_id A process_id A stream_id A cmin_decode A value_type A " ) group(level=1 header.heigDAT* ht=88 trailer.height=0 by=("nation_name" ) header.color="536870912" trailer.color="536870912" ) group(level=2 header.height=72 trailer.height=0 by=("state_name" ) header.color="536870912" trailer.color="536870912" ) group(level=3 header.height=168 trailer.height=40 by=("county_name" ) header.color="536870912" trailer.color="536870912" ) group(level=4 header.height=72 trailer.height=0 by=("county_name" , "material_code" , "metric_code" ) header.color="553648127" trailer.color="536870912" sort="DAT* county_name A material_code A metric_code A " ) group(level=5 header.height=0 trailer.height=0 by=("source_id" , "material_code" , "metric_code" ) header.color="553648127" trailer.color="536870912" sort="source_id A material_code A metric_code A " ) group(level=6 header.height=0 trailer.height=0 by=("device_id" , "material_code" , "metric_code" ) header.color="553648127" trailer.color="536870912" sort="device_id A material_code A metric_code A " ) group(level=7 header.height=0 trailer.height=DAT* 0 by=("process_id" , "material_code" , "metric_code" ) header.color="553648127" trailer.color="536870912" sort="process_id A material_code A metric_code A " ) group(level=8 header.height=0 trailer.height=0 by=("stream_id" , "material_code" , "metric_code" ) header.color="553648127" trailer.color="536870912" sort="stream_id A material_code A metric_code A " ) group(level=9 header.height=0 trailer.height=0 by=("stream_id" , "material_code" , "metric_code" , "cmin_decode" ) header.color="55364812DAT* 7" trailer.color="536870912" ) text(band=header alignment="2" text="Emissions by County" border="0" color="0" x="18" y="84" height="80" width="3054" html.valueishtml="0" name=t_1 visible="1" font.face="MS Sans Serif" font.height="-12" font.weight="700" font.family="2" font.pitch="2" font.charset="0" font.underline="1" background.mode="1" background.color="536870912" ) text(band=header alignment="0" text="End Date:" border="0" color="0" x="622" y="292" height="64" width="347" html.valueishtml=DAT*b "0" name=t_2 visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) text(band=header alignment="0" text="Start Date:" border="0" color="0" x="622" y="212" height="64" width="347" html.valueishtml="0" name=t_3 visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912"DAT*$ .focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16776960" ) text(band=trailer.7 alignment="2" text="Units:" border="0" color="0" x="1061" y="44" height="56" width="402" html.valueishtml="0" name=t_9 visible="1" font.face="Arial" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2DAT*& " background.color="16776960" ) text(band=trailer.7 alignment="2" text="End Date:" border="0" color="0" x="18" y="44" height="56" width="402" html.valueishtml="0" name=t_10 visible="1" font.face="Arial" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16776960" ) line(band=trailer.3 x1="0" y1="4" x2="3054" y2="4" name=l_4 visible="1" pen.style="0" pen.width="5" pen.color="0" background.mode="2" background.color="1677721DAT*( 5" ) text(band=footer alignment="1" text="Emissions by county and metric code for the current selection." border="0" color="0" x="18" y="20" height="64" width="3035" html.valueishtml="0" name=t_11 visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) compute(band=header.4 alignment="1" expression="sum( stream_amount for group 4 )"border="0" color="0" x="2011" y="4" height="64" DAT** width="800" format="0.0####" html.valueishtml="0" name=compute_2 visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) text(band=header.3 alignment="1" text="AMOUNT" border="0" color="0" x="2011" y="100" height="64" width="800" html.valueishtml="0" name=t_6 visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" backgrDAT*ound.mode="1" background.color="536870912" ) htmltable(border="1" ) htmlgen(clientevents="1" clientvalidation="1" clientcomputedfields="1" clientformatting="0" clientscriptable="0" generatejavascript="1" netscapelayers="0" ) DAT*. ^_  @x`"DAT*0   t_1$1<  $ 0%  MS Sans SerifMS Sans Serif$2$-12$700$ 536870912$DAT*2 18$T84$P80$ 3054%Emissions by CountyEmissions by County"!0`4#$')+-/2t_2< % $&-8$(n622$*DAT*4 $292$,@64$.[347%01 End Date: End Date:"30`="5$'6+-8;t_3$7212%9: Start Date: Start Date:"<0`H4>$?)+ADAT* CFt_4$@n1646$B512%DEUnits:Units:"G0`Q=I$?6+JLOt_5$K507%MNReference Code:Reference Code:"P0gHRS [])+DAT*8 release 8; datawindow(units=0 timer_interval=0 color=16777215 processing=0 HTMLDW=no print.documentname="RAPIDS Report" print.orientation = 0 print.margin.left = 300 print.margin.right = 100 print.margin.top = 100 print.margin.bottom = 150 print.paper.source = 0 print.paper.size = 0 print.prompt=no print.buttons=no print.preview.buttons=no ) header(height=364 color="536870912" ) summary(height=0 color="536870912" ) footer(height=88 color="536870912" ) detail(height=4 color="553648127" ) tablDAT*: e(column=(type=char(50) updatewhereclause=yes name=nation_name dbname="v_rap_reports.nation_name" ) column=(type=char(50) updatewhereclause=yes name=state_name dbname="v_rap_reports.state_name" ) column=(type=char(50) updatewhereclause=yes name=county_name dbname="v_rap_reports.county_name" ) column=(type=char(10) updatewhereclause=yes name=source_id dbname="v_rap_reports.source_id" ) column=(type=char(50) updatewhereclause=yes name=source_name dbname="v_rap_reports.source_name" ) columnDAT*< =(type=char(4) updatewhereclause=yes name=sic_code dbname="v_rap_reports.sic_code" ) column=(type=char(4) updatewhereclause=yes name=naics_code dbname="v_rap_reports.naics_code" ) column=(type=char(10) updatewhereclause=yes name=device_id dbname="v_rap_reports.device_id" ) column=(type=char(15) updatewhereclause=yes name=device_code dbname="v_rap_reports.device_code" ) column=(type=char(50) updatewhereclause=yes name=device_name dbname="v_rap_reports.device_name" ) column=(type=char(10) DAT*> updatewhereclause=yes name=process_id dbname="v_rap_reports.process_id" ) column=(type=char(15) updatewhereclause=yes name=process_code dbname="v_rap_reports.process_code" ) column=(type=char(50) updatewhereclause=yes name=process_name dbname="v_rap_reports.process_name" ) column=(type=char(10) updatewhereclause=yes name=scc_code dbname="v_rap_reports.scc_code" ) column=(type=char(10) updatewhereclause=yes name=stream_id dbname="v_rap_reports.stream_id" ) column=(type=char(12) updatewherDAT*@ eclause=yes name=material_code dbname="v_rap_reports.material_code" ) column=(type=char(12) updatewhereclause=yes name=metric_code dbname="v_rap_reports.metric_code" ) column=(type=char(12) updatewhereclause=yes name=reference_code dbname="v_rap_reports.reference_code" ) column=(type=char(3) updatewhereclause=yes name=value_type dbname="v_rap_reports.value_type" ) column=(type=char(26) updatewhereclause=yes name=start_date dbname="v_rap_reports.start_date" ) column=(type=char(26) updatewDAT*B hereclause=yes name=end_date dbname="v_rap_reports.end_date" ) column=(type=char(30) updatewhereclause=yes name=rap_units_name dbname="rap_units.name" ) column=(type=number updatewhereclause=yes name=camount dbname="amount" ) column=(type=char(4) updatewhereclause=yes name=cmin_decode dbname="min_decode" ) retrieve="SELECT v_rap_reports.nation_name, v_rap_reports.state_name, v_rap_reports.county_name, v_rap_reports.source_id, v_rap_reports.source_name, v_rap_reports.sDAT*D ic_code, v_rap_reports.naics_code, v_rap_reports.device_id, v_rap_reports.device_code, v_rap_reports.device_name, v_rap_reports.process_id, v_rap_reports.process_code, v_rap_reports.process_name, v_rap_reports.scc_code, v_rap_reports.stream_id, v_rap_reports.material_code, v_rap_reports.metric_code, v_rap_reports.reference_code, v_rap_reports.value_type, :fromDate ~"start_date~", :toDate ~"end_date~", rap_units_b.name, sum(v_rap_reports.value_amount DAT*F * rap_units_a.conversion_factor_amt / rap_units_b.conversion_factor_amt) ~"amount~", IF v_rap_reports.data_code IS NULL THEN :as_null ELSE IF v_rap_reports.data_code = 'RO' THEN :as_ro ELSE v_rap_reports.data_code ENDIF ENDIF ~"min_decode~" FROM v_rap_reports, rap_units rap_units_a, rap_units rap_units_b WHERE ( v_rap_reports.value_unit_code = rap_units_a.code ) AND ( rap_units_a.meas_code = rap_units_b.meas_code ) AND ( v_rap_reports.metric_code IN ('DISCHARGE',DAT*H  'DOWNSTRMDIS', 'MASS FLOW')) AND ( ( v_rap_reports.value_type is null ) OR ( v_rap_reports.value_type in ( select type from rap_value_types where name like 'SPECIATED FROM %' ) ) ) AND ( ( v_rap_reports.start_date BETWEEN :fromDate AND :toDate ) AND ( v_rap_reports.end_date BETWEEN :fromDate AND :toDate ) AND ( rap_units_b.code = :unitCode ) AND ( v_rap_reports.reference_code = :refCode ) AND ( v_rap_reports.material_code IN ( :matCode ) ) ) GROUP BDAT*J Y v_rap_reports.nation_name, v_rap_reports.state_name, v_rap_reports.county_name, v_rap_reports.source_id, v_rap_reports.source_name, v_rap_reports.sic_code, v_rap_reports.naics_code, v_rap_reports.device_id, v_rap_reports.device_code, v_rap_reports.device_name, v_rap_reports.process_id, v_rap_reports.process_code, v_rap_reports.process_name, v_rap_reports.scc_code, v_rap_reports.stream_id, v_rap_reports.reference_code, v_rap_reports.material_codeDAT*L , v_rap_reports.metric_code, rap_units_b.name, v_rap_reports.data_code, v_rap_reports.value_type " arguments=(("al_nationArray", numberlist),("al_stateArray", numberlist),("al_countyArray", numberlist),("al_sourceArray", numberlist),("al_sourceSub1Array", numberlist),("al_sourceSub2Array", numberlist),("fromDate", datetime),("toDate", datetime),("as_null", string),("as_ro", string),("unitCode", string),("refCode", string),("matCode", stringlist)) sort="nation_name A state_name A coDAT*N unty_name A source_id A device_id A material_code A metric_code A process_id A stream_id A cmin_decode A value_type A " ) group(level=1 header.height=88 trailer.height=0 by=("nation_name" ) header.color="536870912" trailer.color="536870912" ) group(level=2 header.height=72 trailer.height=0 by=("state_name" ) header.color="536870912" trailer.color="536870912" ) group(level=3 header.height=88 trailer.height=0 by=("county_name" ) header.color="536870912" trailer.color="536870912" ) group(level=4 DAT*P header.height=168 trailer.height=0 by=("source_id" ) header.color="553648127" trailer.color="536870912" ) group(level=5 header.height=248 trailer.height=40 by=("device_id" , "device_code" , "device_name" ) header.color="536870912" trailer.color="536870912" ) group(level=6 header.height=72 trailer.height=0 by=("device_id" , "material_code" , "metric_code" ) header.color="553648127" trailer.color="536870912" sort="device_id A material_code A metric_code A " ) group(level=7 header.height=0 traileDAT*R r.height=0 by=("process_id" , "material_code" , "metric_code" ) header.color="553648127" trailer.color="536870912" sort="process_id A material_code A metric_code A " ) group(level=8 header.height=0 trailer.height=0 by=("stream_id" , "material_code" , "metric_code" ) header.color="553648127" trailer.color="536870912" sort="stream_id A material_code A metric_code A " ) group(level=9 header.height=0 trailer.height=0 by=("stream_id" , "material_code" , "metric_code" , "cmin_decode" ) header.color=DAT*T "553648127" trailer.color="536870912" ) text(band=header alignment="2" text="Emissions by Device" border="0" color="0" x="18" y="84" height="80" width="3054" html.valueishtml="0" name=t_1 visible="1" font.face="MS Sans Serif" font.height="-12" font.weight="700" font.family="2" font.pitch="2" font.charset="0" font.underline="1" background.mode="1" background.color="536870912" ) text(band=header alignment="0" text="End Date:" border="0" color="0" x="622" y="292" height="64" width="347" html.valDAT*V ueishtml="0" name=t_2 visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) text(band=header alignment="0" text="Start Date:" border="0" color="0" x="622" y="212" height="64" width="347" html.valueishtml="0" name=t_3 visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="5DAT*X 36870912" ) text(band=header alignment="0" text="Units:" border="0" color="0" x="1646" y="292" height="64" width="512" html.valueishtml="0" name=t_4 visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) text(band=header alignment="0" text="Reference Code:" border="0" color="0" x="1646" y="212" height="64" width="507" html.valueishtml="0" name=t_5 visible="1" font.face="MS SaDAT*Z ns Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) column(band=header id=22 alignment="0" tabsequence=32766 border="0" color="0" x="2158" y="292" height="64" width="640" format="[general]" html.valueishtml="0" name=rap_units_name visible="1" edit.limit=30 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" fDAT*\ ont.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) column(band=header id=18 alignment="0" tabsequence=32766 border="0" color="0" x="2158" y="212" height="64" width="640" format="[general]" html.valueishtml="0" name=reference_code visible="1" edit.limit=12 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" bDAT*^ ackground.mode="2" background.color="16777215" ) compute(band=header alignment="1" expression="'Page ' + page() + ' of ' + pageCount()"border="0" color="0" x="2432" y="20" height="64" width="640" format="[general]" html.valueishtml="0" name=page visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) compute(band=header alignment="0" expression="today()"border="0" color="0" x="1DAT*` 8" y="20" height="64" width="421" format="dd-mmm-yyyy" html.valueishtml="0" name=compute_1 visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) compute(band=header alignment="0" expression="date( left ( start_date, 11) )"border="0" color="0" x="969" y="212" height="64" width="640" format="dd-mmm-yyyy" html.valueishtml="0" name=start_date_c visible="1" font.face="Arial" font.DAT*b height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) compute(band=header alignment="0" expression="date( left ( end_date, 11) )"border="0" color="0" x="969" y="292" height="64" width="640" format="dd-mmm-yyyy" html.valueishtml="0" name=end_date_c visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) line(bandDAT*d =header.1 x1="0" y1="4" x2="3054" y2="4" name=l_1 visible="1" pen.style="0" pen.width="5" pen.color="0" background.mode="2" background.color="16777215" ) column(band=header.1 id=1 alignment="0" tabsequence=32766 border="0" color="0" x="347" y="20" height="64" width="1755" format="[general]" html.valueishtml="0" name=nation_name visible="1" edit.limit=50 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight=DAT*f "400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) text(band=header.1 alignment="0" text="Nation:" border="0" color="0" x="18" y="20" height="64" width="219" html.valueishtml="0" name=v_rap_reports_nation_name_t visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) column(band=header.2 id=2 alignment="0" tabsequence=32766 bDAT*h order="0" color="0" x="347" y="4" height="64" width="1755" format="[general]" html.valueishtml="0" name=state_name visible="1" edit.limit=50 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) text(band=header.2 alignment="0" text="State:" border="0" color="0" x="18" y="4" height="64" width="183" html.vaDAT*j lueishtml="0" name=v_rap_reports_state_name_t visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) line(band=header.3 x1="0" y1="84" x2="3054" y2="84" name=l_2 visible="1" pen.style="0" pen.width="5" pen.color="0" background.mode="2" background.color="16777215" ) column(band=header.3 id=3 alignment="0" tabsequence=32766 border="0" color="0" x="347" y="4" height="64" width="DAT*l 1755" format="[general]" html.valueishtml="0" name=county_name visible="1" edit.limit=50 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) text(band=header.3 alignment="0" text="County:" border="0" color="0" x="18" y="4" height="64" width="229" html.valueishtml="0" name=v_rap_reports_county_name_t visDAT*n ible="1" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) line(band=header.4 x1="0" y1="164" x2="3054" y2="164" name=l_3 visible="1" pen.style="0" pen.width="5" pen.color="0" background.mode="2" background.color="16777215" ) text(band=header.4 alignment="0" text="Name:" border="0" color="0" x="18" y="84" height="64" width="187" html.valueishtml="0" name=v_rap_reports_source_name_t DAT*p visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) column(band=header.4 id=5 alignment="0" tabsequence=32766 border="0" color="0" x="347" y="84" height="64" width="1755" format="[general]" html.valueishtml="0" name=source_name visible="1" edit.limit=50 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height=DAT*r "-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) text(band=header.4 alignment="0" text="NAICS Code:" border="0" color="0" x="2126" y="84" height="64" width="352" html.valueishtml="0" name=naics_code_t visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) column(band=header.4 id=7 alignment="0" tabsequencDAT*t e=32766 border="0" color="0" x="2487" y="84" height="64" width="439" format="[general]" html.valueishtml="0" name=naics_code visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) text(band=header.4 alignment="0" text="Source ID:" border="0" color="0" x="18" y="4" height="64" width="329" html.valueishtml="0" name=v_rap_reporDAT*v ts_source_id_t visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) column(band=header.4 id=4 alignment="0" tabsequence=32766 border="0" color="0" x="347" y="4" height="64" width="750" format="[general]" html.valueishtml="0" name=source_id visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" fDAT*x ont.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) text(band=header.4 alignment="0" text="SIC Code:" border="0" color="0" x="2126" y="4" height="64" width="352" html.valueishtml="0" name=v_rap_reports_sic_code_t visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) column(band=header.4 id=6 aligDAT*z nment="0" tabsequence=32766 border="0" color="0" x="2487" y="4" height="64" width="439" format="[general]" html.valueishtml="0" name=sic_code visible="1" edit.limit=4 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) line(band=header.5 x1="0" y1="164" x2="3054" y2="164" name=l_4 visible="1" pen.style=DAT*| "0" pen.width="5" pen.color="0" background.mode="2" background.color="16777215" ) text(band=header.5 alignment="0" text="Name:" border="0" color="0" x="18" y="84" height="64" width="187" html.valueishtml="0" name=v_rap_reports_device_name_t visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) column(band=header.5 id=9 alignment="0" tabsequence=32766 border="0" color="0" x="1DAT*~ 317" y="4" height="64" width="786" format="[general]" html.valueishtml="0" name=device_code visible="1" edit.limit=15 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) text(band=header.5 alignment="0" text="Code:" border="0" color="0" x="1134" y="4" height="64" width="183" html.valueishtml="0" name=v_DAT* rap_reports_device_code_t visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) column(band=header.5 id=10 alignment="0" tabsequence=32766 border="0" color="0" x="347" y="84" height="64" width="1755" format="[general]" html.valueishtml="0" name=device_name visible="1" edit.limit=50 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 fonDAT* t.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) column(band=header.5 id=8 alignment="0" tabsequence=32766 border="0" color="0" x="347" y="4" height="64" width="750" format="[general]" html.valueishtml="0" name=device_id visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" fonDAT* t.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) text(band=header.5 alignment="0" text="Device ID:" border="0" color="0" x="18" y="4" height="64" width="329" html.valueishtml="0" name=v_rap_reports_device_id_t visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) text(band=header.5 alignment="0" text="MATERIAL CODE" border="0" coloDAT* r="0" x="219" y="180" height="64" width="658" html.valueishtml="0" name=v_rap_reports_material_code_t visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) text(band=header.5 alignment="1" text="AMOUNT" border="0" color="0" x="2011" y="180" height="64" width="658" html.valueishtml="0" name=t_6 visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.famiDAT* ly="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) line(band=header.5 x1="0" y1="244" x2="3054" y2="244" name=l_5 visible="1" pen.style="0" pen.width="5" pen.color="0" background.mode="2" background.color="16777215" ) text(band=header.5 alignment="0" text="METRIC CODE" border="0" color="0" x="1115" y="180" height="64" width="658" html.valueishtml="0" name=v_rap_reports_metric_code_t visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="700DAT* " font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) column(band=header.6 id=17 alignment="0" tabsequence=32766 border="0" color="0" x="1115" y="4" height="64" width="658" format="[general]" html.valueishtml="0" name=metric_code visible="1" edit.limit=12 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0"DAT*  background.mode="2" background.color="16777215" ) column(band=header.6 id=16 alignment="0" tabsequence=32766 border="0" color="0" x="219" y="4" height="64" width="658" format="[general]" html.valueishtml="0" name=material_code visible="1" edit.limit=12 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )DAT*  compute(band=header.6 alignment="1" expression="sum( stream_amount for group 6 )"border="0" color="0" x="2011" y="4" height="64" width="658" format="0.0####" html.valueishtml="0" name=compute_2 visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) compute(band=header.7 alignment="1" expression="sum( stream_amount for group 7 )"border="0" color="0" x="2249" y="20" height="64" width="6DAT* 58" format="0.0####" html.valueishtml="0" name=process_amount visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) column(band=header.7 id=15 alignment="0" tabsequence=32766 border="0" color="0" x="896" y="20" height="64" width="658" format="[general]" html.valueishtml="0" name=stream_id visible="1" edit.limit=12 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroDAT* ll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) column(band=header.7 id=11 alignment="0" tabsequence=32766 border="0" color="0" x="183" y="20" height="64" width="658" format="[general]" html.valueishtml="0" name=process_id visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" fonDAT* t.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) compute(band=header.8 alignment="0" expression="if( cmin_decode = min( cmin_decode for group 8 ), 1, 0 )"border="0" color="0" x="18" y="4" height="64" width="1262" format="0.0####" html.valueishtml="0" name=data_code_flag visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="15780518" ) compute(band=header.9 aliDAT* gnment="0" expression="if( value_type_c = max( value_type_c for group 9 ), 1, 0 )"border="0" color="0" x="1317" y="4" height="64" width="1262" format="[general]" html.valueishtml="0" name=value_type_flag visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="15780518" ) column(band=detail id=14 alignment="0" tabsequence=32766 border="0" color="0" x="18" y="20" height="64" width="439" format=DAT* "[general]" html.valueishtml="0" name=scc_code visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) column(band=detail id=24 alignment="2" tabsequence=32766 border="0" color="0" x="457" y="20" height="64" width="238" format="[general]" html.valueishtml="0" name=cmin_decode visible="1" edit.limit=0 edit.case=any editDAT* .autoselect=yes edit.imemode=0 font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) column(band=detail id=19 alignment="2" tabsequence=32766 border="0" color="0" x="695" y="20" height="64" width="238" format="[general]" html.valueishtml="0" name=value_type visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="MS Sans Serif" font.height="-8" font.weight="400"DAT*  font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) compute(band=detail alignment="2" expression="if( isNull( value_type ), 0, 1)"border="0" color="0" x="933" y="20" height="64" width="238" format="[general]" html.valueishtml="0" name=value_type_c visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="15793151" ) compute(band=detail alignment=DAT* "2" expression="data_code_flag"border="0" color="0" x="1298" y="20" height="64" width="238" format="[general]" html.valueishtml="0" name=compute_3 visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="15780518" ) compute(band=detail alignment="2" expression="value_type_flag "border="0" color="0" x="1536" y="20" height="64" width="238" format="[general]" html.valueishtml="0" name=compute_4 DAT* visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="15780518" ) column(band=detail id=23 alignment="1" tabsequence=32766 border="0" color="0" x="1774" y="20" height="64" width="457" format="0.0####" html.valueishtml="0" name=camount visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="MS Sans Serif" font.height="-8" font.weight="400" DAT*  font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) compute(band=detail alignment="1" expression="camount * data_code_flag * value_type_flag"border="0" color="0" x="2249" y="20" height="64" width="457" format="0.0####" html.valueishtml="0" name=stream_amount visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="12632256" ) column(band=trailer.DAT* 8 id=20 alignment="0" tabsequence=32766 border="0" color="0" x="421" y="32" height="56" width="640" format="[shortdate] [time]" html.valueishtml="0" name=start_date visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16776960" ) text(band=trailer.8 alignment="2" text="Reference Code:" border=DAT* "0" color="0" x="1061" y="32" height="56" width="402" html.valueishtml="0" name=t_7 visible="1" font.face="Arial" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16776960" ) text(band=trailer.8 alignment="2" text="Start Date:" border="0" color="0" x="18" y="32" height="56" width="402" html.valueishtml="0" name=t_8 visible="1" font.face="Arial" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charsDAT* et="0" background.mode="2" background.color="16776960" ) column(band=trailer.8 id=17 alignment="0" tabsequence=32766 border="0" color="0" x="1463" y="32" height="56" width="640" format="[general]" html.valueishtml="0" name=metric_code_1 visible="1" edit.limit=12 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="167DAT* 76960" ) column(band=trailer.7 id=21 alignment="0" tabsequence=32766 border="0" color="0" x="1463" y="44" height="56" width="640" format="[general]" html.valueishtml="0" name=end_date visible="1" edit.limit=30 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16776960" ) column(band=trailer.7 id=20 alignment="0" tDAT* absequence=32766 border="0" color="0" x="421" y="44" height="56" width="640" format="[shortdate] [time]" html.valueishtml="0" name=start_date_1 visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16776960" ) text(band=trailer.7 alignment="2" text="Units:" border="0" color="0" x="1061" y="44" DAT* height="56" width="402" html.valueishtml="0" name=t_9 visible="1" font.face="Arial" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16776960" ) text(band=trailer.7 alignment="2" text="End Date:" border="0" color="0" x="18" y="44" height="56" width="402" html.valueishtml="0" name=t_10 visible="1" font.face="Arial" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" backDAT* ground.color="16776960" ) line(band=trailer.5 x1="0" y1="4" x2="3054" y2="4" name=l_6 visible="1" pen.style="0" pen.width="5" pen.color="0" background.mode="2" background.color="16777215" ) text(band=footer alignment="1" text="Emissions by device and metric code for the current selection." border="0" color="0" x="18" y="20" height="64" width="3035" html.valueishtml="0" name=t_11 visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charDAT*set="0" background.mode="2" background.color="16777215" ) htmltable(border="1" ) htmlgen(clientevents="1" clientvalidation="1" clientcomputedfields="1" clientformatting="0" clientscriptable="0" generatejavascript="1" netscapelayers="0" ) DAT* _a(edrap_units_name<T W Y%UVArialArial$X-10$Z400$\ 16777215$^n2158$`640&bc [general] [general]"fDAT* 0lQhS []6+_a(ji reference_code"k0ngmnoq+_as~page< % Y$p 2432$r20%tu(DAT* 'Page ' + page() + ' of ' + pageCount() ^v} ^w{ ^xzy Page |  of "0nlnq+ compute_1$421& dd-mmm-yyyy dd-mmm-yyyy()today()"DAT* 0nS [6+_ start_date_c$969()date( left ( start_date, 11) ) `  &@"0nS [)+_ end_date_c()DAT* date( left ( end_date, 11) ) `  &@"0@X`n [q+t_11$ 3035%?Emissions by county and metric code for the current selection.?Emissions by county and metric code for the DAT* current selection."0@ n [q+a stream_id$439"0n [q+ a cmin_decodeDAT* $457$238"0n [q+ a value_type$695"0nn q+  value_type_c$DAT*  15793151$933& [general] [general]$# if( isNull( value_type ), 0, 1)   ?"0nn q+  compute_5$ 15780518$DAT* 1298$#data_code_flag data_code_flag"0nn q+a  compute_6$1536$#value_type_flag value_type_flag"0n [DAT* q+camount$1774&0.0####0.0####"0n$ q+stream_amount$ 12632256$2249&0.0####0.0####DAT* $#+camount * data_code_flag * value_type_flag 0 0  data_code_flag value_type_flag" 0$  553648127@,+'(@XPDAT*  [l_1$5$0$4S [-q+a(2 nation_name$1755"0`$q+ "%DAT* v_rap_reports_nation_name_t$!219%#$Nation:Nation:"&0@%)* nation_name ,? ,;<@H-22.,S [-+a(DAT* 0/2 state_name"10`-3,$+469v_rap_reports_state_name_t$5183%78State:State:":0@%=> state_name ,x+@rDAT* u@AiPCB@ [l_2HAD@S [-+a(FE2 county_name"G0`QCI@$+JLOv_rap_reports_county_name_t$DAT* K229%MNCounty:County:"P0PUHR@ [SSl_3$T164`bQV@$WY+[]`v_rap_reports_metric_code_t$X[1115$Zd100$\658DAT* %^_ METRIC CODE METRIC CODE"a0`iUc@$ Y+[dgv_rap_reports_material_code_t%efMATERIAL CODEMATERIAL CODE"h0`bj@$kY+[mpt_6$l2011%noAMODAT* UNTAMOUNT"q0@(ssPtr [l_4%vw county_name 4?y@H z{yS [ +[a(}DAT* | material_code"~0zyS [W+[a( metric_code"0nyS [k+[ compute_2$#!sum( stream_amount for group 4 )["DAT* 0@ W% county_name %material_code % metric_code % county_name %material_code % metric_code 5DAT*  stream_amount4x@ S [q+[a( source_id$n110"0S [q+[a(DAT*  material_code_1$896"0nS [q+[process_amount$#!sum( stream_amount for group 5 )["0S [q+[a(DAT*  metric_code_1$%1573"0@  W% source_id %material_code % metric_code % source_id %material_code DAT* % metric_code 5 stream_amount4 @ S [q+[a( device_id$146"0DAT* S [q+[a( material_code_2"0S [q+[a( metric_code_2"0nS [q+[ compute_3DAT* $#!sum( stream_amount for group 6 )["0@  W% device_id %material_code % metric_code % device_id %material_code DAT* % metric_code 5  stream_amount4] #FYPSV@   S [4q+[a ( process_id"0  S [DAT* q+[a( material_code_3"0 S [q+[a( metric_code_3"0n S [q+[! compute_4$# DAT* !sum( stream_amount for group 7 )[""0@$B2%#& ')+-_a(0/rap_units_name_1<T % Y$( 16776960$*1463$,,44DAT* $.856"10:$3#& '+-_4(87 end_date&56[shortdate] [time][shortdate] [time]"90`B2;#& ' <+->C@t_9$=%1061$DAT* ?402"A0`:C#& ' +->/Dt_10"E0 G JM%HI process_id  %KLmaterial_code %NO metric_code %QR process_id  %TUmaDAT* terial_code %WX metric_code Z5[ \stream_amount4 ^m@ __n`^n +ackdata_code_flag$b1262$#de9if( cmin_dDAT* ecode = min( cmin_decode for group 8 ), 1, 0 )fij gh [ ? "l0@n}uom& 'p-_4(sr start_date$q 32"t0`ynvmDAT* & ' <p->Lwt_7"x0`}uzm& ' p->8{t_8"|0y~m& ')p-_a( reference_code_1"0W%DAT*  stream_id %material_code % metric_code % stream_id %material_code % metric_code X 8]@ nDAT* n +aavalue_type_flag$%1317$#;if( value_type_c = max( value_type_c for group 9 ), 1, 0 )   value_type_c[ ? "0@%DAT*  stream_id %material_code % metric_code % cmin_decode S  value_type_c]DAT* 3-3 C3     3DAT*   3    3  #!" &DAT* z$% ,*+ 2g01 645An?@E2CDIQGHMKLDAT* UST\ ѷee< % nation_name % state_name % county_name %material_code % metric_code % source_id DAT* % device_id % process_id  % stream_id % cmin_decode % value_type \ gengPI\D apts_crold .   :fromDate:toDate :as_null:as_ro :fromDate:toDate :fromDate:toDate :unitDAT* Code :refCode :matCodel al_nationArrayal_stateArrayal_countyArrayal_sourceArrayal_sourceSub1Arrayal_sourceSub2Array fromDatetoDateas_nullas_ro unitCoderefCodematCode_DAT* l nation_namev_rap_reports.nation_name state_namev_rap_reports.state_name- county_namev_rap_reports.county_nameC source_idv_rap_reports.source_id source_namev_rap_reports.source_name sic_codev_rap_reports.sic_code device_idv_rap_reports.device_id device_codev_rap_reports.device_code dDAT* evice_namev_rap_reports.device_name process_idv_rap_reports.process_id  process_codev_rap_reports.process_code process_namev_rap_reports.process_name scc_codev_rap_reports.scc_code stream_idv_rap_reports.stream_idmaterial_codev_rap_reports.material_code'(&)'(z metric_codev_rap_reports.metric_code-DAT* .,/-.reference_codev_rap_reports.reference_code3}2g value_typev_rap_reports.value_type78697:8;9<:=;><= start_datev_rap_reports.start_dateBnA end_datev_rap_reports.end_dateFDAT* 2Erap_units_namerap_units.nameJ$IQcamountamountNOMPNQORPQ cmin_decode min_decodeV_WUXVYWZX[Y\Z[rSELECT v_rap_reports.nation_name, v_rap_reporDAT* ts.state_name, v_rap_reports.county_name, v_rap_reports.source_id, v_rap_reports.source_name, v_rap_reports.sic_code, v_rap_reports.device_id, v_rap_reports.device_code, v_rap_reports.device_name, v_rap_reports.process_id, v_rap_reports.process_code, v_rap_reports.process_name, v_rap_reports.scc_code, v_rap_reports.stream_id, v_rap_reports.material_code, v_rap_reports.metric_code, v_rap_reports.reference_code, v_rap_reports.value_type,  "staDAT* rt_date",  "end_date", rap_units_b.name, sum(v_rap_reports.value_amount * rap_units_a.conversion_factor_amt / rap_units_b.conversion_factor_amt) "amount", IF v_rap_reports.data_code IS NULL THEN  ELSE IF v_rap_reports.data_code = 'RO' THEN  ELSE v_rap_reports.data_code ENDIF ENDIF "min_decode" FROM v_rap_reports, rap_units rap_units_a, rap_units rap_units_b WHERE ( v_rap_reports.value_unit_code = rap_units_a.code ) AND ( rap_units_a.meas_code = rap_unitDAT* s_b.meas_code ) AND ( v_rap_reports.metric_code IN ('DISCHARGE', 'DOWNSTRMDIS', 'MASS FLOW')) AND ( ( v_rap_reports.value_type is null ) OR ( v_rap_reports.value_type in ( select type from rap_value_types where name like 'SPECIATED FROM %' ) ) ) AND ( ( v_rap_reports.start_date BETWEEN  AND  ) AND ( v_rap_reports.end_date BETWEEN  AND  ) AND ( rap_units_b.code =  ) AND ( v_rap_reports.reference_code =  ) AND ( v_rap_reports.material_code IN (  ) DAT* ) ) GROUP BY v_rap_reports.nation_name, v_rap_reports.state_name, v_rap_reports.county_name, v_rap_reports.source_id, v_rap_reports.source_name, v_rap_reports.sic_code, v_rap_reports.device_id, v_rap_reports.device_code, v_rap_reports.device_name, v_rap_reports.process_id, v_rap_reports.process_code, v_rap_reports.process_name, v_rap_reports.scc_code, v_rap_reports.stream_id, v_rap_reports.reference_code, v_rap_reports.material_code, v_raDAT* p_reports.metric_code, rap_units_b.name, v_rap_reports.data_code, v_rap_reports.value_type \`bdfhjl"a1"c1"e1"g1"i0"k0"m0opnqolDAT*MrpgqQRAPIDS ReportDAT* @@8 codegetchildo u_dw_reference_codeApplication Error: Reference Code - Not a DataWindowChild. Contact your technical support.settransobjectretrievet|^insertrow\(       %L%2 , uf_get_reference_codes+constructor( imads_ex2 < widthheighttaborderdataobjectborderis_DAT*ref_codex\) 0] o\ @   @  %LDAT*"  @;@2  2 w xywidthheightenabledtextfocusrectangletextcolorbackcolortextsizeweightfacenamefontfamilyfontpitch  !J& 5?IDAT*$ RYbm] o @ J @ R$$9},!81F,!,$d ::message!@/4 DAT*&  rb_ranges1%checked $ , ,",2  +modified2 h xywidthheighttaborderborderstyleautohscrolltextsizeweightfacenamefontfamilyfontpitch X n\2".:CJS^DAT*( ] oXn\2 E@ @@ @#@(,2  2 i xywidthheighttabordertexttextcolorbackcolortextsizeweightfacenamefontfamilyfontpitch DAT** X )L("'1;D@KT_] oX)L( @ @@@X$$8,0DAT*, ,!>1L,!0$$d ::message!@/8 sle_range0"text $ 0 "&"2  +clicked2 i xywidthheighttabordertexttextcolorbackcolortextsizeweightfacenamefontfamilyfontpitch  L"DAT*. '1;DKT_] oL @ @@@"X$$8,0,!>1DAT*0 L,!0$$d ::message!@/8 sle_range0"text $ 0 "'"2  +clicked2 q xywidthheighttabordertextcheckedtextcolorbackcolortextsizeweightfacenamefontfamilyfontpitch  L"'DAT*2 /9CLS\g] oL @ @@@"2  2 m xywidthheighttaborderDAT*4 borderstyleautohscrolltexttextsizeweightfacenamefontfamilyfontpitch  \ ".:?HOXc] o\  E@DAT*6  @@@#@2  2 xywidthheightenabledtextalignmentfocusrectangletextcolorbackcolortextsizeweightfacenamefontfamilyfontpitch,[  L!&0?I@SDAT*8 \clw] o[L @  @2  2 w xywidthheightenabledtextfocusrectangletextcolorbackcolortextsizeweightfacenamefontfamilyfontpitchDAT*:  @ p!&5?IRYb m ] o@p @    DAT*< @2  2 xywidthheightenabledtextalignmentfocusrectangletextcolorbackcolortextsizeweightfacenamefontfamilyfontpitch,[ @ L!&0?IS\clwDAT*> ] o[@L @  @2  2 l xywidthheighttextborderstyletextcolorbackcolortextsizeweightfacenamefontfamilyfontpitche D 7DAT*v*4>GNWb] oeD7 @ @DAT*B 809}9}n8T8 0<9}D9}n8L`8h0x9}9}n8809}9}n8b809}9}n8$8,0@9}DAT*D H9}n8Ph8p09}9}n8,)8\80v809}9}n8 8(0<9}D9}n8Ln8M08S8z%$z&8z&:)@@81$$9}DAT*F $9} $9},$49}r<$D9}L$T9}\$d9}l$t9},(1,(|$.F Z t (<Ph6 J!^"v#$%&'()**+>,X-\/v01234689;b?n@~ABCDEFG6HDAT*H TLrd+ indexcase6gs_database::messageP )@!(@H is_reportnameBddlb_reportname .0textE8BCounty Emissions BreakdownBd_county_breakdownib_rollup_reportDib_enable_objectsr CEmissions by CountyBd_county_rollupDCEmissions by County (Warehouse)Bd_county_rollup_warehouseDCEmissions by SouDAT*J rceBd_source_rollupDCEmissions by DeviceBd_device_rollupDCEmissions by Processv@Bd_process_rollup DCSource Emissions SummaryBd_source_summaryDCSource Detail Report<Bd_source_detailDCSource Device ConnectionsORACLE(Bd_device_connections_oraBd_device_connectionsDCSource Stream TracingBd_stream_tracingDCErrorDAT*L w_report::ddlb_reportName::selectionChanged(); invalid report name 'B'Cuo_emis_period0;visibledw_reference_codes+#dw_unit_meas,&uo_pollutant/20;+#,&/2 0 @ H l       < D ` x        $ @ HDAT*N  h         < D          , 4 < D L T \ d l t | 00502  +selectionchanged2  xywidthheighttabordertextsizeweightfontpitchfontfamilyfacenamesortedvscrollbaritems borderstyleh7 @DAT*P  Ip"+2+<,GPWhb1t ] o7@Ip E@*+, @@ @DAT*R 1 + 0518d  destroy22  +destroy2 " visiblextaborderborderP  ]  e`  @@1DAT*T     @   3 4 5 6 7 8 933:8d  destroy;2  +destroy2 $ visiblexytaborderborderd@DAT*V 2] @W2 @@1    @   < = > ? @ A BJ@8,(01>,($DAT*X d ::message(@H  "D"2  +clicked2 U xywidthheighttabordertextsizeweightfontpitchfontfamilyfacenametext  %`P"@+2+<,GP$] oDAT*Z  %`P @*+, @$= "0:F@@8$)481<P$9!8X08s0:)@@81|$$8 8X080:)@@81DAT* $)8#$9!808 0:)@@81d$)89$9!8080:)@@81$9P$80)89P1($80H$8P"l$8t" $$$18J8$$$1DAT*^ s! string facename = "MS Sans Serif" long textcolor = 8388608 long backcolor = 12632256 boolean enabled = false string text = "Zoom 100%" boolean focusrectangle = false end type type pb_close from picturebutton within w_report_body integer x = 1298 integer y = 12 integer width = 101 integer height = 84 integer taborder = 70 integer textsize = -10 integer weight = 700 fontpitch fontpitch = variable! fontfamily fontfamily = swiss! string facename = "Arial" boolean originalsize =DAT*`  true string picturename = "print.bmp" string powertiptext = "Print" end type event clicked;//SetPointer(HourGlass!) //dw_1.Print() OpenWithParm(w_report_print, dw_1) end event type cb_exit from commandbutton within w_report_body integer x = 3296 integer y = 16 integer width = 347 integer height = 80 integer taborder = 90 integer textsize = -8 integer weight = 700 fontcharset fontcharset = ansi! fontpitch fontpitch = variable! fontfamily fontfamily = swiss! string facename =DAT*  "MS Sans Serif" string text = "Exit" end type on clicked;Close(Parent) end on type pb_last from picturebutton within w_report_body integer x = 338 integer y = 16 integer width = 101 integer height = 84 integer taborder = 30 boolean bringtotop = true integer textsize = -10 integer weight = 700 fontpitch fontpitch = variable! fontfamily fontfamily = swiss! string facename = "Arial" boolean originalsize = true string picturename = "last1.bmp" string powertiptext = "Last PageDAT*d  ) text(band=header alignment="0" text="Units:" border="0" color="0" x="1646" y="292" height="64" width="512" html.valueishtml="0" name=t_4 visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) text(band=header alignment="0" text="Reference Code:" border="0" color="0" x="1646" y="212" height="64" width="507" html.valueishtml="0" name=t_5 visible="1" font.face="MS Sans Serif"DAT*f  font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) column(band=header id=21 alignment="0" tabsequence=32766 border="0" color="0" x="2158" y="292" height="64" width="640" format="[general]" html.valueishtml="0" name=rap_units_name visible="1" edit.limit=30 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.familDAT*h y="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) column(band=header id=17 alignment="0" tabsequence=32766 border="0" color="0" x="2158" y="212" height="64" width="640" format="[general]" html.valueishtml="0" name=reference_code visible="1" edit.limit=12 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" backgroundDAT*j .mode="2" background.color="16777215" ) compute(band=header alignment="1" expression="'Page ' + page() + ' of ' + pageCount()"border="0" color="0" x="2432" y="20" height="64" width="640" format="[general]" html.valueishtml="0" name=page visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) compute(band=header alignment="0" expression="today()"border="0" color="0" x="18" y="20"DAT*l  height="64" width="421" format="dd-mmm-yyyy" html.valueishtml="0" name=compute_1 visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) compute(band=header alignment="0" expression="date( left ( start_date, 11) )"border="0" color="0" x="969" y="212" height="64" width="640" format="dd-mmm-yyyy" html.valueishtml="0" name=start_date_c visible="1" font.face="Arial" font.height="-DAT*n 10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) compute(band=header alignment="0" expression="date( left ( end_date, 11) )"border="0" color="0" x="969" y="292" height="64" width="640" format="dd-mmm-yyyy" html.valueishtml="0" name=end_date_c visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) line(band=header.1DAT*p  x1="0" y1="4" x2="3054" y2="4" name=l_1 visible="1" pen.style="0" pen.width="5" pen.color="0" background.mode="2" background.color="16777215" ) column(band=header.1 id=1 alignment="0" tabsequence=32766 border="0" color="0" x="347" y="20" height="64" width="1755" format="[general]" html.valueishtml="0" name=nation_name visible="1" edit.limit=50 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" foDAT*r nt.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) text(band=header.1 alignment="0" text="Nation:" border="0" color="0" x="18" y="20" height="64" width="219" html.valueishtml="0" name=v_rap_reports_nation_name_t visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) column(band=header.2 id=2 alignment="0" tabsequence=32766 border="0"DAT*t  color="0" x="347" y="4" height="64" width="1755" format="[general]" html.valueishtml="0" name=state_name visible="1" edit.limit=50 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) text(band=header.2 alignment="0" text="State:" border="0" color="0" x="18" y="4" height="64" width="183" html.valueishtmlDAT*v ="0" name=v_rap_reports_state_name_t visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) line(band=header.3 x1="0" y1="84" x2="3054" y2="84" name=l_2 visible="1" pen.style="0" pen.width="5" pen.color="0" background.mode="2" background.color="16777215" ) column(band=header.3 id=3 alignment="0" tabsequence=32766 border="0" color="0" x="347" y="4" height="64" width="1755" forDAT*x mat="[general]" html.valueishtml="0" name=county_name visible="1" edit.limit=50 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) text(band=header.3 alignment="0" text="County:" border="0" color="0" x="18" y="4" height="64" width="229" html.valueishtml="0" name=v_rap_reports_county_name_t visible="1" DAT*z  font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) line(band=header.3 x1="0" y1="164" x2="3054" y2="164" name=l_3 visible="1" pen.style="0" pen.width="5" pen.color="0" background.mode="2" background.color="16777215" ) text(band=header.3 alignment="0" text="METRIC CODE" border="0" color="0" x="1115" y="100" height="64" width="658" html.valueishtml="0" name=v_rap_reports_metric_code_t DAT*| visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) text(band=header.3 alignment="0" text="MATERIAL CODE" border="0" color="0" x="219" y="100" height="64" width="658" html.valueishtml="0" name=v_rap_reports_material_code_t visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.cDAT*~ olor="536870912" ) text(band=header.3 alignment="1" text="AMOUNT" border="0" color="0" x="2011" y="100" height="64" width="658" html.valueishtml="0" name=t_6 visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) column(band=header.4 id=15 alignment="0" tabsequence=32766 border="0" color="0" x="219" y="4" height="64" width="658" format="[general]" html.valueishtml="0" name=matDAT* erial_code visible="1" edit.limit=12 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) column(band=header.4 id=16 alignment="0" tabsequence=32766 border="0" color="0" x="1115" y="4" height="64" width="658" format="[general]" html.valueishtml="0" name=metric_code visible="1" edit.limit=12 edit.case=any DAT* edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) compute(band=header.4 alignment="1" expression="sum( stream_amount for group 4 )"border="0" color="0" x="2011" y="4" height="64" width="658" format="0.0####" html.valueishtml="0" name=compute_2 visible="1" font.face="Arial" font.height="-10" font.weight="400" font.DAT* family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) column(band=header.5 id=4 alignment="0" tabsequence=32766 border="0" color="0" x="110" y="20" height="64" width="658" format="[general]" html.valueishtml="0" name=source_id visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.DAT* mode="2" background.color="16777215" ) column(band=header.5 id=15 alignment="0" tabsequence=32766 border="0" color="0" x="896" y="20" height="64" width="658" format="[general]" html.valueishtml="0" name=material_code_1 visible="1" edit.limit=12 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) computeDAT* (band=header.5 alignment="1" expression="sum( stream_amount for group 5 )"border="0" color="0" x="2249" y="20" height="64" width="658" format="0.0####" html.valueishtml="0" name=process_amount visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) column(band=header.5 id=16 alignment="0" tabsequence=32766 border="0" color="0" x="1573" y="20" height="64" width="658" format="[general]" htDAT* ml.valueishtml="0" name=metric_code_1 visible="1" edit.limit=12 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) column(band=header.6 id=7 alignment="0" tabsequence=32766 border="0" color="0" x="146" y="20" height="64" width="658" format="[general]" html.valueishtml="0" name=device_id visible="1" ediDAT* t.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) column(band=header.6 id=15 alignment="0" tabsequence=32766 border="0" color="0" x="896" y="20" height="64" width="658" format="[general]" html.valueishtml="0" name=material_code_2 visible="1" edit.limit=12 edit.case=any edit.focusrectangle=noDAT*  edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) column(band=header.6 id=16 alignment="0" tabsequence=32766 border="0" color="0" x="1573" y="20" height="64" width="658" format="[general]" html.valueishtml="0" name=metric_code_2 visible="1" edit.limit=12 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.iDAT* memode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) compute(band=header.6 alignment="1" expression="sum( stream_amount for group 6 )"border="0" color="0" x="2249" y="20" height="64" width="658" format="0.0####" html.valueishtml="0" name=compute_3 visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" backgrDAT* ound.color="16777215" ) column(band=header.7 id=10 alignment="0" tabsequence=32766 border="0" color="0" x="183" y="20" height="64" width="658" format="[general]" html.valueishtml="0" name=process_id visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) column(band=header.7 id=15 DAT* alignment="0" tabsequence=32766 border="0" color="0" x="896" y="20" height="64" width="658" format="[general]" html.valueishtml="0" name=material_code_3 visible="1" edit.limit=12 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) column(band=header.7 id=16 alignment="0" tabsequence=32766 border="0" coloDAT* r="0" x="1573" y="20" height="64" width="658" format="[general]" html.valueishtml="0" name=metric_code_3 visible="1" edit.limit=12 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) compute(band=header.7 alignment="1" expression="sum( stream_amount for group 7 )"border="0" color="0" x="2249" y="20" heigDAT* ht="64" width="658" format="0.0####" html.valueishtml="0" name=compute_4 visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) compute(band=header.8 alignment="0" expression="if( cmin_decode = min( cmin_decode for group 8 ), 1, 0 )"border="0" color="0" x="18" y="4" height="64" width="1262" format="0.0####" html.valueishtml="0" name=data_code_flag visible="1" font.face="MS Sans Serif"DAT*  font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="15780518" ) compute(band=header.9 alignment="0" expression="if( value_type_c = max( value_type_c for group 9 ), 1, 0 )"border="0" color="0" x="1317" y="4" height="64" width="1262" format="[general]" html.valueishtml="0" name=value_type_flag visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.moDAT* de="2" background.color="15780518" ) column(band=detail id=14 alignment="0" tabsequence=32766 border="0" color="0" x="18" y="20" height="64" width="439" format="[general]" html.valueishtml="0" name=stream_id visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) column(band=detail id=23 alignment="2" tabsequence=32766DAT*  border="0" color="0" x="457" y="20" height="64" width="238" format="[general]" html.valueishtml="0" name=cmin_decode visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) column(band=detail id=18 alignment="2" tabsequence=32766 border="0" color="0" x="695" y="20" height="64" width="238" format="[general]" html.valueiDAT* shtml="0" name=value_type visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) compute(band=detail alignment="2" expression="if( isNull( value_type ), 0, 1)"border="0" color="0" x="933" y="20" height="64" width="238" format="[general]" html.valueishtml="0" name=value_type_c visible="1" font.face="MS Sans Serif" fonDAT* t.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="15793151" ) compute(band=detail alignment="2" expression="data_code_flag"border="0" color="0" x="1298" y="20" height="64" width="238" format="[general]" html.valueishtml="0" name=compute_5 visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="15780518" ) compute(band=detaiDAT* l alignment="2" expression="value_type_flag "border="0" color="0" x="1536" y="20" height="64" width="238" format="[general]" html.valueishtml="0" name=compute_6 visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="15780518" ) column(band=detail id=22 alignment="1" tabsequence=32766 border="0" color="0" x="1774" y="20" height="64" width="457" format="0.0####" html.valueishtml="0" name=camoDAT* unt visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) compute(band=detail alignment="1" expression="camount * data_code_flag * value_type_flag"border="0" color="0" x="2249" y="20" height="64" width="457" format="0.0####" html.valueishtml="0" name=stream_amount visible="1" font.face="MS Sans DAT* Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="12632256" ) column(band=trailer.8 id=19 alignment="0" tabsequence=32766 border="0" color="0" x="421" y="32" height="56" width="640" format="[shortdate] [time]" html.valueishtml="0" name=start_date visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-8" font.weight="400" fDAT* ont.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16776960" ) text(band=trailer.8 alignment="2" text="Reference Code:" border="0" color="0" x="1061" y="32" height="56" width="402" html.valueishtml="0" name=t_7 visible="1" font.face="Arial" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16776960" ) text(band=trailer.8 alignment="2" text="Start Date:" border="0" color="0" x="18" y="32" hDAT* eight="56" width="402" html.valueishtml="0" name=t_8 visible="1" font.face="Arial" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16776960" ) column(band=trailer.8 id=17 alignment="0" tabsequence=32766 border="0" color="0" x="1463" y="32" height="56" width="640" format="[general]" html.valueishtml="0" name=reference_code_1 visible="1" edit.limit=12 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscrolDAT* l=yes edit.imemode=0 font.face="Arial" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16776960" ) column(band=trailer.7 id=21 alignment="0" tabsequence=32766 border="0" color="0" x="1463" y="44" height="56" width="640" format="[general]" html.valueishtml="0" name=rap_units_name_1 visible="1" edit.limit=30 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.DAT* height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16776960" ) column(band=trailer.7 id=20 alignment="0" tabsequence=32766 border="0" color="0" x="421" y="44" height="56" width="640" format="[shortdate] [time]" html.valueishtml="0" name=end_date visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-8" font.weight="400" font.family="2"DAT*  font.pitch="2" font.charset="0" background.mode="2" background.color="16776960" ) text(band=trailer.7 alignment="2" text="Units:" border="0" color="0" x="1061" y="44" height="56" width="402" html.valueishtml="0" name=t_9 visible="1" font.face="Arial" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16776960" ) text(band=trailer.7 alignment="2" text="End Date:" border="0" color="0" x="18" y="44" height="56" width="402" htDAT* ml.valueishtml="0" name=t_10 visible="1" font.face="Arial" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16776960" ) line(band=trailer.3 x1="0" y1="4" x2="3054" y2="4" name=l_4 visible="1" pen.style="0" pen.width="5" pen.color="0" background.mode="2" background.color="16777215" ) text(band=footer alignment="1" text="Emissions by county and metric code for the current selection." border="0" color="0" x="18" y="20" heiDAT*ght="64" width="3035" html.valueishtml="0" name=t_11 visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) htmltable(border="1" ) htmlgen(clientevents="1" clientvalidation="1" clientcomputedfields="1" clientformatting="0" clientscriptable="0" generatejavascript="1" netscapelayers="0" ) DAT* 8J(811"800860:)@@81#!#p$x$$)81" 8080:)@@81$$6$4$H$P$6@8@8X$hp$$$6@8@8DAT* $$11)8$$11)8$,+68 0808$0@80$8$8$h@$H8P0,+68 080T$\$6@8d$t,+68 08|08$0@8$$8$N$8DAT* 0,+68 08|0$$6@8$$|$$$$8$}@$80H$8P"6P$X$t8|0d$$80-$*@8,(1,($  F n  DAT* T"#*P-./,0J1x356< =6>?@>ACEFIhKMNPNQxR`bc2e6jdldy li_num_emittantsls_temp_emittants ll_sourceridll_sourcesub1ridgs_inifilew_report_body::message,,-8EV+@a-@Jo(@H uo_pollutant/2uf_get_emittants2 DAT* ib_enable_objects<CRequired Parameter MissingPlease select emittants.is_emittants bo@ddlb_reportname.0textersPlease select a report.uo_ss@*of_hasdata3<CSource SelectorPlease select information from Source Selector.dw_reference_codesP+#uf_get_reference_codesl<CReference CodePlease select a Reference Code.<Cdw_unit_meas,&Unit of Measure Missinguf_check_requiredis_reportnameBdDAT* _device_connections$Bd_device_connections_oraBd_source_detail*iclass_group,$ids_resultset0 *,$source_ridgetitemnumber\*,$ *,$source_sub1_ridErrorcb_preview::clicked(); error in call to getItemNumber().*,$ rowcountReport InputSelect only ONE source for this report to run.istr_rpt_parmsAFrptnameBAFfromdate8uo_DAT* emis_period$0;em_start<$AFtodate`$0;em_endx#AFrefcodeP+#getitemstringAFunitcode$,&AFas_nulldata code prioritynullnot found8AFAF99AFAFas_rolROAFlAFl00AFlAFmatcode@AFsource_group *,$AFrollup_report DAT*  ib_rollup_reportH$DBB*,$is_sourceridnameese`v_rap_ss_sic.source_rid*,$`AF 4 P       d      ( H l            ( p x        4 H P X DAT* h p             0 8 @ H T \ d t                8 @ H P X t      "E"2  +clicked2 U xywidthheighttabordertextsiDAT* zeweightfontpitchfontfamilyfacenametext   %`F"+2+<,GP)] o  %`F @*+, @)= "DAT*DAT*  of_rollupxReportNo records found.DataWindow.Print.Preview = yes DataWindow.Print.Preview = yes+z $ < L T l t     D     8 P X p x               4 < D ` h p        DAT*       $ , < P X ` p                 ( 0 8 @ H P X ` h p x                  T \ d l t |  DAT*                     $ , 4 < D L T \ d l            \ d 1d  P$0$@)X8<@dDAT* E ll_rcls_tempcountyls_tempstatels_tempnationls_tempsourced  ) 7 ` istr_rpt_parms4)source_group  dw_18+of_modobjectsqlH 0 @ X n,& $8(0)@8,&T1b,&H$  :d message::message(&DAT* @-&@-P istr_rpt_parms4) ^@ue_retrievepostevent4  @ H r *(*0D*L\*dx******$ $($0$8$@$H$P$X$`$DAT*  |,BXn d h cb_save*dw_1 + hsb_zoom8,8st_zoomT-Tpb_closel."l"cb_exit/$$pb_last0%%pb_next1&&pb_prior2''pb_first 3((controlc@* +8,T-l."/$0%1&2'3( ( 0D LDAT* \ dx          ( 0 8 @ H P X `  $ $4$D$X$h$x$$$$*8FT b p ~d P cb_save*dw_1+hsb_zoom(,st_zoom<-pDAT* b_closet_zL."cb_exit`/$pb_lastp0%pb_next1&pb_prior2'pb_first3(  4 D X h x    &wxyOw&2 F +ue_retrieveof_rollupof_modobjectsql+open+create+destroyx/5=2 xywidthheighttitlebartitlecontrolmenuDAT* windowtypewindowstatebackcoloriconcb_savedw_1hsb_zoomst_zoompb_closecb_exitpb_lastpb_nextpb_priorpb_firstistr_rpt_parms  ed"(4?KUZ b g p x " $ %DAT*  & '} ()] oed  1 @@@     " $ % & ' ()DAT*  wO#$x-&xy=&&C(K(8$) 8<1 &d ll_rc( dw_1ve+saveas5  ""2  DAT*  +clicked2 a xywidthheighttabordertextsizeweightfontcharsetfontpitchfontfamilyfacenametext  [PP"+2>HS \] o[PP DAT*   @T&" $8)@8e@e8<1Y11P$`8h0t$|8(@(8z'8z&$}8(@(8z'8z&:F@@8$)DAT* 8,&1,&$>Rb p 0Jjd9 xposyposrowdwols_dw_syntaxli_zoom::message   '/&@-X dw_1+DataWindow.Print.Preview.Zoomdescribej6st_zoomH-textXZoom 20%H-XZoom %hsb_zoom,positionDAT*  DataWindow.Print.Preview.Zoom=" +modifyz @ P ` t |       $8)@8e@e8}1<R}1<1}P$`8h0t$|8(@(8z'8z&$}8(@(8z'8z&:F@@DAT* 8$)8,&1,&$:Vj | 8Rrd9 xposyposrowdwols_dw_syntaxli_zoom::message   '/&@-X dw_1$+DataWindow.Print.Preview.Zoomdescribej6st_zoomH-textXZoom 200%H-XZoom %hDAT* sb_zoom,positionDataWindow.Print.Preview.Zoom="\+modifyz @ P ` t |      j 6@8($0680080098682084098@$1HP$8Xz%z&`61}DAT* B1}h9}<0@z !,"0%B'Vd^ requestsqltypesqlsyntaxbufferrowancestorreturnvalueli_retls_dw_syntaxls_error/0 "1)-AH U p0 sqlpreviewib_retrieveappend"'~'is_sql777 UNDAT* ION 7( @ H P ` h T 68$$8,09nL98^#8T08i08yz%8z&8^:@)8B18z%8z&+@+811025$788|9:;?CD6JBd6 al_rowas_actionDAT* aa_datals_valuetypecase50d ! .  check value typesobject@value_type__get_attribute_item7rap_value_types.typerap_value_typesrap_value_types.name like 'SPECIATED FROM %' and rap_value_types.type = ''rowsdiscardUnknow action '' for ue_scanRow().$ L  $7@L%&$7@2 V +clicked+rbuttonDAT* down+sqlpreviewf_stringglobalreplace+ue_scanrowf_dlookup*+*+@L,2 @ ywidthheighttaborderhscrollbarvscrollbarresizablel E  +6] olE  DAT* @  @ @ T\,$o\l7x@0 . $}1<>1}d1<d1}$$4DAT* 8<(@(8z'8Bz&8D(@(8z'8cz&l$)|8,&1",&$ ( : Rdd8 scrollposls_dw_syntaxli_posli_zoom::messaged &.&@-0 positionst_zoom-text,Zoom %DataWindow.Print.Preview.Zoom="dw_1DAT* e+modifyzt $ 4 l |  V$:@W@)(8,&<1J,&0$"d ::message&@-8 dw_1$+triggerevent  ( 0 V$:W@)(8,&<1J,&0$"d ::message&@-8 dw_1DAT* +triggerevent  ( 0 V$:@W@)(8,&<1J,&0$"d ::message&@-8 dw_1+triggerevent  ( 0 V$:W@)(8,&<1J,&0$"d ::message&@-8 dw_1+triggerevDAT* ent  ( 0 )*,./*)/.,2 9 +moved+pageright+lineleft+lineright+pageleftd$/2 C xywidthheighttaborderminpositionmaxpositionposition`  2@<".:DAT* d] o`2@<  @dD8,&/&x)&*&.2  2 w xywidthheighttextsizeweightfontpitchfontfamilyfacenametextcolorbaDAT* ckcolorenabledtextfocusrectangle%  ID")3> GQ[c%h] o%ID @  DAT* % @\.$@8,&B1P,&$(d! w_report_print::message(.@2&@-  dw_1+  """2  +clicked2 v xywidthheighttabordertextsizeweightfontpitchfontfamilyfacenameoriginalsizepicDAT* turenamepowertiptext  eTF"+2<G/P]5i?] o eTF @/ @ 5 DAT* @@#@?T&"J@8,&01>,&$d ::message&@-  "$"2  +clicked2 a xywidthheighttabordertextsizeweightfontcharsetfontpitchfontfamilyfacenametext   [DAT* PZ"+2>HS \E] o [PZ   @ET&"V$1)$8,&<1J,&,$DAT* "d ::message&@-4 dw_1+scrolltorow? $ , "%"2  +clicked2 xywidthheighttaborderbringtotoptextsizeweightfontpitchfontfamilyfacenameoriginalsizepicturenamepowertiptextR  eT"-DAT* 6=GR/[hJtT] oReT @/ @ J @@#@TT&"P$)(8,&61DDAT* ,&0$d ::message&@-8 dw_1+scrollnextpage; ( 0 "&"2  +clicked2 xywidthheighttaborderbringtotoptextsizeweightfontpitchfontfamilyfacenameoriginalsizepicturenamepowertiptext  eT"DAT* -6=GR/[h^th] oeT @/ @ ^ @@#@hT&"P$)(8,&DAT* 61D,&0$d ::message&@-8 dw_1+scrollpriorpage= ( 0 "'"2  +clicked2 xywidthheighttaborderbringtotoptextsizeweightfontpitchfontfamilyfacenameoriginalsizepicturenamepowertiptext  eT(DAT* "-6=GR/[hrt}] oeT( @/ @ r @@#@}T&"V$DAT* 1)$8,&<1J,&,$"d ::message&@-4 dw_1+scrolltorow? $ , "("2  +clicked2 xywidthheighttaborderbringtotoptextsizeweightfontpitchfontfamilyfacenameoriginalsizepicturenamepowertiptext%  eDAT*" T2"-6=GR/[ht] o%eT2 @/ @  @@#@T&"DAT* " end type on clicked;dw_1.ScrollToRow(2147483647) end on type pb_next from picturebutton within w_report_body integer x = 238 integer y = 16 integer width = 101 integer height = 84 integer taborder = 20 boolean bringtotop = true integer textsize = -10 integer weight = 700 fontpitch fontpitch = variable! fontfamily fontfamily = swiss! string facename = "Arial" boolean originalsize = true string picturename = "next1.bmp" string powertiptext = "Next Page" end type on clickeDAT* d;dw_1.ScrollNextPage() end on type pb_prior from picturebutton within w_report_body integer x = 137 integer y = 16 integer width = 101 integer height = 84 integer taborder = 40 boolean bringtotop = true integer textsize = -10 integer weight = 700 fontpitch fontpitch = variable! fontfamily fontfamily = swiss! string facename = "Arial" boolean originalsize = true string picturename = "prior1.bmp" string powertiptext = "Previous Page" end type on clicked;dw_1.ScrollPriorPage() DAT* end on type pb_first from picturebutton within w_report_body integer x = 37 integer y = 16 integer width = 101 integer height = 84 integer taborder = 50 boolean bringtotop = true integer textsize = -10 integer weight = 700 fontpitch fontpitch = variable! fontfamily fontfamily = swiss! string facename = "Arial" boolean originalsize = true string picturename = "first1.bmp" string powertiptext = "First Page" end type on clicked;dw_1.ScrollToRow(1) end on DAT*DAT*&  ************************************************************************* //default action or error signalError(-1, "Unknow action '" + as_action + "' for ue_scanRow().") return -1 end choose return 0 end event type hsb_zoom from hscrollbar within w_report_body integer x = 864 integer y = 20 integer width = 306 integer height = 64 integer taborder = 60 integer minposition = 20 integer maxposition = 200 integer position = 100 end type event moved;// Moved scrDAT*( ipt for hsb_zoom string ls_dw_syntax integer li_pos, li_zoom li_pos = this.position if li_pos < 20 then li_pos = 20 elseif li_pos > 200 then li_pos = 200 end if st_zoom.text = "Zoom " + String(li_pos) + "%" ls_dw_syntax = "DataWindow.Print.Preview.Zoom=" + String(li_pos) + "~"" dw_1.modify(ls_dw_syntax) end event on pageright;// Pageright script for hsb_zoom dw_1.TriggerEvent(rbuttondown!) end on on lineleft;// Lineleft script for hsb_zoom dw_1.TriggerEventDAT** (clicked!) end on on lineright;// Lineright script for hsb_zoom dw_1.TriggerEvent(rbuttondown!) end on on pageleft;// Pageleft script for hsb_zoom dw_1.TriggerEvent(clicked!) end on type st_zoom from statictext within w_report_body integer x = 549 integer y = 28 integer width = 329 integer height = 68 integer textsize = -8 integer weight = 700 fontpitch fontpitch = variable! fontfamily fontfamily = swiss! string facename = "MS Sans Serif" long textcolor = 8388DAT*, 608 long backcolor = 12632256 boolean enabled = false string text = "Zoom 100%" boolean focusrectangle = false end type type pb_close from picturebutton within w_report_body integer x = 1298 integer y = 12 integer width = 101 integer height = 84 integer taborder = 70 integer textsize = -10 integer weight = 700 fontpitch fontpitch = variable! fontfamily fontfamily = swiss! string facename = "Arial" boolean originalsize = true string picturename = "print.bmp" string powertiptextDAT*.  = "Print" end type event clicked;//SetPointer(HourGlass!) //dw_1.Print() OpenWithParm(w_report_print, dw_1) end event type cb_exit from commandbutton within w_report_body integer x = 3296 integer y = 16 integer width = 347 integer height = 80 integer taborder = 90 integer textsize = -8 integer weight = 700 fontcharset fontcharset = ansi! fontpitch fontpitch = variable! fontfamily fontfamily = swiss! string facename = "MS Sans Serif" string text = "Exit" end type on clickDAT*0 ed;Close(Parent) end on type pb_last from picturebutton within w_report_body integer x = 338 integer y = 16 integer width = 101 integer height = 84 integer taborder = 30 boolean bringtotop = true integer textsize = -10 integer weight = 700 fontpitch fontpitch = variable! fontfamily fontfamily = swiss! string facename = "Arial" boolean originalsize = true string picturename = "last1.bmp" string powertiptext = "Last Page" end type on clicked;dw_1.ScrollToRow(2147483647) end DAT*2 on type pb_next from picturebutton within w_report_body integer x = 238 integer y = 16 integer width = 101 integer height = 84 integer taborder = 20 boolean bringtotop = true integer textsize = -10 integer weight = 700 fontpitch fontpitch = variable! fontfamily fontfamily = swiss! string facename = "Arial" boolean originalsize = true string picturename = "next1.bmp" string powertiptext = "Next Page" end type on clicked;dw_1.ScrollNextPage() end on type pb_prior from picturDAT*4 ebutton within w_report_body integer x = 137 integer y = 16 integer width = 101 integer height = 84 integer taborder = 40 boolean bringtotop = true integer textsize = -10 integer weight = 700 fontpitch fontpitch = variable! fontfamily fontfamily = swiss! string facename = "Arial" boolean originalsize = true string picturename = "prior1.bmp" string powertiptext = "Previous Page" end type on clicked;dw_1.ScrollPriorPage() end on type pb_first from picturebutton within w_report_DAT*body integer x = 37 integer y = 16 integer width = 101 integer height = 84 integer taborder = 50 boolean bringtotop = true integer textsize = -10 integer weight = 700 fontpitch fontpitch = variable! fontfamily fontfamily = swiss! string facename = "Arial" boolean originalsize = true string picturename = "first1.bmp" string powertiptext = "First Page" end type on clicked;dw_1.ScrollToRow(1) end on DAT*8  font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="12632256" ) compute(band=detail alignment="0" expression="if( metric_code = 'DOWNSTRMDIS', stream_amount, 0 )"border="0" color="0" x="1499" y="100" height="64" width="402" format="0.0####" html.valueishtml="0" name=stream_downstream visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charseDAT*: t="0" background.mode="2" background.color="12632256" ) compute(band=detail alignment="0" expression="if( metric_code = 'MASS FLOW', stream_amount, 0 )"border="0" color="0" x="1902" y="100" height="64" width="402" format="0.0####" html.valueishtml="0" name=stream_massflow visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="12632256" ) compute(band=detail alignment="0" expression="if( metDAT*< ric_code = 'DISCHARGE', stream_amount, 0 )"border="0" color="0" x="2304" y="100" height="64" width="402" format="0.0####" html.valueishtml="0" name=stream_discharge visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="12632256" ) column(band=trailer.8 id=20 alignment="0" tabsequence=32766 border="0" color="0" x="421" y="32" height="56" width="640" format="[shortdate] [time]" html.valueishtDAT*> ml="0" name=start_date visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16776960" ) text(band=trailer.8 alignment="2" text="Reference Code:" border="0" color="0" x="1061" y="32" height="56" width="402" html.valueishtml="0" name=t_8 visible="1" font.face="Arial" font.height="-8" font.weigDAT*@ ht="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16776960" ) text(band=trailer.8 alignment="2" text="Start Date:" border="0" color="0" x="18" y="32" height="56" width="402" html.valueishtml="0" name=t_9 visible="1" font.face="Arial" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16776960" ) column(band=trailer.8 id=17 alignment="0" tabsequence=32766 border="0" color="0" x="DAT*B 1463" y="32" height="56" width="640" format="[general]" html.valueishtml="0" name=metric_code visible="1" edit.limit=12 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16776960" ) column(band=trailer.7 id=21 alignment="0" tabsequence=32766 border="0" color="0" x="1463" y="44" height="56" width="640" format="[geneDAT*D ral]" html.valueishtml="0" name=end_date visible="1" edit.limit=30 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16776960" ) column(band=trailer.7 id=20 alignment="0" tabsequence=32766 border="0" color="0" x="421" y="44" height="56" width="640" format="[shortdate] [time]" html.valueishtml="0" name=start_date_1DAT*F  visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16776960" ) text(band=trailer.7 alignment="2" text="Units:" border="0" color="0" x="1061" y="44" height="56" width="402" html.valueishtml="0" name=t_10 visible="1" font.face="Arial" font.height="-8" font.weight="400" font.family="2" font.DAT*H pitch="2" font.charset="0" background.mode="2" background.color="16776960" ) text(band=trailer.7 alignment="2" text="End Date:" border="0" color="0" x="18" y="44" height="56" width="402" html.valueishtml="0" name=t_11 visible="1" font.face="Arial" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16776960" ) line(band=trailer.5 x1="0" y1="20" x2="3383" y2="20" name=l_6 visible="1" pen.style="0" pen.width="5" pen.color="0"DAT*J  background.mode="2" background.color="16777215" ) text(band=footer alignment="1" text="Emissions by source and device for the current selection." border="0" color="0" x="18" y="20" height="52" width="3035" html.valueishtml="0" name=t_12 visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) line(band=header.5 x1="0" y1="164" x2="3383" y2="164" name=l_5 visible="1" pen.style="DAT*L 0" pen.width="5" pen.color="0" background.mode="2" background.color="16777215" ) text(band=header.5 alignment="0" text="Pollutant" border="0" color="0" x="142" y="100" height="64" width="658" html.valueishtml="0" name=v_rap_reports_material_code_t visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) column(band=header.6 id=16 alignment="0" tabsequence=32766 border="0" color=DAT*N "0" x="142" y="4" height="64" width="658" format="[general]" html.valueishtml="0" name=material_code visible="1" edit.limit=12 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) text(band=header.5 alignment="1" text="Downstream Discharge" border="0" color="0" x="859" y="100" height="64" width="800" htmlDAT*P .valueishtml="0" name=v_rap_reports_metric_code_t visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) compute(band=header.6 alignment="1" expression="sum( stream_downstream for group 6 )"border="0" color="0" x="859" y="4" height="64" width="800" format="0.0####" html.valueishtml="0" name=device_downstream visible="1" font.face="Arial" font.height="-10" font.weight="400" foDAT*R nt.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) text(band=header.5 alignment="1" text="Discharge" border="0" color="0" x="1719" y="100" height="64" width="800" html.valueishtml="0" name=t_6 visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) compute(band=header.6 alignment="1" expression="sum( stream_massflow for group 6 )"bordDAT*T er="0" color="0" x="1719" y="4" height="64" width="800" format="0.0####" html.valueishtml="0" name=device_massflow visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) text(band=header.5 alignment="1" text="Mass Flow to Next Device" border="0" color="0" x="2578" y="100" height="64" width="800" html.valueishtml="0" name=t_7 visible="1" font.face="MS Sans Serif" font.height="-8" font.DAT*V weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) compute(band=header.6 alignment="1" expression="sum( stream_discharge for group 6 )"border="0" color="0" x="2578" y="4" height="64" width="800" format="0.0####" html.valueishtml="0" name=device_discharge visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) text(band=headerDAT*X .5 alignment="0" text="Code:" border="0" color="0" x="1074" y="4" height="64" width="183" html.valueishtml="0" name=v_rap_reports_device_code_t visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) text(band=header.5 alignment="0" text="Device ID:" border="0" color="0" x="123" y="4" height="64" width="329" html.valueishtml="0" name=v_rap_reports_device_id_t visible="1" font.fDAT*Z ace="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) text(band=header.5 alignment="0" text="Name:" border="0" color="0" x="1879" y="4" height="64" width="187" html.valueishtml="0" name=v_rap_reports_device_name_t visible="1" font.face="MS Sans Serif" font.height="-8" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) column(banDAT*\ d=header.5 id=10 alignment="0" tabsequence=32766 border="0" color="0" x="2062" y="4" height="64" width="1317" format="[general]" html.valueishtml="0" name=device_name visible="1" edit.limit=50 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) column(band=header.5 id=9 alignment="0" tabsequence=32766 boDAT*^ rder="0" color="0" x="1257" y="4" height="64" width="603" format="[general]" html.valueishtml="0" name=device_code visible="1" edit.limit=15 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) column(band=header.5 id=8 alignment="0" tabsequence=32766 border="0" color="0" x="453" y="4" height="64" width="DAT*` 603" format="[general]" html.valueishtml="0" name=device_id visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) htmltable(border="1" ) htmlgen(clientevents="1" clientvalidation="1" clientcomputedfields="1" clientformatting="0" clientscriptable="0" generatejavascript="1" netscapDAT*elayers="0" )