Transcript
Page 1: Guidelines for Extracting Data from MS Access File

Guidelines for Extracting Data from MS Access File

AFNR Human Resource Tracer Study

UP NCPAG

Page 2: Guidelines for Extracting Data from MS Access File

Background

• Data will be extracted from MS Access file by applying the Structured Query Language (SQL).

• Queries have been formulated for the different tables in the regional report.

• The SQL queries/commands for the in-school students survey can be found in the accompanying MS Word file and the CLSU database where the queries were applied and tested.

Page 3: Guidelines for Extracting Data from MS Access File

Steps to Follow

• Open MS Access file

• Close frmIndex: Form

• Click on Queries

Page 4: Guidelines for Extracting Data from MS Access File

• Double click Create query in design view

• Close Show table box

Steps to Follow

Page 5: Guidelines for Extracting Data from MS Access File

• Pull down

• Select SQL View

Steps to Follow

Page 6: Guidelines for Extracting Data from MS Access File

• Query box will open. This is where SQL command is posted.

Steps to Follow

Page 7: Guidelines for Extracting Data from MS Access File

• Copy from the MS Word file containing the queries for the different tables (or MS Access file of CLSU database) and paste query in the box

Steps to Follow

Page 8: Guidelines for Extracting Data from MS Access File

• Click on ! to run the SQL query

Steps to Follow

Page 9: Guidelines for Extracting Data from MS Access File

• Results of the query will appear after clicking on !

Steps to Follow

Page 10: Guidelines for Extracting Data from MS Access File

• To go back to the SQL query, click on SQL view from pull-down menu

Steps to Follow

Page 11: Guidelines for Extracting Data from MS Access File

Steps to Follow

• Another way to copy SQL commands is to copy and paste from the CLSU MS Access document to your MS Access file.

• Right click on the name of Query and copy

Page 12: Guidelines for Extracting Data from MS Access File

Steps to Follow

• Then, go to your MS Access file. Paste the query. MS Access will prompt you to name your query.

Page 13: Guidelines for Extracting Data from MS Access File

• Table generated from the SQL query can be copied and pasted in MS Excel and MS Word. – Copy table by executing Ctrl+A or

highlighting all data in table – Go to MS Excel file and paste

Steps to Follow


Top Related