A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

TransferText Method



 
 
Thread Tools Display Modes
  #1  
Old March 12th, 2010, 09:10 PM posted to microsoft.public.access.forms
Abe Katz
external usenet poster
 
Posts: 43
Default TransferText Method

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


  #2  
Old March 13th, 2010, 02:17 AM posted to microsoft.public.access.forms
Gina Whipp
external usenet poster
 
Posts: 3,500
Default TransferText Method

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" wrote in message
...
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

  #3  
Old March 14th, 2010, 10:38 PM posted to microsoft.public.access.forms
Abe Katz
external usenet poster
 
Posts: 43
Default TransferText Method

Hi Gina,
Thanks for getting back, I'm using Acc2003.
Abe


"Gina Whipp" wrote in message
...
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" wrote in message
...
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



  #4  
Old March 15th, 2010, 12:28 AM posted to microsoft.public.access.forms
Gina Whipp
external usenet poster
 
Posts: 3,500
Default TransferText Method

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" wrote in message
...
Hi Gina,
Thanks for getting back, I'm using Acc2003.
Abe


"Gina Whipp" wrote in message
...
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" wrote in message
...
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


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 10:03 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.