I don't immediately see anything wrong with it either...one thought though, there might be an error in your SQL that's throwing an internal error in Access--since the SQL isn't valid.
On the line that's blowing up, I'd check the SQL in the immediate window. Maybe try to paste it and save it in a new query window to see if Access has a problem with it....
Leave a comment: