3D Database - Your Mega Site for News, Forums, Movies, Graphics, Games, Electronics, Animation, and more. Everything 3D in one Ultimate Site
  • 3D
    • 3D Database Blog
    • New Page
    • 3D Forums
    • 3D News
    • What is 3D >
      • 3D Animation Wiki
    • Holograms
  • 3D TVs
    • 3D TV Review Articles
    • 3D Samsung HDTVs >
      • Samsung 55-Inch 1080p 240 Hz 3D LED HDTV
      • Samsung 50-Inch 1080p 3D Plasma HDTV
      • Samsung 46-Inch 1080p 240 Hz 3D LED HDTV
    • 3D TV News >
      • 3D TV channels/on demand >
        • Dish Network
        • Directv HD 3D
        • Virgin 3D on demand
        • Discovery Chanel in 3d
        • ESPN in 3D
    • 3D Blu-Ray/DVD players
    • 3D Printers
    • 3D Cameras >
      • Panasonic 3D Camera
    • 3D Projectors
    • 3D SmartPhones >
      • 3D LG Smartphone
      • 3D Samsung smartphone
      • 3D Sharp Smartphone
    • 3D Mouse
    • 3D Glasses >
      • 3D Designer Sunglasses
  • 3D Software
    • 3D Animation Software >
      • 3Ds Max Design 2011 >
        • 3Ds Max Video (2010)
        • 3Ds Max Video #2 (2011)
        • 3Ds Max Video #3
        • 3Ds Max Video #4 (2010)
      • Autodesk Maya 2011 >
        • Maya 2011 3D Tutorials/Essential Training
      • Craft Director Studio
    • 3D Graphics >
      • 3D GPU (Graphics Processing Unit)
      • 3D Models >
        • Free 3D Models
      • 3D Wallpaper >
        • 3D Wallpaper 2
      • 3D Clip-Art
    • 3D Engine >
      • Esenthel Engine
      • Q Engine
      • Demoniak3D - 3D Software
      • Nebula Device
  • 3D Movies
    • 3D Movie Database
    • 3D Movie History
    • 3D Movies in Theaters Now
    • 3D Blu-Ray/DVDs
    • 3D Animation >
      • 3D Animation Movies
  • 3D Ultrasound
    • 3D Ultrasound Imaging
    • 3D Imaging >
      • 3D Medical Games
      • 3D Medical >
        • 3D Google Body Browser
        • 3D Models Medical >
          • 3D Medical Model Brain/Skull
          • 3D Medical Models Inner Organs
        • 3D Medical Imaging >
          • 3d Mri Imaging
          • 3d X Ray Imaging
        • 3D Medical Anamation Library >
          • 3D Antibody Immune Response
          • 3D Breast Cancer Surgery
          • 3D Cancer
          • 3D Cataract Surgery
          • 3D DNA
          • 3D Gallbladder Surgery
          • 3D Heart Attack
          • 3D Inguinal Hernia Surgery Repair
          • 3D LASIK Eye Surgery
          • 3D Pulmonary Embolism DVT
  • 3D Games
    • 3D Game News
    • 3D Games to Download
    • 3D Dot Game Heroes
    • Nintendo 3DS >
      • Nintendo 3DS Games
    • 3D Game Console(s) >
      • 3D PS3

Importing Text Files Into An Ms Access Database

7/1/2011

0 Comments

 
In some of the MS Access databases that you develop, there may be a need to import data from text files, also referred to as ASCII files or flat files. Let's look at the menu methods available to you.

Under the File menu, there is an entry named "Get External Data", and then "Import...". The extra "..." indicates that when you choose that entry, a dialogue box will appear on the screen to ask you for further details.

The next step is to change the "Files of type:" entry to show "Text Files (*.txt;*.csv;*.tab;*.asc)". A good habit is to always use the .txt extension for text files. Thus, they will appear under that choice and you can quickly look for the file you want to import.

Generally speaking, your text files should either have their "fields" separated by a delimiter (usually a comma or a tab, but can also be a space, semicolon, or any other chosen character), or they may be in fixed widths where each field always takes the exact same space in each record.

Let's look at the delimited style first. The fields will be automatically sensed by Access as per the delimiters. Subsequent dialogue box screens will ask you to indicate if the first row in the text file has field names, pick a table for the data (if you do not have one predesigned, Access will build it for you), designate field names if needed, adjust field types (Access tries to predetermine the types), indicate if the field should be indexed, tell MS Access to skip a field, add a primary key if it is creating a new table for your data, and finally, name the table if you chose to create a new one. If you are importing the data into a temporary table (a common process) use the defaults.

If your data is in fixed format, the main difference in the above is that you must verify the field boundaries in the data. If your data is all filled in (ie. no spaces) Access will not be able to guess where the fields end. Note that the dialogue box that you get in this case has instructions on how to create, delete, or move a field break line. A little experimentation will get you sucessfully on your way quickly.
0 Comments



Leave a Reply.

    Archives

    July 2011

    Categories

    All
    Apartment
    Apartment Finder
    Apartment Locator
    Apartment Locators
    Apartment Rentals
    Apartments
    Apartment Search
    Apartments For Rent
    Campaign
    Contact
    Create Excel Database
    Custom
    Database
    Database Developers
    Database Management
    Database Marketing
    Design
    Development
    Direct Marketing Support Services
    Distribution Logistics
    Excel Database
    Excel Shortcuts
    Internet
    IT-marketing
    Joint Ventures
    Mailing List Database Management
    Mangement
    Marketing
    Ms Access
    Promotions
    Real Estate
    Relocating
    Relocation
    Rent
    Renting
    Roommate
    Roommates
    Seo
    Tips On Microsoft Excel

    RSS Feed

Powered by Create your own unique website with customizable templates.