Hi Thanks for replying, I'll check that out. Can I do the opposite? Get the user to click clockout on the form, and then get the program to log off windows?

Ian