used daniels code and got the report for 1a working, fixed the query, report 1a works