What is your server language? What is your database type? There are solutions using client side javascript, server code, the database itself, and those solutions can be implemented on the insert and update pages or when they are displayed on the results and details. There are a lot of options. Please describe exactly what you are doing, when exactly a problem occurs, and what you would like to do and we can help.