Piyush,
you have to check the conditions of footer subform and in case of overflow you need to check put on next page.
Subform properties will itself decide how much space is needed for footer and if thet is increasing with help of properties it will go to next page automatically.
Regards,
Sandeep Katoch