Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Mailmerge and Fax / April 2004

Tip: Looking for answers? Try searching our database.

Error trying to insert database for use in a merge

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
jeff - 26 Apr 2004 20:07 GMT
Trying to setup a WORD merge using data from an Informix
Database.  I have successfully set up the ODBC drivers and
was able to successfully setup and execute a M.S. Access
passthru query to read a table from an Informix database.

When trying to perform the same setup in Word to insert a
database and select the table I want to use, using the
data connection wizard I'm able to set up the connection
and have it display all the tables in my datbase. When I
select a table I wish to query and click on the "FINISH"
button, I get the error:

WORD can't open +connect to new data source as a data or
headers source becuase it contains no data.  I'm trying to
connect to the same database/table that I am able to do in
Access?

Any thought on what I might be missing?
Thanks
Peter Jamieson - 27 Apr 2004 12:48 GMT
There are typically two problems in this area:
a. the ODBC connection string exceeds a 255-character limit
b. login/password information is required to get the data. Even if you have
specified the necessary security info (login/password) for your Informix
database when you set up the connection, Word may not retain it. I don't
have Informix here so cannot test the specifics on this one, but with SQL
Server I have generally had to do one of the following:
- create a file .dsn and put the login/password info in there
- use VBA and OpenDataSource to specify the login/password in the
connection string (if it's a mailmerge source)
- put the security info in the connection string (if it's a DATABASE
field).

Signature

Peter Jamieson - Word MVP
Word MVP web site http://word.mvps.org/

> Trying to setup a WORD merge using data from an Informix
> Database.  I have successfully set up the ODBC drivers and
[quoted text clipped - 15 lines]
> Any thought on what I might be missing?
> Thanks
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.