I have a Word template that I am automating that has several tables. Creating and populating uniform tables is a breeze. Of course my problem is not that easy. I have several sections where each section has a NON-UNIFORM [e.g., some cells are split or merged] table and some text with variables below each table. The problem is each section can have a variable number of tables depending on the number of child records in a VFP table. The text that goes with each table also has to be repeated for each table.
For example, if there are 3 child records, I now have to figure out how to replicate the table/text combination 2 times. Then replace the text variables independently because the values of the variables in the first table/text combo are not going to be the same values as the same variable names in subsequent table/text combos.
What I am looking for is some brainstorming on how to best accomplish this. I am not necessarily looking for code, just ideas. TIA!
Mark McCasland
Midlothian, TX USA