>The problem´s that since the program I get the total pages, but since the form it doesn´t work.
Are you saying that you get 0 for the total pages or that the number is a different value that is not correct?
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer