Hello
i have some autotext that have form fields.
e.g. i have a autotext named test with 2 form fields test_field1 and test_field2 with regular text type
in my document i insert many times the autotext block and fill the fields with the code:
myTemplate.AutoTextEntries.Item('test ').Insert(msword1.Selection.Range,false);
doc.FormFields.Item('test_field1 ').result :='some text'
doc.FormFields.Item('test_field12').result :='some text'
the problem is that when i insert the autotext more than 1 time in the document it insert it but it changes the formfield values of the first inserted autotext block always and the other are empty
Please for your help
i have some autotext that have form fields.
e.g. i have a autotext named test with 2 form fields test_field1 and test_field2 with regular text type
in my document i insert many times the autotext block and fill the fields with the code:
myTemplate.AutoTextEntries.Item('test ').Insert(msword1.Selection.Range,false);
doc.FormFields.Item('test_field1 ').result :='some text'
doc.FormFields.Item('test_field12').result :='some text'
the problem is that when i insert the autotext more than 1 time in the document it insert it but it changes the formfield values of the first inserted autotext block always and the other are empty
Please for your help