your title is " VBA or query "
if it refer to which of them response the error
the answer is the query.
your error in the query and relationship
in fact I tried to understand the relation between tables but I can't know
by trial and error
the solution is :
go to the query "Qry_Rpt_02" in...