0

请帮帮我。我不知道如何解决这个问题。此错误的代码来自以下几行:

if BPL_Data_Loaded = "N" then  
    Set objRS = Server.CreateObject("ADODB.Recordset")
    strSQL = "select Isnull(CAST(MAX(CAST(FAMILY_ID AS BIGINT)) AS VARCHAR),0) AS MaxIntFamily_IdGP from " & tblReg
    if P_Code = "" then
        strSQL = strSQL & " where Panchayat_Code ='" & Request("Panchayat_Code") & "'"
    else
        strSQL = strSQL & " where Panchayat_Code ='" & P_Code  & "'"
end if

'strSQL = strSQL & "   and CHARINDEX('-',FAMILY_ID)=0"
strSQL = strSQL & "   and (IsNumeric(Family_Id)=1 and family_id not like '%.%')"
objRS.Open strSQL,objCon
:
4

0 回答 0