Microsoft Office Forums


Reply
Thread Tools Display Modes

Importing Fixed Width Text

 
 
Duane
Guest
Posts: n/a

 
      04-27-2007, 08:41 PM
I have a text file that I would like to import into a table using a macro,
but I am having difficultly understanding the help file.

1. Selected TransferText from the Action Window.
2. Transfer Type = Import Fixed Width
3. Specification Name ??????
4. Table Name = Test
5. File Name = C:\Temp\175updt.txt
6. Field Names = No

I am confused with the Specification Name. I have read the help file but I
am unsure what arguement to use and the schema.ini thing lost me. Sure
would appeciate some assistance.

Thank you


 
Reply With Quote
 
 
 
 
Graham Mandeno
Guest
Posts: n/a

 
      04-27-2007, 11:47 PM
Hi Duane

Do the first import by hand, using File->Get external data.

After you have specified all the field names and types and widths, click the
"Advanced" button, and save the specification with a meaningful name.

Then you can use the name in place of ??????.
--
Good Luck :-)

Graham Mandeno [Access MVP]
Auckland, New Zealand

"Duane" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>I have a text file that I would like to import into a table using a macro,
>but I am having difficultly understanding the help file.
>
> 1. Selected TransferText from the Action Window.
> 2. Transfer Type = Import Fixed Width
> 3. Specification Name ??????
> 4. Table Name = Test
> 5. File Name = C:\Temp\175updt.txt
> 6. Field Names = No
>
> I am confused with the Specification Name. I have read the help file but
> I am unsure what arguement to use and the schema.ini thing lost me. Sure
> would appeciate some assistance.
>
> Thank you
>



 
Reply With Quote
 
Duane
Guest
Posts: n/a

 
      04-28-2007, 09:34 PM
Thanks Graham! It was much easier than I thought it would be.


"Graham Mandeno" <(E-Mail Removed)> wrote in message
news:A08FF401-0B72-4BFE-A3F4-(E-Mail Removed)...
> Hi Duane
>
> Do the first import by hand, using File->Get external data.
>
> After you have specified all the field names and types and widths, click
> the "Advanced" button, and save the specification with a meaningful name.
>
> Then you can use the name in place of ??????.
> --
> Good Luck :-)
>
> Graham Mandeno [Access MVP]
> Auckland, New Zealand
>
> "Duane" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>>I have a text file that I would like to import into a table using a macro,
>>but I am having difficultly understanding the help file.
>>
>> 1. Selected TransferText from the Action Window.
>> 2. Transfer Type = Import Fixed Width
>> 3. Specification Name ??????
>> 4. Table Name = Test
>> 5. File Name = C:\Temp\175updt.txt
>> 6. Field Names = No
>>
>> I am confused with the Specification Name. I have read the help file but
>> I am unsure what arguement to use and the schema.ini thing lost me. Sure
>> would appeciate some assistance.
>>
>> Thank you
>>

>
>



 
Reply With Quote
 
 
 
Reply

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Exporting fixed width data David Widener Access Newsgroup 1 07-22-2006 07:31 PM
RE: Proportional/fixed width fonts Christina PowerPoint Newsgroup 1 03-21-2006 05:41 PM
Exporting fixed width gstep Access Newsgroup 5 07-12-2005 03:15 PM
Creating fixed width text files in Access 2003 Byzantine Access Newsgroup 7 12-13-2004 09:09 AM
Exporting a fixed-width file psweeney44 Access Newsgroup 6 10-16-2004 02:03 AM



All times are GMT. The time now is 02:10 PM.