The tables run over several pages; the least I can do is try to make them more readable by repeating the two header rows on every page. This was working in an earlier version of the code, when I was using just one header row, and varnames:
Code:
putdocx table tablea = data(var1 var3 var3), varnames headerrow(1)
Code:
putdocx table tablea = data(var1 var3 var3 var8),headerrow(2) layout(autofitcontents) putdocx table tablea(1,.), addrows(2,before) putdocx table tablea(1,4) = ("% reporting"), colspan(4) halign(center) putdocx table tablea(2,1)=("District"), putdocx table tablea(2,2) = ("Province"),
I'd appreciate help spotting my error. Thanks.