Have you a way to display varb? Using debug for example. I am thinking that your code is not the problem.