MS Word and MailMerge

BASAM

New Member
Hi Richard,

I am merging a data file into Word and I have a problem with the Textencoding method it uses. By default, it seems to be using msoJapanes as the method. While opening or while mentioning the datasource or wherever applicable, I would like to explicitly use msoWestern (MS Enumeration constant for that from Word 2002 onwards is 1252) as the textencoding method.

I want to do this through 4GL Coding.

I tried like this.

chWord:documents:open('temp.doc',,,,,,,,,,1252,). It doesn't seem to have any effect. If I have the displayalert set to yes, then I get a 'Filter conversion' dialog box from where I am able to choose the Windows encoding. However I don't want the dialog box method.

Can anyone help?

Thanks,
BASAM
 
Back
Top