Query db for checkboxes
Formatting report