%@ LANGUAGE=VBScript %> <% Response.Buffer = True %>
![]() |
![]()
|
||
| <%= FormatDateTime (date, vbLongDate) %> | |||
|
<% DIM socTemp, cateTemp, cat_v, v_add, i cat_v = "" IF Request.Form("lc_society") = "<-Select Society->" Then socTemp = "%" Else socTemp = Request.Form("lc_society") End IF IF Request.Form("lc_catalog") = "All" Then cateTemp = "%" Else cateTemp = Request.Form("lc_catalog") End IF Set IndustryNetSQL = Server.CreateObject("ADODB.Connection") IndustryNetSQL.Open "thaiindustry", "tinhosting", "tinhosting" sql = "SELECT socName, socAddress, socCity, socZipcode, socCountry, socTel, socFax, socEmailAddress, category " & _ " FROM Societies " & _ " WHERE socname LIKE '" & socTemp & "%' AND" & _ " category LIKE '" & cateTemp & "%'" & _ " ORDER BY Societies.category ASC, Societies.socName ASC" Set RS = IndustryNetSQL.Execute(sql) %>
|
|
|