Glad it helped, at least as far as it went

For your new question: I have so far only came across the error you mentioned once in the hectic of coding, but never able to reproduce it. If you would post some code or take a look (by step-debugging) exactly where the error occurs maybe I can help look for the cause.