- From your document, click anywhere in the chapter's title line.
- Select the new first page.
- Select one of the built-in TOC style or select Insert Table of Contents... if you want to display more that 3 levels of TOC by increasing the value in the Show levels (same for earlier version where you can see the Show level in the Table of Contents tab of the Index and Tables dialog box).
If you do any changes on the document's title(s) or move the chapter and its title, you can just update the TOC and it will change the writing and page number automatically.
Easiest way is to press Ctrl+A to select all and then press the F9 function key. You'll then have the option to update entire content or just the page number.