Gary,

What version of kix are you using and on what os. I have tried your code on Windows 2000 using 4.10 and it works fine.

Duncan