Avatar of mlcktmguy
mlcktmguyFlag for United States of America asked on

Locating Mail Merge Input

Locating Mail Merge Input
I have been a developer for decades but I am very new to working with Mail Merge documents.

A client asked to have some of their mail merge documents generated directly from the application I am writing for them.
The client sent me a Word, mail merge document and the associated data file.  I put both in a directory on my computer.  The input file is named ‘TCLMDATA.DAT’.

When I try to open the Mail Merge doc I get a message “Opening this document will run the following SQL command”, “ Select * from U:\TCLMDATE”, “Do you want to Continue?.

When I select ‘Continue”, I get a message “Word cannot find the data source U:\TCLMDATA”.  This makes sense because I have the file in a different location than “U:\”.

When I select the option to “Find Data Source”, I locate the supplied file on my computer and select it.  But then Word puts up the message “Word cannot find its data source, “ then shows the name and location of the file I selected.

I know the file exists.  I didn’t type the name I just selected it in the file finder.  Why am I getting the message that the file wasn’t found and how do I resolve this?

I suspected that the file having a ‘.DAT” extension was the problem so I created another version of the file with a .txt” extension.  I ended up with the same messages and result.
Microsoft Word

Avatar of undefined
Last Comment
mlcktmguy

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
GrahamSkan

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
GrahamSkan

That should have started;
Try answering "No" to the "Continue" question.
ASKER
mlcktmguy

Thanks You
Your help has saved me hundreds of hours of internet surfing.
fblack61