<% Option Explicit Dim Conn, RS, cStr, strSQL, pdfArray, bPDF connectDB strSQL = "SELECT FileID, FileName, FileSize FROM Files WHERE FileArea = '102' ORDER BY FileName" Set RS = Conn.Execute(strSQL) If RS.BOF AND RS.EOF Then 'There are no pdf files in the array bPDF = false Else pdfArray = RS.getRows bPDF = true End If closeConnection Sub connectDB Set Conn = Server.CreateObject("ADODB.Connection") cStr = "DRIVER={Microsoft Access Driver (*.mdb)};" cStr = cStr & "DBQ=" & Server.MapPath("database/thermokingpdf.mdb") & ";" Conn.Open(cStr) End Sub Sub closeConnection RS.Close Set RS = Nothing Conn.Close Set Conn = Nothing End Sub %> Service index
 
 
<% Next Response.Write("
<%Response.Write(pdfArray(1,aCount))%>
") Else %>
<% End If %>
SERVICE
Alarm Codes
Wiring Diagrams
Unit Specs
Service Locations
Contact Service

To email please click here

To return to home page click here

 
 

Thermo King New Zealand Ltd.
8 Langley Road, Manukau City, Auckland, New Zealand