Download presentation
Presentation is loading. Please wait.
Published byMaria Coveney Modified over 9 years ago
1
Importing and linking through Access Please use speaker notes for additional information!
2
Import from dbase5 File/Get External Data/Import brings you to a screen that allows you to select a table. I selected a.dbf file that I had created in dBase. I then clicked on Import and the successful message was returned. File type selected was dbase5.
3
Table imported in Access The import resulted in the table firstlst1 being created within the database and the data from the.dbf file being made available.
4
Query on imported data Query for all CPR majors and the results.
5
Import.dbf with numbers and dates
6
Created using Word and then saving as a text file First screen Second screen
7
Cont. of txt file In slide 3 I specify a new table. In slide 4 I gave a name, excepted the long integer data type and specified indexed with no duplicates.
8
Cont of.txt file I dealt with each field individually, giving them a name and a type. For Idno I specified Yes with no duplicates under indexed, but it still brought up the index screen with the default of Let Access add primary key. On the same screen, you move through each field individually, specifying name, type and indexed. Then the next screen asks specifically about indexes.
9
Cont..txt import When the table was created, I was warned of errors. If you look back at the data you will see the carriage control character included with the quantity on the last record. This caused the quantity to be rejected. Contents of the error table.
10
Import from excel I specified the column headings in row one on my spreadsheet as you can see above.
11
Excel import cont.
13
Layout of the table and data that came over from Excel. Table after I modified it - not data was lost.
14
Link Notice that the name of the spreadsheet is Toimport.xls. I have now established a link which I named Linkexcel.
15
Linked to excel The spreadsheet that I created and have linked to is shown here. I went into Excel and changed the information on the second line. I saved the spreadsheet. I then went into Access and viewed the Linkexcel Table. The changes made in Excel show up here.
16
Linked to excel I then went into Access and changed the Idno on the third record, and the Name and Quan on the last record. I then went back into Excel and opened the spreadsheet. The changes had been made.
17
Changes to the dbase file that is linked
18
Link to text in Word I went into word and changed the name on the last record to Joyce Fox. Notice that the change is reflected in Access.
19
Append records from Base Table to append records too. Query with all data on records to be appended.
20
Append cont. The Append from the previous slide is now saved as AppendRecords. The original records are Ann Feld and Daniel Ponte. The other records were appended from the second table.
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.