database row status

Thanks Lorraine your suggestion works well