• jeffshelix - Wednesday, January 3, 2018 9:03 AM

    "Well, you're referencing the temp table without joining to it first. "

    I do not understand what this means or how to fix it . . . .thanks

    It means you have to treat the temp table the same way as any other table in the query, you can't just include it in the join criteria without actually well joining to the table first in some way.