spacer
spacer

Visual Basic & VB.NET resources | VBprofs.com

Google
 
Main Menu
Home
IT News
Articles
Source Codes
Books
Calendar of Events
Publish your Content
Links Directory
Reviews and Recs
Premium Content
 VBprofs Premium Content Become a member to get access to our premium content! 

 Membership is entirely free, and allows you to:
  •  access programming projects posted by our partners;
  •  publish your articles, news, links;
  •  publish a project request;
  •  access our VB Careers section.
Polls
How did you reach VBprofs.com?
  
Which is your favorite programming language?
  
Related Items
 
Home arrow Articles arrow Documentation arrow Importing your Text Files Into Microsoft Access

Importing your Text Files Into Microsoft Access PDF Print E-mail
Written by Sezer Bozkurt   
DocumentationMost of us have documents spread over several type of files such as excel spreadsheet, text files, PDF’s and more. Consolidating these files into an organized Microsoft Access Database may seem difficult at first, but I will show you it’s quite simple.

Firstly you will need to know where your text file is saved. Once this is done open up your access database. If you don’t already have an access database open a blank database and save it onto your hard drive.

Once this is done look at the blank screen when the “tables” tab is clicked on. Right click on the blank screen and select “import”. Once this is done you will get a browse screen to select the file you want to import. Change the file type from access mdb to text file. Then the screen will show you all the text files that are available. Double click on the text file you wish to import.

Once this is done you will need to run through the wizard to determine the way you want the data from the text file to be organized. You will need to select things such as the delimiter (the character that will divide your columns), which fields you wish to import and the data types you want those fields to be. This is quite simple and should only take you a couple of minutes.

Once you click finish access will bring up a message saying your table has successfully been imported. If there were problems during the import process these erroneous records will be pasted into another table in your database. The default name of this table is “paste errors”. These errors are usually due to the data types you specified so it pays to go back over your import process and see what might be causing the problem. Looking inside the “paste errors” table at the erroneous records will give you a good idea of what went wrong.

Article Source: http://www.articledashboard.com

For great reviews on Plasma Television models visit our Plasma Television website

Next >

 
Antivirus Shop
BitDefender Antivirus v10
Newsflash

PowerRefresh 1.0 released!
A simple yet extremely useful tool for webmasters, publishers and SEO working bees: PowerRefresh allows you to automatically refresh your IE windows every x minutes. It can handle unlimited number of windows and, unlike similar applications, is using full browsers.


Get PowerRefresh from Kaloyani.com: download
Login Form
Username

Password

Remember me
Forgotten your password?
No account yet? Create one
Popular

VBprofs.com - online resources for Visual Basic and VB.NET professionals: Visual Basic and VB.NET articles, industry news and events, career tools, VB / VB.NET books, calendar and much more. VBprofs.com is an interactive web site with free membership.
(c) Copyright 2005 - 2006 by VBprofs.com
powered by Mambo Open Source Software
spacer