SAMPLE: OUTPUTAS - Sample Application

PSS ID Number: Q103302
Article last modified on 08-24-1993

3.10
WINDOWS

----------------------------------------------------------------------
The information in this article applies to:

 - Microsoft Windows Software Development Kit (SDK) for Windows
   version 3.1
----------------------------------------------------------------------

OUTPUTAS: Saves Microsoft Access Reports in BIFF, RTF, and ASCII
Formats
OUTPUTAS is an extension to Microsoft Access that allows you to
save report output in text files, in a Microsoft Excel spreadsheet,
or in Microsoft Word document format.
Rather than previewing or printing a report in Microsoft Access, you
may want to save it in a file format that can be read by another
program (for example, by a spreadsheet application or a
word-processor). OUTPUTAS adds the Save Report As command to the Help
menu in your copy of Microsoft Access. This command allows you to
create the following file formats:
 - BIFF (binary interchange file format; Microsoft Excel version 3 and
   later)
 - RTF (rich text format; Microsoft standard document interchange)
 - ASCII (American standard code for information interchange;
   text-only format)
To add the Save Report As command to your copy of Microsoft Access:
1. Copy OUTPUTAS.DLL to your Microsoft Access installation directory
   or to your Windows directory.
2. Copy OUTPUTAS.MDA to your Microsoft Access installation directory.
3. Open the MSACCESS.INI file from your Windows directory, and add the
   following option to the [Libraries] section:
      >c:\MyMicrosoftAccessDirectory\outputas.mda=ro
4. Create a new section in the MSACCESS.INI file with the following
   information:
      [Menu Add-Ins]
      Save Report As==SaveReportAs()
   Note that you must enter two equal signs.
5. Restart Microsoft Access.
See the OUTPUTAS.TXT file for usage instructions.
OUTPUTAS is one of several samples and tools that demonstrate what
other developers have done with Microsoft Access databases. These
tools have not been tested, although some of them have been around for
a while. The Microsoft Access tools are not supported by Microsoft
Product Support Services (PSS) or on CompuServe; please use these
tools at your own risk.
OUTPUTAS was built and tested under Microsoft Access version 1.0.
KEYWORDS: CD4
For Microsoft OnLine customers, OUTPUTAS is available in the
Software/Data Library as 4X86.ZIP and can be found by searching on the
word OUTPUTAS, the Q number of this article, or S14261. For CompuServe
Customers, OUTPUTAS can be downloaded from the file 4-86.ZIP in
library section number 4 of the MSDNLIB forum. OUTPUTAS was archived
using the PKware file-compression utility.

Additional reference words: 3.10
KBCategory:
KBSubcategory:
Copyright Microsoft Corporation 1993.