Regarding new page in smartform
I got one requirement regarding smart-form. In that we have to display material details in one page whenever we enter the material number and new page will trigger for another material means we enter two material numbers then first material will display in one page and if any data remaining then go to next page and print the data . and for second material will trigger new page and there the data should print . so can any body explain in detail.how to acheive this?