- CJ Lai
- PowerBuilder
- Friday, 8 November 2019 07:53 PM UTC
Hi PBers
I have searched on Google for a solution to this issue for a while now and I am turning to you for help.
I have a saved doc in Word with 'fields' (not 'bookmarks') in it. I did so by going to Insert>Quick Parts>Field...
I need to access said doc from PB to fill those fields.
I am able to:
- create an ole and connect it to word.application
- open the doc in the ole
However, I am not able to:
- 'goto' those fields (they all have a 'name' in the doc such as '«Firstname»')
- fill the fields with data/string...
(The reason why I don't use 'bokmarks' instead is because the original Word doc would get modified with the data/strings AND lose those bookmarks even after an SaveAS. So...)
Please advise.
Thank you
CJ
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.