jaywhy13
01-07-2005, 03:14 AM
del="DELETE FROM users WHERE user='" & admin & "'"
Conn.execute del
In the same way that I can check if a command or a record exists by checking if objRS.EOF is true, is there a way that I can check if the Delete command exists because it does not return an error if no record matches the criteria that was executed to be deleted!
So how do I know that the operation was successful without having to do a SELECT FROM users WHERE username=blah blah and checking if the recordset is empty? :confused:
Conn.execute del
In the same way that I can check if a command or a record exists by checking if objRS.EOF is true, is there a way that I can check if the Delete command exists because it does not return an error if no record matches the criteria that was executed to be deleted!
So how do I know that the operation was successful without having to do a SELECT FROM users WHERE username=blah blah and checking if the recordset is empty? :confused: