Same issue
It returns
d:\1.pdf
d:\1.pdf
in debug print
and that's valid value
this one here Debug.Print rs.Fields("User_ID") go through records
and there are 2 records with user id = 1 in files table
so when looping, it get first record User id = 1 , and it's merged as pdf, next loop will get...