Thanks for the fast responce. I'll have a look at enumprocess() udf.