You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SQL="SELECT Name FROM Contacts WHERE Phone1 LIKE '%"&num&"%' OR Phone2 LIKE '%"&num&"%' OR CPhone1 LIKE '%"&num&"%' OR CPhone2 LIKE '%"&num&"%' OR Fax LIKE '%"&num&"%'"
Set rs=Server.CreateObject("AdoDB.RecordSet")
rs.Open SQL, REDConnString
If Not rs.EOF Then result=rs("Name") Else result="["&num&"]"