To create a sub tab tag you need to manually create an RS and ES tag, you can create these in ASSURE already against normal merge fields but they are pre existing and don't require manual tags.
You will need to copy part of the sub tab you want to insert to direct ASSURE to where you want it to pull the information from, for example:
If you want to make a repeating section around a sub tab, you need to take the first section for the tag.
<%SUBTABDATA_LICENCE_PERMITTEDOCCUPANCY_ROOMTYPE_PKID2985%>
The second half of the sub tab and the PKID does not need to be included in the tags as we only need to tell ASSURE the section to look at.
You take the highlighted section (of the relevant sub tab you need to use)
And you just add a RS for the starter tag so it looks like this: <%rs_SUBTABDATA_LICENCE_PERMITTEDOCCUPANCY%>
For the end tab you need to add a ES like this: <%es_SUBTABDATA_LICENCE_PERMITTEDOCCUPANCY%>
If you have a table with multiple sub tabs then you need to put the tags before and after each sub tab in order for it to work when the template is created.