Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

TransferText Method

3 views
Skip to first unread message

Abe Katz

unread,
Mar 12, 2010, 4:10:54 PM3/12/10
to
Hello All,
I want to import a text file using the bar | as a delimiter to separate the
fields, and all the fields should come in to the table as text data type.
I cant get it to work. Can you please give me an example how to use the
Docmd.TransferText command with all the arguments.
Thanks in advance.
Abe


Gina Whipp

unread,
Mar 12, 2010, 9:17:16 PM3/12/10
to
Abe,

This would need to be set up in your Import Specification. To get a more
detailed description of how to go about that you need to tell us what
version of Access as instructions vary based on version.

--
Gina Whipp
2010 Microsoft MVP (Access)

"I feel I have been denied critical, need to know, information!" - Tremors
II

http://www.regina-whipp.com/index_files/TipList.htm

"Abe Katz" <abe...@mindspring.com> wrote in message
news:OEMwZiiw...@TK2MSFTNGP04.phx.gbl...

Abe Katz

unread,
Mar 14, 2010, 6:38:07 PM3/14/10
to
Hi Gina,
Thanks for getting back, I'm using Acc2003.
Abe


"Gina Whipp" <NotInt...@InViruses.com> wrote in message
news:F85FA58C-9C72-46F0...@microsoft.com...

Gina Whipp

unread,
Mar 14, 2010, 8:28:37 PM3/14/10
to
Abe,

Open Access...

1. Go to File - Get External Data - Import
2. Select you file on in the window that opens - Import Text Wizard click
the Advanced button...
3. Set up your specifications and don't forget to save...
4. Then use your saved Import Specification with a TransferText
statement...
-From the help file... DoCmd.TransferText acExportDelim, "Standard
Output", "External Report", "C:\Txtfiles\April.doc"

--
Gina Whipp
2010 Microsoft MVP (Access)

"I feel I have been denied critical, need to know, information!" - Tremors
II

http://www.regina-whipp.com/index_files/TipList.htm..

"Abe Katz" <abe...@mindspring.com> wrote in message

news:#Z#Rec8wK...@TK2MSFTNGP06.phx.gbl...

0 new messages