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 / February 2007

Tip: Looking for answers? Try searching our database.

transfer selected data from text file to Access

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
charlene - 27 Feb 2007 03:51 GMT
Hi, I need help with this. I have text files containing a whole list of
information. But I would like to select specific datas from the whole list to
be transfered automatically to my Access form's fields.

Thanks alot!
John Nurick - 27 Feb 2007 20:18 GMT
Hi Charlene,

I'm not sure what you mean by "a whole list of information". If these
are ordinary text files of data, try this:

1) Use File|Get External Data|Link to create a linked table connected to
the text file.

2) Create an ordinary Select query that gets its data from the linked
table and includes only the fields you need. If you only want some of
the rows from the linked table, set the appropriate criteria.

3) Once the Select query is selecting the data you need, turn it into an
Append query (by selecting Append Query... from the Query menu). Set it
to append its data to the table on which your Access form is based. For
each field in the query, select the appropriate field in the destination
table.

4) Run the query.

5) Delete the linked table.

If there's something unusual about the files, you'll need to explain it.

>Hi, I need help with this. I have text files containing a whole list of
>information. But I would like to select specific datas from the whole list to
>be transfered automatically to my Access form's fields.
>
>Thanks alot!

--
John Nurick [Microsoft Access MVP]

Please respond in the newsgroup and not by email.
 
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.