Implementing validation in reports