Thanks heaps guys just what I needed - a slightly different approach works a treat.