>Hi All,
>
>I'm trying to write a program that will perform a Microsoft Word mail merge. I can get the program to work except in the case where someone has the data source open in another program. When I use oWord.Documents.Open("abc.doc") I get the file open dialogue box asking for the data source. Since the data source is in use I get stuck in a loop until the other user exits from the data source. I noticed that if you try to open the document using Word, it knows that the data source is in use and gives you options about what to do. I would just like to exit and inform the user at this point. Any help would be appreciated.
>
>TIA
>Bob
Bob,
Check Thread #
457267 Message #
457273There are plenty others. IMHO ODBC way has problems.
Cetin