![Page 1: Guidelines for Extracting Data from MS Access File](https://reader036.vdocument.in/reader036/viewer/2022070416/56815287550346895dc0ae6d/html5/thumbnails/1.jpg)
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](https://reader036.vdocument.in/reader036/viewer/2022070416/56815287550346895dc0ae6d/html5/thumbnails/2.jpg)
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](https://reader036.vdocument.in/reader036/viewer/2022070416/56815287550346895dc0ae6d/html5/thumbnails/3.jpg)
Steps to Follow
• Open MS Access file
• Close frmIndex: Form
• Click on Queries
![Page 4: Guidelines for Extracting Data from MS Access File](https://reader036.vdocument.in/reader036/viewer/2022070416/56815287550346895dc0ae6d/html5/thumbnails/4.jpg)
• Double click Create query in design view
• Close Show table box
Steps to Follow
![Page 5: Guidelines for Extracting Data from MS Access File](https://reader036.vdocument.in/reader036/viewer/2022070416/56815287550346895dc0ae6d/html5/thumbnails/5.jpg)
• Pull down
• Select SQL View
Steps to Follow
![Page 6: Guidelines for Extracting Data from MS Access File](https://reader036.vdocument.in/reader036/viewer/2022070416/56815287550346895dc0ae6d/html5/thumbnails/6.jpg)
• Query box will open. This is where SQL command is posted.
Steps to Follow
![Page 7: Guidelines for Extracting Data from MS Access File](https://reader036.vdocument.in/reader036/viewer/2022070416/56815287550346895dc0ae6d/html5/thumbnails/7.jpg)
• 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](https://reader036.vdocument.in/reader036/viewer/2022070416/56815287550346895dc0ae6d/html5/thumbnails/8.jpg)
• Click on ! to run the SQL query
Steps to Follow
![Page 9: Guidelines for Extracting Data from MS Access File](https://reader036.vdocument.in/reader036/viewer/2022070416/56815287550346895dc0ae6d/html5/thumbnails/9.jpg)
• Results of the query will appear after clicking on !
Steps to Follow
![Page 10: Guidelines for Extracting Data from MS Access File](https://reader036.vdocument.in/reader036/viewer/2022070416/56815287550346895dc0ae6d/html5/thumbnails/10.jpg)
• 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](https://reader036.vdocument.in/reader036/viewer/2022070416/56815287550346895dc0ae6d/html5/thumbnails/11.jpg)
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](https://reader036.vdocument.in/reader036/viewer/2022070416/56815287550346895dc0ae6d/html5/thumbnails/12.jpg)
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](https://reader036.vdocument.in/reader036/viewer/2022070416/56815287550346895dc0ae6d/html5/thumbnails/13.jpg)
• 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