WD: Queries Tab Not Available When Using Access via ODBC

Last reviewed: February 4, 1998
Article ID: Q110653
The information in this article applies to:
  • Microsoft Word for Windows, versions 6.0, 6.0a, 6.0c
  • Microsoft Word for Windows 95, versions 7.0, 7.0a
  • Microsoft Word 97 for Windows

SYMPTOMS

When you use a Microsoft Access database file by means of ODBC as a mail merge data source or as a DATABASE field, the Queries tab (as pictured on page 678 in the Word 6.0 User’s Guide) is not available. with

CAUSE

Microsoft Access must be running to generate the results of a query. ODBC drivers do not activate the source application; they access the data file created by the application.

WORKAROUND

To use an Access query as a data source, open the file using dynamic data exchange (DDE) rather than ODBC.

If DDE is not available:

  1. If Microsoft Access is not installed on the computer, install it. If Access is installed, then remove Access through its setup program and then re-install Access.

  2. Make sure the Confirm Conversions option is selected in the Open Data Source dialog box. Also, verify that the following line is in the [Extensions] section of your WIN.INI file

          MDB=<path>\msaccess.exe  ^.MDB
    

    where <path> is the location of the Access program directory. For example:

          MDB=C:\ACCESS\msaccess.exe  ^.MDB
    


Additional query words: 6.0 datafile datasource winword 6.0a
6.0c word6 word97
Keywords : kbusage
Version : 6.0 6.0a 6.0c 7.0 7.0a 97
Platform : WINDOWS


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: February 4, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.