Hi arnelgp,
Following your instructions, I created another query with true data. However when I ran it, it showed an error message "Run-time error '9': Subscript out of range". Upon checking the statement, I did not find any errors.:confused: Could you please help see if my modifications fit...