Thanks KodeZerg,basically you set a timer that tells you when no more action is present and reset. Good enough for me.Joanna,I would like to know where people hang, I returned to programming since a long time, thanks.Giuseppe