Table of Contents or Generated List Is Empty in a Word Report
If your report generation program adds a tables of contents or a list of tables, figures, or captions to a Microsoft® Word document, the report generation software creates a placeholder for the table of contents or list. If the report generation program does not include a function call to update the Word document, the entries in the table of contents or list are not generated. When you open the generated document in Word, the table of contents, list of figures, list of tables, or list of captions appears to be empty.
Update the Word document using one of these approaches:
In the report generation program, add a function call to update the Word document.
Open the document in Word and then update it interactively.
For detailed information and examples, see Update Tables of Contents and Generated Lists in Word Documents.