How to disable some report pages?

Question: How to disable some report pages?

Answer:

Add an empty dialog form to the report and write this in its OnActivate event:

1
2
3
begin
Page2.Visible := False 
end