Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Importing / Linking / July 2007

Tip: Looking for answers? Try searching our database.

Modify an error in linking to a text file

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
CW - 18 Jul 2007 11:22 GMT
I made an error while defining the data type in a particular field in the
linked table, which is a .txt file.
Everything else is fine, but I said one field was a Number and in fact it is
Text so of course it does not display correctly in my Access table.
It is not possible to modify the data type in Table/Design, so how can I
correct this?
(I did not create and save an Import Spec for the import process). I cannot
find any way of getting into the definitions, to make the change. Surely I
don't have to create the whole link all over again, do I???
Thanks
CW
j.mapson.nurick@dial.pipex.com - 18 Jul 2007 16:51 GMT
Hi CW,

Access creates an import/export specification for itself even if you
don't explicitly save one. Here's one way to proceed:

1) File|Get External Data|Link

2) Select the text file in question.

3) Click the Advanced... button in the text import wizard.

4) Click the Specs... button in the next dialog, select the right
specification (the automatically assigned names are obvious), and
click Open.

5) Modify the specification as needed, click Save As... and save under
the same name.

Next time you open the linked table, it should use the modified
specification.

If you use Tools|Options|View to display hidden and system objects,
you can see how the specifications are stored in MSysIMEXSpecs and
MSysIMEXColumns. The specification used by each linked table is stored
in the Connect column of the table's record in MSysObjects.

>I made an error while defining the data type in a particular field in the
>linked table, which is a .txt file.
[quoted text clipped - 7 lines]
>Thanks
>CW
--
John Nurick - Access MVP
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.