Since nobody seems to have any advice () I started out without it, and believe it or not, I'm stuck already
I have this SQL statement to check if there is a record for the user accessing the UserOptions page in the database, and if not, add one (this is the part where it checks for a record):
'## Check for existing record in UserOptions table
strSql = "SELECT UO_MNAME FROM " & strMemberTablePrefix & "USEROPTIONS WHERE UO_MNAME= '" & strDBNTUserName & "'"
set rs = my_Conn.Execute (strSql)
strCurrentRecord = rs("UO_MNAME")
if strCurrentRecord = "" Then
Response.Write "<br>Not Found"
else
Response.Write "<br>" & rs("UO_NAME")
end if
This is obviously not working because I get a rs.BOF/rs.EOF error when there is no record... If somebody could fix this or suggest a better way of doing this it would help a lot