If I can figure it out I will do ODBC (but I don't even know what that
is!)
ODBC stands for "Open Database Connectivity". It's another method word can
use to get data from your database. Unlike DDE, which opens Access and uses
it to get your data, ODBC bypasses Access and works more directly with the
"database engine" called Jet which Access uses to manipulate data.
Not that that tells you anything much...
To use ODBC in Word 2000, in the Open Data Source dialog box, select your
..mdb then check "Select method" before clicking Open. You will see an
additional dialog that should offer the ODBC option if available.
The database is on the same server as the Word file. The word file is a
few folders deeper, while the database is at
a higher level (so to speak). Does that matter? Should I move the Word
file to the same level as the database?
The main reason I mention the database location is because when you make a
connection to a data source in Word, Word has to store a number of things
about the data source so it can re-open it when you next open the Word
document. Typically, it stores one or more of the full database path name, a
"connection string", and a query string such as SELECT * FROM mytable.
However, each of these things has limited storage space in Word. In
particular, the connection string is limited to 255 characters, and with
certain connection types (e.g. ODBC and the default connection method used
in Word 2002 (OLEDB) ) the connection string may include the full path name
of the database at least once. COmbined with all the other connection info.
this may mean that Word truncates the string which may mean that it does not
have all the information it needs to re-open the database.
However, if you are using DDE the connection string is typically very short
(e.g. "TABLE mytable") and the database name can probably safely be up to
255 characters, which is usually enough.
What I've done in the mean time is create a macro to link to the data
source, so now my coworker just has to do "ctrl+m"
Can you tell us what this macro contains? It may help.
--
Peter Jamieson - Word MVP
Tracy said:
Yes, I am using the default connection method (DDE) to connect
the database. I set up the merge using the wizard.
If I can figure it out I will do ODBC (but I don't even know what that is!)
The database is on the same server as the Word file. The word file is a
few folders deeper, while the database is at a higher level (so to speak).
Does that matter? Should I move the Word file to the same level as the
database?
I don't believe I have any unusual spaces or characters in the fields or db names.
What I've done in the mean time is create a macro to link to the data
source, so now my coworker just has to do "ctrl+m"