Great thanks for the help. I had no idea how to start doing this so this should get me going.

Thanks