I want to prevent creation of duplicate categories so I used UNIQUE for the Name field.
What I did works fine, the problem is: how can I trap the error sql gives and return it in a nice format?
It happens also if i try to add an existing username (Users table).
Thank you in advance
lepo
What I did works fine, the problem is: how can I trap the error sql gives and return it in a nice format?
It happens also if i try to add an existing username (Users table).
Thank you in advance
lepo