I have tried your suggestion, but it still prints the previous data. If the new data has the id number 6, after you press the print button, the data including id number changes to that of 5. then number of records says that there are 6 records and on page 6 of 6 but the displayed data is that...