AJirenius #1 Subirenihil helped me out with this very similar issue in this thread: http://www.blitzbasic.com/Community/posts.php?topic=64678It has code and everything, also a screen of the result.