ShabanaHafiz
Programmer
I created LetterDatabase workbook in Excel. Sheet1 contains columns for letter fields like Name, Address, JobTitle, Salary etc. Then I created a document LetterFormatA in MS Word. In the Mail Merge, I selected LetterDatabase, Sheet1 of Excel and inserted Merge fields in Word.
I then created a folder LetterProject and copied two files LetterDatabase.xls and LetterFormatA.doc in it. This folder was placed in server machine and three users were given access to this folder. When I tried to open LetterFormatA.doc in one user’s PC, I got Data Link Properties dialog box. On selecting Cancel, I got the message; This operation cannot be completed because of dialog or database engine failures. Please try again later. I clicked OK. Then I got the message; LetterFormatA.doc is a mail merge main document. Word cannot find its datasource, S:\LetterDatabase.xls. I clicked Find Data Source and selected LetterDatabase.xls. This opened the file LetterFormatA.doc.
The problem is that, this connection to LetterDatabase.xls is remembered by MS Word only up to the current session. The next day, when the user logs on again, he again gets Data Link Properties dialog box and he has to manually configure the connection with LetterDatabase.xls again.
I then created a folder LetterProject and copied two files LetterDatabase.xls and LetterFormatA.doc in it. This folder was placed in server machine and three users were given access to this folder. When I tried to open LetterFormatA.doc in one user’s PC, I got Data Link Properties dialog box. On selecting Cancel, I got the message; This operation cannot be completed because of dialog or database engine failures. Please try again later. I clicked OK. Then I got the message; LetterFormatA.doc is a mail merge main document. Word cannot find its datasource, S:\LetterDatabase.xls. I clicked Find Data Source and selected LetterDatabase.xls. This opened the file LetterFormatA.doc.
The problem is that, this connection to LetterDatabase.xls is remembered by MS Word only up to the current session. The next day, when the user logs on again, he again gets Data Link Properties dialog box and he has to manually configure the connection with LetterDatabase.xls again.