Bob,
You hit the bull's-eye (No wonder with such a name)
I didn't know there was something like an automatically defined termporary table #temp
THanks,
Mark
>How about something like this:
>....
>BOb
If everything seems to be going well, you obviously don't know what the hell is going on !