Wrox Programmer Forums
|
Access VBA Discuss using VBA for Access programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access VBA section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 3rd, 2006, 06:55 PM
Friend of Wrox
 
Join Date: Jul 2003
Posts: 112
Thanks: 0
Thanked 0 Times in 0 Posts
Default Automate import (fixed width)

I am attempting to automate the import of a text file (fixed with fields). I have created a fixed width import specification using the "Advanced" button on the import wizard form and saved it.

Now I would like to automate the import of this text file, while also being able to specify/use the previously saved field width specification.

Does anyone know how might do this? I am familiar with VBA TransferDatabase method, but can't seem to find where one can specify the name of the saved import SPEC.

Any help would be appreciated.

EDIT: Never mind (when all else fails turn to the documentation!) --> DoCmd.TransferText





Similar Threads
Thread Thread Starter Forum Replies Last Post
Importing Fixed Width .txt Document and Then Some! Diretemus Access VBA 8 March 26th, 2008 07:27 AM
Fixed Width text file to MSDE with C# mgudmund C# 2005 3 November 9th, 2007 05:09 AM
CSS for fixed width li and right aligned text echovue CSS Cascading Style Sheets 2 March 12th, 2007 02:21 PM
Import a fixed width txt file to access subhanak Access VBA 12 May 5th, 2006 05:35 AM
DTS Fixed Width File Import rochak SQL Server DTS 3 September 26th, 2005 09:12 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.