|
|
@@ -62,7 +62,7 @@ Function ExportInkjetFile(KitID) |
|
|
|
" KitLabels.INBOUNDIMBPNG, KitLabels.SetNumber" &_ |
|
|
|
" FROM InkjetRecords" &_ |
|
|
|
" LEFT JOIN [KitLabels] ON InkjetRecords.KitLabelID = KitLabels.ID" & _ |
|
|
|
" WHERE InkjetRecords.KitID =" & KitID & " ;") |
|
|
|
" WHERE InkjetRecords.KitID =" & KitID & " Order by PRECINCT & Clng(BALLOT_NUMBER) Desc;") |
|
|
|
Dim JurisdictionRs:Set JurisdictionRs = oConn.Execute("SELECT * FROM Jurisdiction WHERE JCode ='" & KitRs("Jcode").Value & "';") |
|
|
|
Dim ContactRs:Set ContactRs = oConn.Execute("SELECT * FROM Contacts WHERE [JURISCODE] ='" & KitRs("Jcode").Value & "';") |
|
|
|
Dim ExportFileName:ExportFileName = objFSO.GetBaseName(KitRs("Filename")) & ".csv" |
|
|
|