• What are the error messages you get? The query itself looks fine...

    There can be anything like permission issues, mis-spelled table or column name, data type conflict, foreign key references - just to name a few.



    Lutz
    A pessimist is an optimist with experience.

    How to get fast answers to your question[/url]
    How to post performance related questions[/url]
    Links for Tally Table [/url] , Cross Tabs [/url] and Dynamic Cross Tabs [/url], Delimited Split Function[/url]