Hi Jean,
Here are the conditions for the "owner" field and when it can or cannot be modified:
- if "owner" field modified to "Username" then OKAY
- if "owner" field modified to anything other than "Username" then ERROR MESSAGE
- if "owner" field not modified and is set to something other than "Username" then okay.
I think the last case is the most complicated because if the "owner" field is not modified and is set to soething othe than the "Username" then an error message should NOT be displayed. But how can the database tell if the "owner" field has been modified or not? I tried the code that you gave me, but it didn't do anything. I was still able to transfer ownership to another user. Any help would be great
Reena
Here are the conditions for the "owner" field and when it can or cannot be modified:
- if "owner" field modified to "Username" then OKAY
- if "owner" field modified to anything other than "Username" then ERROR MESSAGE
- if "owner" field not modified and is set to something other than "Username" then okay.
I think the last case is the most complicated because if the "owner" field is not modified and is set to soething othe than the "Username" then an error message should NOT be displayed. But how can the database tell if the "owner" field has been modified or not? I tried the code that you gave me, but it didn't do anything. I was still able to transfer ownership to another user. Any help would be great
Reena