SyntaxFix
Write A Post
Hire A Developer
Questions
How about something like this...
Dim rs As RecordSet Set rs = Currentdb.OpenRecordSet("SELECT PictureLocation, ID FROM MyAccessTable;") Do While Not rs.EOF Debug.Print rs("PictureLocation") & " - " & rs("ID") rs.MoveNext Loop