How to Reference Dynamic IDs in a Word Table
Question details
The user needs to reference changing IDs (such as FR_001, FR_002) in a Word table so that the references update automatically when new rows are added or shifted.

- Product
- Word Processing Software
- Device & OS
- not provided
- Scenario
- Referencing row IDs in a document that frequently undergoes structural updates and additions.
- Observed behavior
- Hard-coded text references become inaccurate when new rows are inserted in the table because the later IDs change and shift.
Determine whether your table IDs are generated via automatic paragraph numbering or typed manually, as this dictates the specific cross-referencing method you need to use.
Use Cross-References for Automatically Numbered IDs
Use this method if your table rows use Word's automatic numbering feature, allowing references to update dynamically without manual bookmarking.
When table IDs are generated using automatic numbering, the word processor inherently tracks their position. By inserting a cross-reference linked directly to the paragraph number, any addition or deletion of rows will cause the references to adjust seamlessly.
Click inside the document exactly where you want the dynamic ID reference to appear.
Navigate to the 'Insert' or 'References' tab on the top ribbon and click on 'Cross-reference'.
In the dialog box, change the 'Reference type' dropdown to 'Numbered item' (or 'Paragraph Number').
Set the 'Insert reference to' dropdown to 'Paragraph number'. Select the specific table ID from the list below and click 'Insert'.

Create Bookmarks for Manually Managed IDs
Use this method if you type out the IDs (like FR_001) manually rather than using automatic numbering.
Use WPS Writer to Seamlessly Update Dynamic Table IDs
WPS Writer provides robust cross-referencing and bookmarking features, allowing you to easily link and update dynamic IDs in your document tables without breaking your workflow.
- 1. Open Document: Launch WPS Writer and open the document containing your table IDs.
- 2. Add Bookmarks (If Manual): Select the text of your ID, go to the 'Insert' tab, click 'Bookmark', and assign it a name.
- 3. Insert Cross-Reference: Place your cursor at the target location, navigate to 'Insert' > 'Cross-reference', and select either 'Numbered item' or 'Bookmark' depending on your ID format.
- 4. Update Fields: When table rows change, simply press Ctrl+A to select all text, then press F9 to instantly update all referenced IDs.

Frequently Asked Questions
Why aren't my cross-references updating automatically when I add a new row?
Cross-references in most word processors do not update in real-time. To refresh them, select the entire document by pressing Ctrl+A, then press the F9 key to force an update of all dynamic fields.
Can I cross-reference an ID that isn't located inside a table?
Yes. The bookmarking and automatic numbering methods work exactly the same way for text located anywhere in your document, not just within tables.
What happens if I accidentally delete the bookmarked ID?
If the source text and its bookmark are deleted, updating your document fields will result in an 'Error! Reference source not found.' message at the cross-reference location. You will need to recreate the bookmark and re-link the reference.




