The information in this article applies to:
SYMPTOMSWhen you use dynamic data exchange (DDE) to access data in Microsoft Query, the ErrorText item does not return any errors that have occurred if you have requested any of the following items: DataSourceName CAUSE
This behavior occurs if you request one of the items above in a DDE
conversation with Microsoft Query, and you then request the ErrorText
item. WORKAROUND
To work around this behavior, request the ErrorText item immediately
after you run an SQL statement that you want to check for errors.
Request the DataSourceName, Logon, or UserName items for a query
channel or active query on a system channel either before you run an
SQL statement, or after you request the ErrorText item.
Microsoft provides examples of Visual Basic procedures for illustration
only, without warranty either expressed or implied, including but not
limited to the implied warranties of merchantability and/or fitness for a
particular purpose. This Visual Basic procedure is provided 'as is' and
Microsoft does not guarantee that it can be used in all situations.
Microsoft does not support modifications of this procedure to suit customer
requirements for a particular purpose.
MORE INFORMATIONThe DataSourceName item is available when you open a DDE channel with Microsoft Query using the System topic. The Logon and UserName items are available when you open a DDE channel with Microsoft Query using the window name in Microsoft Query as the topic. REFERENCES"Microsoft Query User's Guide," Chapter 9, "Using Dynamic Data Exchange with Microsoft Query" Additional query words: 5.00 5.00c 6.00 6.00a 6.00c 7.00 officeinterop empty null blank
Keywords : xlquery |
Last Reviewed: September 16, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |