For Programmers: Free Programming Magazines  


Home > Archive > Visual Basic > October 2004 > Error -2147352571 from MsWord Mailmerge OpenDataSource Method VB C









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Error -2147352571 from MsWord Mailmerge OpenDataSource Method VB C
MichaelAshok

2004-10-29, 8:55 am

The following Code gives the Error :2147352571

DocApp.Documents(1).MailMerge.OpenDataSource "C:\A\Event.mdb", 0, False,
False, True, False, Null, Null, False, Null, Null,
"DSN=myaccess;DBQ=C:\A\Event.mdb;DriverId=281;FIL=MS
Access;MaxBufferSize=2048;PageTimeout=5;
", "SELECT * FROM [EventClientInfo]",
Null
Jan Hyde

2004-10-29, 8:55 am

MichaelAshok <MichaelAshok@discussions.microsoft.com>'s wild
thoughts were released on Fri, 29 Oct 2004 04:53:04 -0700
bearing the following fruit:

>The following Code gives the Error :2147352571
>
>DocApp.Documents(1).MailMerge.OpenDataSource "C:\A\Event.mdb", 0, False,
>False, True, False, Null, Null, False, Null, Null,
>"DSN=myaccess;DBQ=C:\A\Event.mdb;DriverId=281;FIL=MS
> Access;MaxBufferSize=2048;PageTimeout=5;
", "SELECT * FROM [EventClientInfo]",
>Null


What is the error message

Jan Hyde (VB MVP)

--
Flirtation: Attention without intention (Lee Daniel Quinn)

[Abolish the TV License - http://www.tvlicensing.biz/]

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com