ACC2000: How to Export Right- or Left-Aligned Fields to a Text File (210052)
The information in this article applies to:
This article was previously published under Q210052 Moderate: Requires basic macro, coding, and interoperability skills.
This article applies only to a Microsoft Access database (.mdb).
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).
REFERENCES
For more information about how to use the sample code in this article, click
the article number below to view the article in the Microsoft Knowledge
Base:
212536
OFF2000: How to Run Sample Code from Knowledge Base Articles
For more information about programmatically writing data to files, in the Visual Basic Editor, click Microsoft Visual Basic Help on the Help menu, type open statement in the Office Assistant or the Answer Wizard, and then click Search to view the topic. For additional information about an alternative solution to right-aligning number fields only, click the article number below
to view the article in the Microsoft Knowledge Base:
201115 ACC2000: Exporting to Fixed-Width Text File Left-Aligns Numbers
Modification Type: | Minor | Last Reviewed: | 4/22/2003 |
---|
Keywords: | kbhowto kbinfo kbProgramming KB210052 |
---|
|