How to create a button to open a new window in which all records are printed. In the following part of program, i am unable to print records in a new window, but it gets pri