query display for reports