unclechris
Guppy
OK - I've tried - can anyone tell me what's wrong with my code? Please!!
set dBaseConn = Server.CreateObject("adodb.connection")
set rs = server.createobject("adodb.recordset")
strConn = "Provider=Microsoft.JET.OLEDB.4.0; Data Source = " & dBasePath & ";"
dBaseConn.open strConn
strSQL = "SELECT email FROM Advertisers where email=" & Request.Form("email")
rs.open strSQL, dBaseConn
If RS.EOF Then
Else
StrError = StrError & "You already have an account - please use an alternative email address<BR>"
End If
rs.close
dBaseConn.close
set rs = nothing
set dBaseConn = nothing
set dBaseConn = Server.CreateObject("adodb.connection")
set rs = server.createobject("adodb.recordset")
strConn = "Provider=Microsoft.JET.OLEDB.4.0; Data Source = " & dBasePath & ";"
dBaseConn.open strConn
strSQL = "SELECT email FROM Advertisers where email=" & Request.Form("email")
rs.open strSQL, dBaseConn
If RS.EOF Then
Else
StrError = StrError & "You already have an account - please use an alternative email address<BR>"
End If
rs.close
dBaseConn.close
set rs = nothing
set dBaseConn = nothing