I keep getting a compile error, "Loop without Do". I've tried Do While and Do Until. What am I doing wrong here? I've got other pieces of code like this in my project, and they work fine.
Code:
Do Until rs.EOF
strVersion = rs("Source")
With dbs
strSQL = "SELECT Top 1 * into " & strVersion & " from " & strWhatTable & " Where Source = '" & strVersion & "'"
.Execute strSQL
rs.MoveNext
Loop
Comment