wmdmurphy
2008-03-26 13:54:01 UTC
I would like to prevent a user from entering a duplicate company name in a
form. I know this can be done by setting a unique index on company name in
the company table and I have done this. But I would also like to give the
user a message when they attempt this. I've tried adding code in before
update and the after update but so far this does not seem to work. What is
the best coding approach for this?
Bill
form. I know this can be done by setting a unique index on company name in
the company table and I have done this. But I would also like to give the
user a message when they attempt this. I've tried adding code in before
update and the after update but so far this does not seem to work. What is
the best coding approach for this?
Bill