Mongo, thanks for the reply. I tried your code and it works nicely. I also wanted to add password do you know the syntax for that?

Laura