The information in this article applies to:
SYMPTOMSModerate: Requires basic macro, coding, and interoperability skills.
CAUSEYou cannot use the OutputTo method in Visual Basic for Applications to output form or report modules. Form or report modules are class modules that contain code that is local to the form or report. They do not appear in the Database window as standard modules do. You can output only modules that appear in the Database window with the OutputTo method. RESOLUTION
When you use the OutputTo method, only output standard modules and class
modules that are not associated with any form or report.
MORE INFORMATIONThe "OutputTo" topic in Microsoft Access Help states that you can output a module (standard or class) to a file in MS-DOS Text format. However, the only class modules that you can output are those that appear on the Modules tab in the Database window. Steps to Reproduce Behavior
REFERENCESFor more information about using the OutputTo method to output a module, search the Help Index for "OutputTo," and then "OutputTo Method" or ask the Microsoft Access 97 Office Assistant. Additional query words:
Keywords : kberrmsg kbprg AccCon |
Last Reviewed: September 30, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |