PC Review


Reply
Thread Tools Rate Thread

Creating import specification doesn't work. What to do?

 
 
Sirritys
Guest
Posts: n/a
 
      2nd Nov 2006
Hi,

I'm experiencing very strange problem. I'm importing files to access
like I would normally do: hit "advanced" and create new fields to
profile. The thing is that when I try to save specification or press
"OK" to go further Access simply undo's all the new fields I have
created.

What's going on ? What do I do wrong?

example:

import--> select wanted txt file (fixed limits) --> advanced --> Access
shows me Field1, Field2 and Field3. Everything fine so far.
Now when I type ie. field4 and set its datatype, width, start etc...
Still everything fine.

But then ---> If I hit "OK" or "Save as" the field4 I just typed
dissappears.

I've tried evertyhing, and just don't get what I'm doing wrong.
Starting to feel pretty stupid at this point =)


Regards,
Sirritys

 
Reply With Quote
 
 
 
 
Granny Spitz via AccessMonster.com
Guest
Posts: n/a
 
      2nd Nov 2006
Sirritys wrote:
> What's going on ? What do I do wrong?


Hon, you need to add the 4th column to the text file and then you can alter
its name, data type, etc. in the specification. You can only *create* new
columns in the text file you're importing and while in the table's design
view (or use SQL or VBA to do this programmatically).

--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/For...ccess/200611/1

 
Reply With Quote
 
Sirritys
Guest
Posts: n/a
 
      2nd Nov 2006
What do you mean by "creating new columns in the txt file"

I have a file that has no columns, its just charachters and spaces.
Width of a row is about 500. So there are no recoqnizable columns. Just
data.

Now when I'm trying to tell excel how data is structured as columns it
won't allow me to do that.




Granny Spitz via AccessMonster.com wrote:
> Sirritys wrote:
> > What's going on ? What do I do wrong?

>
> Hon, you need to add the 4th column to the text file and then you can alter
> its name, data type, etc. in the specification. You can only *create* new
> columns in the text file you're importing and while in the table's design
> view (or use SQL or VBA to do this programmatically).
>
> --
> Message posted via AccessMonster.com
> http://www.accessmonster.com/Uwe/For...ccess/200611/1


 
Reply With Quote
 
Granny Spitz via AccessMonster.com
Guest
Posts: n/a
 
      2nd Nov 2006
Sirritys wrote:
> What do you mean by "creating new columns in the txt file"


You *create* new columns by typing more data in the text file for each record
that Access can read and identify as individual columns during the import.
This record in the text file has 3 columns:

492 11/2/2006 Smith

In the "advanced" import specification the column names Field1, Field2 and
Field3 can be changed to EmpID, HireDate and LastName. If there's no
additional data in the file, new columns *can't* be added in the import
specification.

You can add data to this record in the text file so it has 5 columns:

492 11/2/2006 Smith John Manager

The import manager will show 5 columns for you to rename or skip in your
specification. You can't add a 6th column in the specification because
there's no data in the text file for a 6th column.

--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/For...ccess/200611/1

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ACT 7.0 import doesn't work Christopher M. Leger Microsoft Outlook BCM 3 31st Jan 2007 10:23 PM
transfer text - creating an import specification =?Utf-8?B?Sk1HIGF0IFJNV0M=?= Microsoft Access Macros 0 24th Mar 2005 03:09 PM
Import Text Wizard Specification template, import/copy from one mdb to another? Kevin Microsoft Access Getting Started 3 9th Sep 2004 11:46 PM
import doesn't work Jan Hx. Microsoft Access VBA Modules 1 26th Oct 2003 07:52 PM
Import .dat file doesn't work Chuck Microsoft Access External Data 1 17th Sep 2003 09:24 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:55 PM.