Brilliant! Thanks again! I actually tried somthing like that a while ago, but couldn't get it to work.. Hmm.. I think it's about time I advance my delphi skills a bit...