Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

exporting fixed width text

Forum home » Delegate support and help forum » Microsoft Access Training and help » Exporting fixed width text file

Exporting fixed width text file

ResolvedVersion 2003

Lyndsey has attended:
Excel VBA Intro Intermediate course

Exporting fixed width text file

Hi

I am trying to export a fixed width text file using a spec I have built. The field in the table is a text formated field (but is a number with no decimals) and when I view the data in the export wizard it looks as it does in the table (149).

The problem is once I have exported the data Access is adding decimals to the field.

RE: exporting fixed width text file

Hi Lyndsey, thanks for your query. I'm afraid you've noticed one of the many small but irritating quirks involved in getting data from one MS application to another. There is no application setting you can tweak to avoid this happening, but there are two work arounds; namely importing into an already formatted table in Access, or running Append queries on the imported data to reformat it. Details here:

http://www.pcreview.co.uk/forums/thread-3177847.php

I hope this helps, but let me know if you need any more assistance.

Anthony

RE: exporting fixed width text file

Hi Anthony,

It's actually when I'm getting data out of access rather than importing it.

I need to end up with a .txt fixed with file to load into the company AS400 database.

Lotus approach can do it but I'm loathed to go back to that!

 

Training courses

Training information:

See also:

Welcome. Please choose your application (eg. Excel) and then post your question.

Our Microsoft Qualified trainers will then respond within 24 hours (working days).

Frequently Asked Questions
What does 'Resolved' mean?

Any suggestions, questions or comments? Please post in the Improve the forum thread.

Access tip:

How To Find All Overdue Accounts?

To find overdue accounts create a filter that compares today's date with the Invoice Date in the table. To do this:

1. Open the Query in Design View
2. Select the field for the filter and in the criteria row enter:

<Date()

This filter returns records where the Invoice Date is before today's date.

This filter can be manipulated if, for instance, Invoices are due 15 days after the Invoice Date. For this the filter would be:

<Date()-15

This filter returns records where the Invoice Date is 15 days before today's date.

View all Access hints and tips

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.11 secs.