[AccessD] [Fwd: Word XP and access]

William Hindman wdhindman at dejpolsystems.com
Tue Aug 22 05:34:35 CDT 2006


...try something like

Application.DisplayAlerts = wdAlertsNone
Documents.Open FileName:="c:\my documents\testmerg.doc"
Application.DisplayAlerts = wdAlertsAll

...hth

William

----- Original Message ----- 
From: "Rocky Smolin - Beach Access Software" <bchacc at san.rr.com>
To: "Access Developers discussion and problem solving" 
<accessd at databaseadvisors.com>
Sent: Tuesday, August 22, 2006 1:42 AM
Subject: [AccessD] [Fwd: Word XP and access]


> Dear List:
>
> My client writes:
>
> I have a template that has mail merge codes in it. I have a one-table
> Access mdb to which the template is linked. My regular access program
> empties and reloads the single table in the one-table mdb.
>
> Then my regular Access program opens the template and saves it to a
> predetermined .doc file... The only problem is when the template is
> being opened, I get a MS Word message that says: "Opening this document
> will run the following SQL command. Etc.
>
> Question: How do I prevent that screen warning?
>
> Anybody know the answer?
>
> MTIA,
>
> Rocky
>
> -- 
> Rocky Smolin
> Beach Access Software
> 858-259-4334
> www.e-z-mrp.com
>
> -- 
> AccessD mailing list
> AccessD at databaseadvisors.com
> http://databaseadvisors.com/mailman/listinfo/accessd
> Website: http://www.databaseadvisors.com
> 






More information about the AccessD mailing list