I let the database (Postgresql) do the work using a constraint and then do a
try: <insert-or-update-record> except: pass in web2py. Regards Johann -- Because experiencing your loyal love is better than life itself, my lips will praise you. (Psalm 63:3)