You are right prometheuzz - I intend to convert it to a long. I have lowered the possibility of extremely large numbers. The page increments as page=1, page=2 page=3 and so on. Each page will hold 50 records. I don't think think the users will reach even 100,000 pages forget about gazillions. But what if a user enters 99999999999 as the ...