|
@@ -34,21 +34,17 @@ object TRpReport |
|
|
'D, InkjetRecords.BALSENT,'#13#10#9#9#9' InkjetRecords.BALRETURNED, Inkjet' + |
|
|
'D, InkjetRecords.BALSENT,'#13#10#9#9#9' InkjetRecords.BALRETURNED, Inkjet' + |
|
|
'Records.CountingBoard, InkjetRecords.UOCAVASTATUS, InkjetRecords' + |
|
|
'Records.CountingBoard, InkjetRecords.UOCAVASTATUS, InkjetRecords' + |
|
|
'.EMAILADDRESS,'#13#10#9#9#9' InkjetRecords.PHONENUMBER, BALLOT_NUMBER, In' + |
|
|
'.EMAILADDRESS,'#13#10#9#9#9' InkjetRecords.PHONENUMBER, BALLOT_NUMBER, In' + |
|
|
'kjetRecords.CassADDRESS1, IIF(InkjetRecords.CassADDRESS3 ="",Ink' + |
|
|
|
|
|
'jetRecords.CassADDRESS4,InkjetRecords.CassADDRESS3)as CassADDRES' + |
|
|
|
|
|
'S2,'#13#10#9#9#9'IIF(InkjetRecords.CassADDRESS3 ="",InkjetRecords.CassADD' + |
|
|
|
|
|
'RESS5,InkjetRecords.CassADDRESS4)as CassADDRESS3,IIF(InkjetRecor' + |
|
|
|
|
|
'ds.CassADDRESS3 ="","",InkjetRecords.CassADDRESS5)as CassADDRESS' + |
|
|
|
|
|
'4,IIF(InkjetRecords.CassADDRESS3 ="","","")as CassADDRESS5, Inkj' + |
|
|
|
|
|
'etRecords.KitLabelID,'#13#10#9#9#9' KitLabels.ID, KitLabels.KitID, KitLab' + |
|
|
|
|
|
'els.OutboundSerial, KitLabels.InBoundSerial, KitLabels.OutboundI' + |
|
|
|
|
|
'MB,'#13#10#9#9#9' KitLabels.InBoundIMB, KitLabels.OutboundIMBDigits, KitL' + |
|
|
|
|
|
'abels.InBoundIMBDigits, KitLabels.OutboundIMBPNG,'#13#10#9#9#9' KitLabels' + |
|
|
|
|
|
'.INBOUNDIMBPNG, KitLabels.SetNumber'#13#10#9#9#9' FROM InkjetRecords'#13#10#9#9#9 + |
|
|
|
|
|
' LEFT JOIN [KitLabels] ON InkjetRecords.KitLabelID = KitLabels.I' + |
|
|
|
|
|
'D'#13#10#9#9#9' WHERE InkjetRecords.KitID = PBKITID AND InkjetRecords.ID ' + |
|
|
|
|
|
'>= PBMIN and InkjetRecords.ID <= PBMAX) As [data] Order By SORT_' + |
|
|
|
|
|
'ORDER' |
|
|
|
|
|
|
|
|
'kjetRecords.CassADDRESS1,InkjetRecords.CassADDRESS2,InkjetRecord' + |
|
|
|
|
|
's.CassADDRESS3,InkjetRecords.CassADDRESS4,InkjetRecords.CassADDR' + |
|
|
|
|
|
'ESS5, InkjetRecords.KitLabelID,'#13#10#9#9#9' KitLabels.ID, KitLabels.Kit' + |
|
|
|
|
|
'ID, KitLabels.OutboundSerial, KitLabels.InBoundSerial, KitLabels' + |
|
|
|
|
|
'.OutboundIMB,'#13#10#9#9#9' KitLabels.InBoundIMB, KitLabels.OutboundIMBDi' + |
|
|
|
|
|
'gits, KitLabels.InBoundIMBDigits, KitLabels.OutboundIMBPNG,'#13#10#9#9#9 + |
|
|
|
|
|
' KitLabels.INBOUNDIMBPNG, KitLabels.SetNumber'#13#10#9#9#9' FROM InkjetRe' + |
|
|
|
|
|
'cords'#13#10#9#9#9' LEFT JOIN [KitLabels] ON InkjetRecords.KitLabelID = K' + |
|
|
|
|
|
'itLabels.ID'#13#10#9#9#9' WHERE InkjetRecords.KitID = PBKITID AND InkjetR' + |
|
|
|
|
|
'ecords.ID >= PBMIN and InkjetRecords.ID <= PBMAX) As [data] Orde' + |
|
|
|
|
|
'r By SORT_ORDER' |
|
|
end |
|
|
end |
|
|
item |
|
|
item |
|
|
Alias = 'JURISDICTION' |
|
|
Alias = 'JURISDICTION' |
|
|