June I really appreciate your help with this.
The data structure is as follows
Make table query:
ClientID
DebtorID
The debtorID and the PDF files have the same name. So in the debtorid colume is a list of the files.
Set rs = CurrentDb.OpenRecordset("SELECT DebtorID, FROM tblDocuments;")
or
in the place of DocumentName "DebtorID"
Set rs = CurrentDb.OpenRecordset("SELECT ClientID, DocumentName FROM tblDocuments;")
Thanks Rich