The information in this article applies to:
SUMMARYMicrosoft Query 97 uses a new database query (.dqy) file format. This article discusses the new format and how to use it with earlier versions of Microsoft Query. MORE INFORMATION
The database query format is the default file format that is used when you
use the Save command in Microsoft Query 97. For backward compatibility,
Microsoft Query 97 continues to support Microsoft Query version 1.0 and
2.0 (.qry) files when you save and load these files. When you open a .qry
file and edit it in Microsoft Query 97, features that cannot be
represented in the .qry file format are not available. For example,
parameterized query functionality is not available because this feature is
not available in earlier versions of Microsoft Query. Also, if you create
a query in Microsoft Query 97 and use features that are not supported in
earlier versions, you cannot to save the .dqy file as a .qry file until
you remove the new functionality.
where XLODBC is the type, 1 refers to Microsoft Query 97, and the
<Parameter names>, <Parameter data types>, and <Column names> lines are
tab delimited.
Sample Database Query (.dqy) FileIn the following example, text is wrapped to allow you to view it easily. In an actual .dqy text file, the connection string and SQL string text is not wrapped. Each text string appears on an individual line. The following is a sample .dqy file:
REFERENCESFor more information about using database query (.dqy) files, click the Index tab in Microsoft Query Help, type the following text saving queriesand then double-click the selected text to go to the "Save a query" topic. For more information about running a query from Microsoft Excel, click the Index tab in Microsoft Query Help, type the following text dqy filesand then double-click the selected text to go to the "Run a query" topic. For more information about creating a parameter query from Microsoft Excel, click the Index tab in Microsoft Excel Help, type the following text parameter queriesand then double-click the selected text to go to the "Create a query that prompts for criteria" topic. Additional query words: 8.0 XL97
Keywords : kbtool kbualink97 xlquery |
Last Reviewed: October 28, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |