PC Review


Reply
Thread Tools Rate Thread

Access 2007/Word 2007 Mail Merge Opens Second Instance

 
 
btibbet
Guest
Posts: n/a
 
      26th May 2010
I have an Access 2007 database where I can launch a Word 2007 merge
document whose data source is a query that looks back to a control on
the form for a parameter.

I am forced to use DDE to link the document to the query, but Word
then opens a second copy of the database (without the form showing)
and is prompting for the value of the control.

I have no database title specified.

What's more confusing is that this problem only occurs on users'
machines, not mine. All machines are Windows XP SP3.

I've been Googling now for about 8 hours with no success (only hits
tell me to remove the custom title from the database or use ODBC which
dosen't see the parameterized query).

AAAARRRRGGGHHHH!
 
Reply With Quote
 
 
 
 
david
Guest
Posts: n/a
 
      27th May 2010
Use spy++ to check the window title:
http://msdn.microsoft.com/en-us/library/aa264396(VS.60).aspx

Use DDESPY to check the DDE traffic.
If you don't have another version, use the Open Watcom
version:
http://www.openwatcom.org/index.php/Download

(david)


"btibbet" <(E-Mail Removed)> wrote in message
news:2bc6e876-9804-4d8f-8699-(E-Mail Removed)...
>I have an Access 2007 database where I can launch a Word 2007 merge
> document whose data source is a query that looks back to a control on
> the form for a parameter.
>
> I am forced to use DDE to link the document to the query, but Word
> then opens a second copy of the database (without the form showing)
> and is prompting for the value of the control.
>
> I have no database title specified.
>
> What's more confusing is that this problem only occurs on users'
> machines, not mine. All machines are Windows XP SP3.
>
> I've been Googling now for about 8 hours with no success (only hits
> tell me to remove the custom title from the database or use ODBC which
> dosen't see the parameterized query).
>
> AAAARRRRGGGHHHH!



 
Reply With Quote
 
btibbet
Guest
Posts: n/a
 
      27th May 2010
On May 26, 2:24*pm, btibbet <bill_tibbe...@yahoo.com> wrote:
> I have an Access 2007 database where I can launch a Word 2007 merge
> document whose data source is a query that looks back to a control on
> the form for a parameter.
>
> I am forced to use DDE to link the document to the query, but Word
> then opens a second copy of the database (without the form showing)
> and is prompting for the value of the control.
>
> I have no database title specified.
>
> What's more confusing is that this problem only occurs on users'
> machines, not mine. *All machines are Windows XP SP3.
>
> I've been Googling now for about 8 hours with no success (only hits
> tell me to remove the custom title from the database or use ODBC which
> dosen't see the parameterized query).
>
> AAAARRRRGGGHHHH!


Upon further review, and a sleepless night, I figured out what's
happening...If you map to the data source using an absolute path, but
open the database using a relative path, DDE doesn't resolve the
absolute path so it opens up another instance of the database.

Thanks to all of you for your suggestions.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Access 2007 - Mail Merge with Word 2007 Kim Hurteau General Software 0 28th Sep 2011 10:20 PM
Access 2007 - Word 2007 - Mail Merge patkung Microsoft Access Form Coding 1 28th Jul 2009 02:35 PM
Word 2007, Access 2007 mail merge with Workgroup Information FileOptions Stapes Microsoft Access 0 22nd Apr 2008 05:46 PM
Word 2007, Access 2007 mail merge with Workgroup Information File Stapes Microsoft Access 0 18th Apr 2008 03:36 PM
Access XP/2002 mail merge opens second instance of the database. Dean Microsoft Access 2 19th May 2004 06:55 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:00 PM.