Praveen thanks for your reply!
There is no checkbox next to 'New Page After'. Rather it has two options i.end of section and ii. Visible records.
I clicked on visible records and in x-2 formula editor typed the formula but getting the following error
"A constant expression is required here"