I used Dlast function to determine last record of such Field as reference, but as the fields are apart from the record it does not return the last record why is that so?
attached is a sample of the records
dim rYear as String
rYear = Nz(DLast("returnedYear", "documentLog", "fileCode LIKE'" &...