Iam using Data merge in indesign to produce some school reports to print for pupils in year 11 there are 22 subjects but some of the children only do say 8 of those 22 subjects. i need to be able to automatically delete tables text boxes and pages if they do not display anything on the pages from the data merge. I do have some javascript experience so I'm willing to give the scripting a go to save me masses of time. but I'm unsure what is possible and whether i have set the document up correctly would anyone have the time to check the document and give me some advice on how to set up the scripting for this.