All right…
I have
With qdfActiveRecruiter
sqlRecNameS = “SELECT DISTINCT Candidate.Name_Display FROM Candidate ORDER BY Name_Display ”
Set rstRS = CurrentDb.OpenRecordset(sqlRecNameS, dbOpenSnapshot)
rstRS.MoveFirst
End With
‘ Build the output string.
With rstRS
Do While Not .EOF
sqlRecNameS = sqlRecNameS ‘& ” ” & FileName & ” ” & FileDate
‘!au_id & “: $” & (10 * !royaltyper) & vbCr
.MoveNext
Loop
End With
My Loop is counting correctly 20 records BUT sqlRecNameS is not showing any. Why?
Thanks