I have one large document I'll call MASTER, within MASTER I have 80 sections - each section is a page to a different customer. The problem I am having is I insert a docvariables for section1 or page1:
ActiveDocument.Variables.Add(Name:="amount", value:=custAmt)
ActiveDocument.Variables.Add(Name:="desc", Value:=custDesc)
ActiveDocument.Variables.Add(Name:="type", Value:=custType)
ActiveDocument.Fields.Update()
now I insert a page break within the same MASTER document, create letter #2, insert the same variables. When the activedocument is updated for letter #2, it also updates letter#1(or section1) with the same variable information as letter#2. So in the end, I have a MASTER document with 80 pages, and whatever the last customers information had for the above variables, it updates the variable information for all 80 pages; all my customers owe me $80 for the same item.
How can I set docvariable information for each section?
AND I hope this makes some sense to anyone who wants a challenge.
cramd
ActiveDocument.Variables.Add(Name:="amount", value:=custAmt)
ActiveDocument.Variables.Add(Name:="desc", Value:=custDesc)
ActiveDocument.Variables.Add(Name:="type", Value:=custType)
ActiveDocument.Fields.Update()
now I insert a page break within the same MASTER document, create letter #2, insert the same variables. When the activedocument is updated for letter #2, it also updates letter#1(or section1) with the same variable information as letter#2. So in the end, I have a MASTER document with 80 pages, and whatever the last customers information had for the above variables, it updates the variable information for all 80 pages; all my customers owe me $80 for the same item.
How can I set docvariable information for each section?
AND I hope this makes some sense to anyone who wants a challenge.
cramd