General information
Category:
COM/DCOM and OLE Automation
Hi Yuri,
The problem is that I want to embed tabs and CRLF in one of the merge fields in order to simulate a table of five columns. If I have to, I'll drop mail merge and "hand build" each letter at run time and build the table, but I'd love to keep it a simple mail merge.
It's inconceivable to me that MS would allow us to specify a number of delimiters through the interface but not have a way through the API but it wouldn't be the first brick wall from Word.
Thanks,
Gary
>>Hi,
>>I have a merge routine using a txt file with |(pipe) for the field and ^ for the record delimiters. Odd choices I know, but Word allows them. However, at merge time Word asks for the delimiters. When these are picked, the merge works fine but I want to tell Word what to use instead of getting the dialog.
>>
>>Anyone know how to tell Word what the delimiters are?
>>
>>Thanks,
>>Gary
>
>Probably the easiest way would be to convert delimeters/separators to the "standard" characters, like:
>
>strtofile(CHRTRAN(FILETOSTR(original_txtfile),[|^],["]+CHR(13))),temp_txtfile)
>
>And then you may use the temp_txtfile as a data source for the mailmerge.
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only