ACC: How to Export Right-Aligned Fields to a Text File (95/97) (150401)
The information in this article applies to:
- Microsoft Access for Windows 95 7.0
- Microsoft Access 97
This article was previously published under Q150401
Moderate: Requires basic macro, coding, and interoperability skills.
SUMMARY
This article shows you two methods that you can use to create a fixed-width
text file that enables fields to be either left- or right-aligned (justified).
This article assumes that you are familiar with Visual Basic for
Applications and with creating Microsoft Access applications using the
programming tools provided with Microsoft Access. For more information
about Visual Basic for Applications, please refer to your version of the
"Building Applications with Microsoft Access" manual.
REFERENCES
For an example of this information for Microsoft Access versions 1.x and
2.0, please see the following article in the Microsoft Knowledge Base:
148444 Exporting Right-Aligned Fields to a Text File (1.x, 2.0)
For more information about programmatically writing data to files,
search the Help Index for "Open statement" or ask the Microsoft Access
97 Office Assistant.
For more information and an alternative solution to right-justify number
fields only, please see the following article in the Microsoft Knowledge
Base:
98663 Exporting to Fixed-Width Text File Left-Aligns Numbers
Modification Type: | Minor | Last Reviewed: | 10/11/2006 |
---|
Keywords: | kbhowto kbProgramming KB150401 |
---|
|