<%
Dim Data
Dim TheKey, TheEngSub, TheJapSub
Dim TheName
Dim TheGroupA,TheGroupB,TheGroupC, TheGroupD, TheGroupE, TheGroupF
Dim Str_Key
Dim Str_count
Str_count = 1
Dim TheGRP1
Dim TheGRP2
Dim LongKey
Dim Location, Counter
Dim Temp_Key, TheSmall, TheFile
Dim Num_Key
Num_Key = 0
Counter = 1
Dim Table_Count
Table_Count = 0
Dim WhichTable
WhichTable = ""
Dim Prev_F
Dim StoreKey1
Dim StoreKey2
Dim StoreKey3
Dim StoreKey4
Dim StoreKey5
Dim Int_Counter
Dim Line_Count
Line_Count = 1
Dim Next_Count
Dim Continue_Flag
Continue_Flag = 0
Dim TheNext
TheNext = 0
Dim TheNext_Count
sub convertK
Str_Key = ","
TheKey = Trim(TheKey)
While Str_count < len(TheKey) + 1
Str_Key = Str_Key & cstr(Asc(Right(TheKey, Str_count))) & ","
Str_count = Str_count + 1
Wend
Str_count = 1
end sub
sub searchp
If TheKey="" and TheName="" and TheJapSub="" then
strQuery = "SELECT * FROM " & WhichTable
Set objRS = objCon.Execute(strQuery)
Else
If TheName="" Then
If TheJapSub="" Then
strQuery = "SELECT * FROM " & WhichTable & " where " & TheKey
else
If TheKey="" Then
strQuery = "SELECT * FROM " & WhichTable & " where " & TheJapSub
else
strQuery = "SELECT * FROM " & WhichTable & " where " & TheKey & TheGRP2 & TheJapSub
End If
End If
else
If TheKey = "" then
If TheJapSub="" Then
strQuery = "SELECT * FROM " & WhichTable & " where " & TheName
else
strQuery = "SELECT * FROM " & WhichTable & " where " & TheName & TheGRP1 & TheJapSub
End If
else
If TheJapSub="" Then
strQuery = "SELECT * FROM " & WhichTable & " where " & TheName & TheGRP1 & TheKey
else
strQuery = "SELECT * FROM " & WhichTable & " where " & TheName & TheGRP1 & TheKey & TheGRP2 & TheJapSub
End If
End if
End if
'If TheName="" and TheKey="" Then
' strQuery = "SELECT * FROM " & WhichTable & " where " & TheJapSub
'else
' If TheKey = "" then
' strQuery = "SELECT * FROM " & WhichTable & " where " & TheName
' else
' strQuery = "SELECT * FROM " & WhichTable & " where " & TheName & TheGRP1 & TheKey
' response.Write "haha"
' End if
'End if
'response.write strQuery & " "
Set objRS = objCon.Execute(strQuery)
End If
If Not objRS.EOF then
If Request.Form("More") = "More" Then
While Not objRS.EOF and TheNext > 0
objRS.MoveNext
TheNext = TheNext - 1
Wend
End If
If Table_Count = 1 Then
%>
<%
End If
While Not objRS.EOF and Continue_Flag = 0
If Counter > 5 Then
Response.Write "
"
Select Case Counter
Case "1"
Response.Write StoreKey1
Case "2"
Response.Write StoreKey2
Case "3"
Response.Write StoreKey3
Case "4"
Response.Write StoreKey4
Case "5"
Response.Write StoreKey5
End Select
Response.Write "