exporting fixed width text
The UK's Number 1 for Microsoft Office Training Add this page to your favourites/bookmarksBookmark page
 
View printable version of pagePrintable version
Plus One Google
Customer: Sign in
Delegate: Sign in
Trainer: Log in

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

Exporting fixed width text file

resolvedResolved · Medium Priority · Version 2003

replyReply Tue 19 Oct 2010, 12:55Delegate Lyndsey said...

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.

For upcoming training course dates see: Pricing & availability

replyReply Fri 22 Oct 2010, 16:10Trainer Anthony said...

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

replyReply Wed 27 Oct 2010, 12:20Delegate Lyndsey said...

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!

 

Please browse our web site to find out more about
access+course and other Microsoft training courses.

Access tip:

Using the Quick Access Toolbar in Access 2010

The Quick Access Toolbar is included in virtually every Office product, including Outlook 2010, Word 2010, Excel 2010, and PowerPoint 2010.

You will find the Quick Access Toolbar in the top-left side of the window. To begin, click the Customize button (it's the little black arrow at the end of the toolbar).

Simply click the commands you want to include.

Virtually any command can be added to the Quick Access Toolbar. Click the More Commands option and a new window will open from where you can browse the commands including those not on the ribbon.

View all Access hints and tips


Microsoft Certified Partner Accredited Training Provider: Institute of IT Training Institute of Leadership and Management - Certified Courses Security Seal verified by visa, mastercard securecard