Hi
Is there any way to construct a more meaningful error description so
that it can be displayed to the user
Eg. Table Country - Fields Country Code and Country Name - Both
fields are unique and code is the primary key.
I would like to display something like 'Country code already exists'.
Current display will be 'Duplicate entry 'AA' for key 1'
Is it possible to change key 1 with the name of the field generating
the error ?
Thanks
Is there any way to construct a more meaningful error description so
that it can be displayed to the user
Eg. Table Country - Fields Country Code and Country Name - Both
fields are unique and code is the primary key.
I would like to display something like 'Country code already exists'.
Current display will be 'Duplicate entry 'AA' for key 1'
Is it possible to change key 1 with the name of the field generating
the error ?
Thanks
Comment