473,324 Members | 2,268 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,324 software developers and data experts.

DDE Mail Merge issue

Hi,

We're running Office 2000 at our organization. We've been using an
Access database that is shared on the network; we have forms in the
database in which when we click on a button, data is retrieved using a
query and exported to a Mail Merge Word document. It has worked fine
for years. Recently we purchased a bunch of new computers on which we
installed Office 2000. On these new computers, when we open the Access
forms and click the button to generate the Word document, it gives us
an error message "Word could not re-establish a DDE connection to
Access". But everything works fine on the older machines. We haven't
changed any settings or upgraded to a newer version of Office. Does
anybody know what's causing this? The people who set this up for us are
no longer around so we have no clue what's giving us this problem for
only the newer machines.

Thanks,
Shal

May 23 '06 #1
4 3795
From my experience when setting of new computers and copying/sharing Access
databases to the new machines, you have to also copy the My Data Sources.
This directory is found under the My Documents directory. Hope this helps.
"Shaldaman" <sh************@gmail.com> wrote in message
news:11**********************@j33g2000cwa.googlegr oups.com...
Hi,

We're running Office 2000 at our organization. We've been using an
Access database that is shared on the network; we have forms in the
database in which when we click on a button, data is retrieved using a
query and exported to a Mail Merge Word document. It has worked fine
for years. Recently we purchased a bunch of new computers on which we
installed Office 2000. On these new computers, when we open the Access
forms and click the button to generate the Word document, it gives us
an error message "Word could not re-establish a DDE connection to
Access". But everything works fine on the older machines. We haven't
changed any settings or upgraded to a newer version of Office. Does
anybody know what's causing this? The people who set this up for us are
no longer around so we have no clue what's giving us this problem for
only the newer machines.

Thanks,
Shal

May 24 '06 #2
"Jaeymeson" <Ja*******@hotmail.com> wrote
From my experience when setting of new
computers and copying/sharing Access
databases to the new machines, you have
to also copy the My Data Sources.
This directory is found under the My
Documents directory. Hope this helps.


Interesting, as there is no "My Data Sources" folder on my Windows XP
system. At best, that is a default folder and many users do not follow the
Microsoft line of thinking and use those default folders as Microsoft
expected. Most likely it is a local or personal convention patterned after
the naming convention used by Microsoft.

DDE is an obsolescent technology for inter-application communication and I
suspect the source of the problem is going to lie in some VBA code in the
application. I have not used DDE in years, probably not since the days of
DOS 3.1 and 16-bit Operating Systems, so can't even offer pointers on
specifics for you to look or search for. The functionality provided by DDE
was replaced by similar but improved functionality provided by the Component
Object Model (COM), which is itself now in the process of being superceded
by DotNet.

Larry Linson
Microsoft Access MVP
May 26 '06 #3
"Larry Linson" <bo*****@localhost.not> wrote in
news:1_sdg.6218$oa3.2470@trnddc08:
DDE is an obsolescent technology for inter-application
communication and I suspect the source of the problem is going to
lie in some VBA code in the application. I have not used DDE in
years, probably not since the days of DOS 3.1 and 16-bit Operating
Systems, so can't even offer pointers on specifics for you to look
or search for. The functionality provided by DDE was replaced by
similar but improved functionality provided by the Component
Object Model (COM), which is itself now in the process of being
superceded by DotNet.


Merge and the like works best with ODBC in my experience.

--
David W. Fenton http://www.dfenton.com/
usenet at dfenton dot com http://www.dfenton.com/DFA/
May 26 '06 #4
DDE is one of the merge technologies supported by Word.
There isn't any particular VBA code: you just use the
appropriate Word merge method.

DDE merge underwent a resurgence with the introduction
of OLEDB/ADO. Using OLEDB, 'Queries' aren't visible
unless they are a 'view'. To restore the missing functionality,
you can't use the default merge method. Naturally,
the original method is the easiest to use.

(david)
"Larry Linson" <bo*****@localhost.not> wrote in message
news:1_sdg.6218$oa3.2470@trnddc08...
"Jaeymeson" <Ja*******@hotmail.com> wrote
From my experience when setting of new
computers and copying/sharing Access
databases to the new machines, you have
to also copy the My Data Sources.
This directory is found under the My
Documents directory. Hope this helps.


Interesting, as there is no "My Data Sources" folder on my Windows XP
system. At best, that is a default folder and many users do not follow the
Microsoft line of thinking and use those default folders as Microsoft
expected. Most likely it is a local or personal convention patterned after
the naming convention used by Microsoft.

DDE is an obsolescent technology for inter-application communication and I
suspect the source of the problem is going to lie in some VBA code in the
application. I have not used DDE in years, probably not since the days of
DOS 3.1 and 16-bit Operating Systems, so can't even offer pointers on
specifics for you to look or search for. The functionality provided by DDE
was replaced by similar but improved functionality provided by the
Component Object Model (COM), which is itself now in the process of being
superceded by DotNet.

Larry Linson
Microsoft Access MVP

May 29 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Lisa | last post by:
I have a query named QryDept where one of the fields is DeptID. The query is used for the data source of a mail merge letter. I would like to control which department is to get the mail merge...
8
by: Squirrel | last post by:
Hi everyone, I've created a mail merge Word doc. (using Office XP) , the data source is an Access query. Functionality I'm attempting to set up is: User sets a boolean field to true for...
3
by: Andy Davis | last post by:
I have set up a mail merge document in Word 2003 which gets its data from my Access 2000 database. I want to set up a button on a form that: 1. runs the query to provide the dat for the merge...
0
by: mbbostwick | last post by:
I have a problem with a mail merge procedure I used to use with Access '97. We recently converted to Office XP (2002) and I now have an issue I am unfamilliar with and have been unable to...
5
by: johnvon | last post by:
I have a mail merge that runs flawlessly in Access 2000. In 2003 I keep getting dialog boxes that I can't figure out how to supress. Several of them are telling me that Admin (me!) has the database...
6
by: crealesmith | last post by:
Firstly, I have no problem with mail merging to Word, VB code for that works perfectly. On one mail merge I need to merge 15 fields of data that are from 3 seperate records. The 3 records are all...
7
by: =?Utf-8?B?QmFkaXM=?= | last post by:
Hi, I'm trying to follow a mail merging example in C#.Net that I got from: http://support.microsoft.com/default.aspx/kb/301659 and in one the methods: Word.Application wrdApp; Word._Document...
7
by: giladp1 | last post by:
I found Albert Kallal's great "Super easy Word Merge" code in his site at: http://www.members.shaw.ca/AlbertKallal/msaccess/msaccess.html Thanks Albert so much for sharing this. I am looking...
0
by: dhvenkat | last post by:
Hi all, Im facing issues in generating the second mail-merge document when the first document created is still open. Its a web based application, and we submit the details for mail-merge after...
1
by: kayberrie | last post by:
I want to write a VBA mail merge code. I want to link the code/macro/dohicky to a nifty little button so it makes life easy. I think I can handle the button part, the code part - not so much. I know...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.