Hey!
The .DAT extension may well have been used by a number older programming languages, but I know for a fact it was the "official" data file extension for programs developed in Microsoft's QuickBasic 4.5; QB 4.5 was the code engine that Visual Basic was built around. These programs were DOS based, and both sequential access and random access data files used the .DAT extension. Since the files are in ASCII, they were probably sequential access files, which really does make your job easier. As Ormsk said, they will probably be delimited with a comma, but could use a semicolon, tab or even a space instead. Since you said you haven't an idea as to how to go about converting the file(s), I'll list the steps briefly:
1) First off, Right Click on the file(s) and rename them, replacig the .DAT extension with .TXT (Acess doesn't recognize .DAT as a text file)
2) Go to your menu and chose FILE >> GET EXTERNAL DATA >> IMPORT
3) Below the window open up the FILES of TYPE box and choose "TEXT FILES"
4) Go to directory where the file(s) reside and DOUBLE-CLICK THE FILE TO SELECT
5) At this point Access will try to make an intelligent guess as to whether the file records are delimited or fixed length. Assuming you saw some kind of delimiter when you viewed the file, select this option.
6) Next Access will ask what type of delimiter was used; select the appropriate one
7) It'll ask if you want to import it into a new or existing table; pick new
8) Next you need to step thru the fields one at a time and tell Access what the data type is (i.e. text, long integer, double integer, currency)
9) Access will ask if you want it to assign a Primary Key,or have you assign a primary Key, or No Primary Key. You'll want to pick the "No Primary Key" for now, until you've had a chance to evaluate the data. If you picked a Primary Key at this point and the field was blank in one or more records, Access would refuse to let you choose it. You can go back later and choose a Primary.
10) Next choose a table name, click on "FINISH", and Bob's your uncle (as our British friends would say)
I hope this helps. If you have any questions about the above, post them here. I've got this thread marked to email me if any postings come in.
Linq Adams "It's got to be the going,
not the getting there that's good!"
-Harry Chapin