> > Excellent idea Johann,
You're totally right, I was not looking into this approach. Here is the working code : def manage_parameters(): # Make sure user cannot delete the last parameter set. (row) if db(db.parameter).count() > 1: deletable = True else: deletable = False form = SQLFORM.grid( db.parameter, deletable=deletable, fields = [ db.parameter.id, db.parameter.profile_name, ... Regards,