MSQUERY: Application Error With Microsoft Access ODBC DriverLast reviewed: September 13, 1996Article ID: Q149773 |
The information in this article applies to:
SYMPTOMSIf you use DDERequest to retrieve a list of tables from a Microsoft Access database, you may receive one of the following error messages, depending on which version of Microsoft Excel and Microsoft Query you are using:
Microsoft Excel version 5.0 or 5.0c and Microsoft Query version 1.0
MSQUERY caused a general protection fault in module MSQUERY.EXE at 0017:00003537 Microsoft Excel version 7.0 and 7.0a and Microsoft Query version 2.0
MSQRY32 caused an invalid page fault in module MSQRY32.EXE at 0137:0047e661 CAUSEYou may experience this behavior, if the following is true:
WORKAROUNDYou can avoid the error symptoms by leaving the User argument blank. The Table data will be returned based upon the currently connected User:
<Table Array> DDERequest(<Channel>, _ "Tables/<DataSourceName>//<Database>"where <Table Array> is the name of the variable assigned to hold the returned value, <Channel> is the DDE to Microsoft Query channel variable, <DataSourceName> is the specified Data Source Name, and <Database> is the specified Database Name. If you use a Table Array variable of TableArray, a Data Source Name of "Access 7.0 NWind", and a Database Name (location) of C:\Msoffice\Access\Samples\Northwind, then the DDERequest statement would look similar to the following:
TableArray = DDERequest("Access 7.0 NWind"// _ & "C:\MSOFFICE\ACCESS\SAMPLES\NORTHWIND") REFERENCESFor additional information about the syntax of this DDERequest statement, see the "Microsoft Query 1.0 User's Guide," Chapter 9, "Using Dynamic Data Exchange with Microsoft Query."
|
KBCategory: kbtool kberrmsg
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |