how to validate sql statement
hi, is there anyone who can help me in my problem?
sql = "SELECT UserID, Status FROM tbl_User WHERE UserID = '" & strUserID & "' and Password = '" & strUserPW & "' "
i want to validate my sql statement using if no record found then msgbox else open new page.
thank you in advance!