0
Microsoft Access Linking Creating Reports and Queries from Techfim Tables Presented by Lydia Vrska Report Form Web Query T...
Introduction  <ul><li>What are DB2 Tables </li></ul><ul><li>Why do I need to Link to the Tables </li></ul><ul><li>How can ...
DB2 Database Tables <ul><li>The DB2 Database is stored on a computer (server or mainframe) to allow access to multiple use...
Linking to the Techfim DB2 Tables on the SQL Server <ul><li>The tables can be linked for viewing or querying from remote P...
How can I use the Information <ul><li>Data from Techfim Tables can be used to automate reports, create forms, or look up i...
How do I link to the DB2 Tables <ul><li>The link is set up via MS Access  </li></ul><ul><li>The linking instructions are a...
Which Tables do I need? <ul><li>Most of the tables have a name embedded that is similar to Techfim Table names </li></ul><...
Things to Remember <ul><li>The tables on the SQL Server are updated nightly </li></ul><ul><li>Some data on Techfim could v...
Where to Get More Information <ul><li>View this information again by clicking on  </li></ul><ul><li>PowerPoint on Linking ...
Hands On… <ul><li>Open Microsoft Access to begin the hands on session </li></ul>…  or continue with demo
Step 1 – Request security access to the TechFIM Data System Click here to test access
Enter your Eraider userid and password.
When you receive this message, you can begin running queries! (USER) “ALREADY HAS ACCESS TO THE TECHFIM DATA SYSTEM”
Setting up your Database in  Microsoft Access Create a NEW database
Give the database a name  meaningful “to you”
Link to the SQL Server Tables <ul><li>Click on New </li></ul><ul><li>Then Link Tables </li></ul><ul><li>Then “OK” </li></ul>
Select ‘Files of Type” ODBC Databases Click on the “pull down” box and scroll
Select Techfimdata source Click on  TECHFIMSQLSERVER
Enter your “Eraider” userid and password Enter userid and password then click “OK”.
You can “Select All” or select a specific table(s) that you wish to access Click one or many to highlight (select) then cl...
Each table will display the fields available in each table Click OK if that is the correct table  (Hint: hold the enter ke...
The link to the table(s) can be renamed Right Click and select “rename” then type a name that makes sense to you
Create a Query Click QUERIES, then on New, then Simple Query Wizard and click “OK”.
Select the table that contains the information you need <ul><li>Scroll down to select the table </li></ul><ul><li>Select t...
Name your query <ul><li>Give your query a meaningful name </li></ul><ul><li>Then click “Finish ” </li></ul>
View and Modify Query Results The Query Results are displayed To change the results, click on the “design” icon
Create sorting and other criteria for data that is displayed <ul><li>Fields can be SORTED or additional criteria  </li></u...
View Data <ul><li>Records of account type > 04 </li></ul><ul><li>In Ascending order </li></ul>
Forms <ul><li>Forms can be created for capturing or displaying data in a format that does not look like a table or spreads...
Form Example
Reports <ul><li>Reports are “Read and Print” only and can be modified to show different views and sort structure </li></ul...
Report Sample
Adding Security to Databases <ul><li>If a Database is accessed by multiple users,  security can be added to prevent data f...
Upcoming SlideShare
Loading in...5
×

DB2 PowerPoint Presentation

4,113

Published on

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
4,113
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
83
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Transcript of "DB2 PowerPoint Presentation"

  1. 1. Microsoft Access Linking Creating Reports and Queries from Techfim Tables Presented by Lydia Vrska Report Form Web Query Table User DB Security Server Report Form Web Query Table User DB Security Server
  2. 2. Introduction <ul><li>What are DB2 Tables </li></ul><ul><li>Why do I need to Link to the Tables </li></ul><ul><li>How can I use the information </li></ul><ul><li>Using Microsoft Access to link and run queries and report </li></ul>
  3. 3. DB2 Database Tables <ul><li>The DB2 Database is stored on a computer (server or mainframe) to allow access to multiple users from their own PCs. </li></ul><ul><li>A DB2 Database is a set of tables with rows and columns for storing data. </li></ul><ul><li>The data is is accessed using SQL (Structured Query Language) to retrieve a subset of data stored in the tables and is readable in PC format. </li></ul>
  4. 4. Linking to the Techfim DB2 Tables on the SQL Server <ul><li>The tables can be linked for viewing or querying from remote PCs (users) that would otherwise not be accessible when stored on a Mainframe Computer </li></ul><ul><li>The SQL Server is updated daily – Mainframe tables are recreated on the server in PC-readable format </li></ul><ul><li>Users can customize queries, create reports and forms for daily, weekly, monthly, or yearly reports or forms . </li></ul>Report Form Web Query Table User DB Security Server
  5. 5. How can I use the Information <ul><li>Data from Techfim Tables can be used to automate reports, create forms, or look up information in a format not available using TechNet on the mainframe </li></ul><ul><li>Queries and reports can be run from multiples tables on one query or report </li></ul><ul><li>They can also be modified at any time to change the data that is retrieved </li></ul>
  6. 6. How do I link to the DB2 Tables <ul><li>The link is set up via MS Access </li></ul><ul><li>The linking instructions are at www.itis.ttu.edu/ techfimdata </li></ul><ul><li>Once the links are established, you are ready to run queries and create reports and forms. </li></ul>
  7. 7. Which Tables do I need? <ul><li>Most of the tables have a name embedded that is similar to Techfim Table names </li></ul><ul><ul><li>For Example: FAS2 might be called “ dbo_TF FAS CTB ” </li></ul></ul><ul><li>The tables can be renamed on your database link </li></ul><ul><li>If you do not have authority to view the tables you will not be able to run queries against them or view the data </li></ul>
  8. 8. Things to Remember <ul><li>The tables on the SQL Server are updated nightly </li></ul><ul><li>Some data on Techfim could vary if it was updated “after” the SQL Server update. </li></ul><ul><li>The ”links” to the tables do not use up disk space on your computer unless you copy the data from a table and create a new table in your database. </li></ul>
  9. 9. Where to Get More Information <ul><li>View this information again by clicking on </li></ul><ul><li>PowerPoint on Linking to DB2 Tables </li></ul><ul><li>For questions or assistance on customizing the queries, you can call me at 742-3255 X229. </li></ul>
  10. 10. Hands On… <ul><li>Open Microsoft Access to begin the hands on session </li></ul>… or continue with demo
  11. 11. Step 1 – Request security access to the TechFIM Data System Click here to test access
  12. 12. Enter your Eraider userid and password.
  13. 13. When you receive this message, you can begin running queries! (USER) “ALREADY HAS ACCESS TO THE TECHFIM DATA SYSTEM”
  14. 14. Setting up your Database in Microsoft Access Create a NEW database
  15. 15. Give the database a name meaningful “to you”
  16. 16. Link to the SQL Server Tables <ul><li>Click on New </li></ul><ul><li>Then Link Tables </li></ul><ul><li>Then “OK” </li></ul>
  17. 17. Select ‘Files of Type” ODBC Databases Click on the “pull down” box and scroll
  18. 18. Select Techfimdata source Click on TECHFIMSQLSERVER
  19. 19. Enter your “Eraider” userid and password Enter userid and password then click “OK”.
  20. 20. You can “Select All” or select a specific table(s) that you wish to access Click one or many to highlight (select) then click “OK”
  21. 21. Each table will display the fields available in each table Click OK if that is the correct table (Hint: hold the enter key down until all the tables have linked)
  22. 22. The link to the table(s) can be renamed Right Click and select “rename” then type a name that makes sense to you
  23. 23. Create a Query Click QUERIES, then on New, then Simple Query Wizard and click “OK”.
  24. 24. Select the table that contains the information you need <ul><li>Scroll down to select the table </li></ul><ul><li>Select the fields </li></ul><ul><li>Click on Next </li></ul>
  25. 25. Name your query <ul><li>Give your query a meaningful name </li></ul><ul><li>Then click “Finish ” </li></ul>
  26. 26. View and Modify Query Results The Query Results are displayed To change the results, click on the “design” icon
  27. 27. Create sorting and other criteria for data that is displayed <ul><li>Fields can be SORTED or additional criteria </li></ul><ul><li>(Example: show only values greater than 04 in this field) </li></ul>
  28. 28. View Data <ul><li>Records of account type > 04 </li></ul><ul><li>In Ascending order </li></ul>
  29. 29. Forms <ul><li>Forms can be created for capturing or displaying data in a format that does not look like a table or spreadsheet </li></ul><ul><li>Forms can be modified, edited, printed, published to a web site or sent by email </li></ul><ul><li>Logos and other graphics can be added to enhance the appearance of the form </li></ul>
  30. 30. Form Example
  31. 31. Reports <ul><li>Reports are “Read and Print” only and can be modified to show different views and sort structure </li></ul><ul><li>A report can be run against queries or tables (or both) to create a “formatted view” of data </li></ul><ul><li>Reports can be emailed or published to a web site </li></ul>
  32. 32. Report Sample
  33. 33. Adding Security to Databases <ul><li>If a Database is accessed by multiple users, security can be added to prevent data from being modified. </li></ul><ul><li>Users can also be limited to certain views of the data. </li></ul><ul><li>Techfimdata security does not allow changes to the db2 tables; however tables can be copied and edited within the database to create reports or queries as of a specific date . </li></ul>
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×