How to add chapter name to header in Writer?

In a book we are beginning the new chapter from the same page where the earlier chapter finished.

In the header we would like to put the chapter name that is beginning from that page.

When we are adding ‘chapter name’ field to the header, it is showing the name the chapter that the first line belong to.

Is it possible to show the name of the chapter that is beginning from that page?

I believe this can be achieved using a cross-reference to the heading on the page. Note however that for this to be effective each chapter needs to commence with a separate page style.