ACC1x: Error Message Using Access Basic to Import FileLast reviewed: June 3, 1997Article ID: Q109952 |
The information in this article applies to:
SYMPTOMSYou receive an "Application Error" message or a general protection (GP) fault when you use Access Basic code to import files into Microsoft Access.
CAUSEThis problem occurs if you use the DoMenuItem action to open the Import dialog box.
RESOLUTIONUse the TransferDatabase, TransferSpreadsheet, or TransferText action instead of the DoMenuItem action.
STATUSMicrosoft has confirmed this to be a problem in Microsoft Access versions 1.0 and 1.1. This problem no longer occurs in Microsoft Access version 2.0.
MORE INFORMATION
Steps to Reproduce ProblemNOTE: This article assumes that you are familiar with Access Basic and with creating Microsoft Access applications using the programming tools provided with Microsoft Access. For more information on Access Basic, please refer to the "Introduction to Programming" manual.
The following sample function demonstrates how to use the TransferText action to import a Text (Delimited) file:
ReferencesMicrosoft Access "Language Reference," version 1.1, pages 479-481
|
Additional query words: gpf transfer text
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |