Hi Friend,
can you please let me know if i can do mailmerge using regular arrays?
my code below does not work or does not do anyhing to my document.
i populate the arrays fieldArray and valueArrays with data from database.
on my template word document i made merge-fields with the fields name which i have in the array fieldArrys… Please Help
Hi Awais.
Thank you very much for responding back to me.
however this code does not work, because i already have values in two arrays
my arrays are already pre-populated with data
fieldArray contains data like this:
FullName
Company
Address
Address2
valueArray contains data like this:
John Jackson
Bank of America
123 Main Street
PO Box 123
when i execute this code does not work or does not do any mailmerge
doc.getMailMerge().execute(fieldArray, valueArray);
remember then second parameter is an array not an object, i don’t know if this may be the problem.