While writing a model I needed an easy way to set the starting record based only upon the page number that we’re on. This has always vexed me for some reason, but then it just hit me. The page number can be used to mathematically compute the starting record if we know the number of records to be displayed on each page (and we usually do). Continue reading Easy Pagination