DB.LOGON Required Before DB.SQL.QUERY To A SQL ServerLast reviewed: November 4, 1994Article ID: Q85574 |
Summary:
When using the DB.Functions provided by QE.XLA to query an SQL Server table, it is necessary to use DB.LOGON("SQLServer") prior to sending the DB.SQL.QUERY() command. Otherwise, the DB.SQL.QUERY statement will fail and the result of the DB.SQL.QUERY will be a #REF!. More Information: The DB.SQL.QUERY command in the QE.XLA tests what sources are available before allowing the query. If the source in the query is not available, the macro fails and returns a #REF!.
Steps to Reproduce Problem
"Q+E for Microsoft Excel User's Guide," pages 69-72
|
KBCategory: kbother
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |