Access vba loop through query. Off the top of my head something like this.

creator avatar