C
CP
Hi, everyone. I am using Access 2007 & Word 2007 with a document
template that is the "primary" document for a mail merge (I'm pretty
sure it's a catalog) and a Data Source that is a .TXT file that is
created from an Access database using DoCmd.TransferText
acExportMerge...
Users create different Data Sources depending on the data they need
to
report on but they are all created the same way. Generally, the .TXT
file is created and the data is successfully incorporated into the
Word 2007 template. SOMETIMES, however, the user gets prompted for
"Header Records Delimiter" or is told that the .TXT file isn't valid.
There must be some garbage in the .TXT file or it must contain a
"reserved word" or something like that. BUT when I retrieve the .TXT
file in NotePad, Word, WordPad, or Excel, I can't see anything that
doesn't belong.
(Interestingly, when I retrieve a .TXT file that works correctly into
Word, I'm prompted to Convert file from PLAIN TEXT. But when I
retrieve one of the problem .TXT files into Word, I'm prompted to
Convert File from ENCODED TEXT. Something is obviously different
between the two files.)
I'm hoping that someone has some ideas for other ways to find garbage
in .TXT files or any other ideas about what might be happening to
cause this problem. Please let me know if you need more information.
Thanks. Carol.
template that is the "primary" document for a mail merge (I'm pretty
sure it's a catalog) and a Data Source that is a .TXT file that is
created from an Access database using DoCmd.TransferText
acExportMerge...
Users create different Data Sources depending on the data they need
to
report on but they are all created the same way. Generally, the .TXT
file is created and the data is successfully incorporated into the
Word 2007 template. SOMETIMES, however, the user gets prompted for
"Header Records Delimiter" or is told that the .TXT file isn't valid.
There must be some garbage in the .TXT file or it must contain a
"reserved word" or something like that. BUT when I retrieve the .TXT
file in NotePad, Word, WordPad, or Excel, I can't see anything that
doesn't belong.
(Interestingly, when I retrieve a .TXT file that works correctly into
Word, I'm prompted to Convert file from PLAIN TEXT. But when I
retrieve one of the problem .TXT files into Word, I'm prompted to
Convert File from ENCODED TEXT. Something is obviously different
between the two files.)
I'm hoping that someone has some ideas for other ways to find garbage
in .TXT files or any other ideas about what might be happening to
cause this problem. Please let me know if you need more information.
Thanks. Carol.