Lecture 5 Relational Databases and going multiuser.

Slides:



Advertisements
Similar presentations
JQuery MessageBoard. Lets use jQuery and AJAX in combination with a database to update and retrieve information without refreshing the page. Here we will.
Advertisements

Microsoft® Access® 2010 Training
Organisation Of Data (1) Database Theory
ADABAS to RDBMS UsingNatQuery. The following session will provide a high-level overview of NatQuerys ability to automatically extract ADABAS data from.
Introduction to Microsoft Access
Lecture 4 Basic Scripting. Administrative  Files on the website will be posted in pdf for compatibility  Website is now mirrored at:
#ZOLLSummit.
An Introduction to Forms (continued). The Major Steps of a MicroSoft Access Database  Tables  Queries  Forms  Macros  Reports  Modules On our road.
2-May-15 GUI Design. 2 HMI design There are entire college courses taught on HMI (Human-Machine Interface) design This is just a very brief presentation.
In the top right hand corner you will type in your package code in the box that says “Place Order.” Then you will click “Go.”
Qualtrics Survey Kenyon A Beginner’s Guide.
Safety Management. Back to Quick Links 1. User requests password from DM login screen Copy/paste this into your browser:
6 th Annual Focus Users’ Conference 6 th Annual Focus Users’ Conference Accounts Receivable Presented by: Robert Myers Presented by: Robert Myers.
Downloading and Installing AutoCAD Architecture 2015 This is a 4 step process 1.Register with the Autodesk Student Community 2.Downloading the software.
1 of 5 This document is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS DOCUMENT. © 2006 Microsoft Corporation.
Management Information Systems MS Access 2003 By: Mr. Imdadullah Lecturer, Department of M.I.S. College of Business Administration, KSU.
Inventory Throughout this slide show there will be hyperlinks (highlighted in blue) follow the hyperlinks to navigate to the specified Topic or Figure.
 When you receive a new you will be shown a highlighted in yellow box where your can be found  To open your new just double click.
1 ONE TIME PRINT SETUP To print Requisitions from Banner, follow this process once: Open Microsoft Excel, select (1) TOOLS, then (2) MACROS, then (3) SECURITY.
Internet Research Finding Free and Fee-based Obituaries Online.
Outlook 2007 Tips, Tricks, and Tools. Overview Main Screen Navigation Pane View Pane Reading Pane To–Do Bar Create a New Message Contacts Create a Signature.
Microsoft Office Word 2013 Expert Microsoft Office Word 2013 Expert Courseware # 3251 Lesson 4: Working with Forms.
Working with SharePoint Document Libraries. What are document libraries? Document libraries are collections of files that you can share with team members.
Internet Banking Standard and Standard-Hybrid Registration Intuit Financial Services University Internet Banking Certification Training.
Mobile App Certification Course. In this course we will work you through on how you can start developing mobile apps for yourself or for many industries.
WNS1.com Online Training How to use the Western Nevada Supply online store and tools.
Microsoft Word 2010 Lesson 10. Learning Objectives 1 Understand and Use Mail Merge 2 Select and Edit a main document 3 Create a source document 4 Preview,
What is Sure BDCs? BDC stands for Batch Data Communication and is also known as Batch Input. It is a technique for mass input of data into SAP by simulating.
XP New Perspectives on Microsoft Office Access 2003 Tutorial 12 1 Microsoft Office Access 2003 Tutorial 12 – Managing and Securing a Database.
L.E.A. Data Technologies L.E.A. Data Technologies Introduction.
EDW647: Internet for Educators Dr. Roger Webster Department of Computer Science Millersville University July 23, 2008 Create.
Mr. Justin “JET” Turner CSCI 3000 – Fall 2015 CRN Section A – TR 9:30-10:45 CRN – Section B – TR 5:30-6:45.
1 Access Lesson 4 Creating and Modifying Forms Microsoft Office 2010 Introductory.
Copyright © 2007, Oracle. All rights reserved. Managing Concurrent Requests.
Microsoft Access Get a green book. Page AC 2 Define Access Define database.
® Microsoft Access 2010 Tutorial 1 Creating a Database.
Management Information Systems MS Access MS Access is an application software that facilitates us to create Database Management Systems (DBMS)
1 OPOL Training (OrderPro Online) Prepared by Christina Van Metre Independent Educational Consultant CTO, Business Development Team © Training Version.
Making a great Project 2 OCR 1994/2360. Design Some candidates dive in, make a database or spreadsheet, then try and make a design afterwards. This won’t.
Access 2013 Microsoft Access 2013 is a database application that is ideal for gathering and understanding data that’s been collected on just about anything.
Go to your school’s web locker site school name.schoolweblockers.com) Your user name is the first letter of your first name, the first 4.
1 Advanced Topics in Access How to create forms and reports Andrew Yu 03/04/2002.
Introduction to Databases Trisha Cummings. What is a database? A database is a tool for collecting and organizing information. Databases can store information.
MS Access 2007 Management Information Systems 1. Overview 2  What is MS Access?  Access Terminology  Access Window  Database Window  Create New Database.
Database Systems Microsoft Access Practical #3 Queries Nos 215.
Forms and Server Side Includes. What are Forms? Forms are used to get user input We’ve all used them before. For example, ever had to sign up for courses.
Systems Life Cycle. Know the elements of the system that are created Understand the need for thorough testing Be able to describe the different tests.
Diagnostic Pathfinder for Instructors. Diagnostic Pathfinder Local File vs. Database Normal operations Expert operations Admin operations.
1 What to do before class starts??? Download the sample database from the k: drive to the u: drive or to your flash drive. The database is named “FormBelmont.accdb”
INFO1408 Database Design Concepts Week 15: Introduction to Database Management Systems.
 When you receive a new you will be shown a highlighted in yellow box where your can be found  To open your new just double click.
Grade Book Database Presentation Jeanne Winstead CINS 137.
How To Design Your Own Webpage Created Especially For You By: Amanda E. Stricklin.
Build a database V: Create forms for a new Access database Overview: A window into your data So far in this series of courses, you’ve built tables, relationships,
Gold – Crystal Reports Introductory Course Cortex User Group Meeting New Orleans – 2011.
IS2803 Developing Multimedia Applications for Business (Part 2) Lecture 1: Introduction to IS2803 Rob Gleasure
Lecture 7 Conditional Scripting and Importing/Exporting.
VB.NET and Databases. ADO.NET VB.Net allows you many ways to connect to a database. The technology used to interact with a database or data source is.
Course Contents Overview: Database basics Lesson 1: Benefits of using a database Lesson 2: Table that data Lesson 3: Analyzing, viewing, and reporting.
Academic Computing Services 2007 Microsoft Word 2010 Publishing Long Documents This Guide will teach you how to work with long documents such as dissertations.
1 Management Information Systems M Agung Ali Fikri, SE. MM.
GOOGLE LEARNING TO USE YOUR G-MAIL ACCOUNT.
How-to Easily Create a Stacked Clustered Column Chart in Excel.
Decision Analysis Fall Term 2015 Marymount University School of Business Administration Professor Suydam Week 10 Access Basics – Tutorial B; Introduction.
In today’s lesson we will be looking at: what we mean by the software development lifecycle the phases in the lifecycle We will focus particularly on testing:
Compatible with the latest browsers; Chrome, Safari, Firefox, Opera and Internet Explorer 9 and above.
How to Use Members Area of The Ninety-Nines Website
Case Study Creating a Database
Qualtrics Survey Kenyon
Reporting 101 Keenan & Mona.
Presentation transcript:

Lecture 5 Relational Databases and going multiuser

Administrative For last lecture: For last lecture: –Explore new technology (web enabled technology) –Discuss existing technology (How Delta’s databases are currently set up) Finally, got demo copy of FMPRO5 – try to point out differences where I find them. Finally, got demo copy of FMPRO5 – try to point out differences where I find them. Optional test and certification? Optional test and certification?

Review What are scripts used for What are scripts used for Designing scripts (before coding) Designing scripts (before coding) How to define scripts How to define scripts Most useful script steps Most useful script steps Templates Templates

Questions? Any Questions from last lecture? Any Questions from last lecture?

Topics What’s a relational database good for? What’s a relational database good for? Breaking it up. Breaking it up. Implementing relational db’s in FileMaker Implementing relational db’s in FileMaker Basic Multi-user and Security issues Basic Multi-user and Security issues Tips for working in groups Tips for working in groups

Relational DB Intro What is a relationship, and why is it necessary What is a relationship, and why is it necessary Metaphor: Think of yourself vs. a day in your life Metaphor: Think of yourself vs. a day in your life –You yourself have attributes (DOB, Height, etc) –A day has certain attributes (traffic jam on I-80, Sunny day, etc) It contains some similarities between your day and other days, and some individual experiences –The relational part happens at the intersection between you and your day. –This can be seen as a “contains a” relationship, since a day contains people, one of which is you. –This relationship actually goes both ways, because in your “memory field” it will contain many of your days. But you access is limited to what happened to you

Relational DB Intro Real world example Real world example Think of a furniture store database system: Think of a furniture store database system: –Shipping information in one Db(address etc) –Transaction information in another (e.g. print receipts) –Furniture information in another(price, number etc) –Possibly even employee information to link to receipts. Relational DB are called tables in some other DB systems Relational DB are called tables in some other DB systems –In Microsoft Access you would use tables for many of these things

Deciding when to break Deciding when to break up Deciding when to break up –First figure out if you have any “contains a” relationships –These are your candidates –If you’re database is extremely simple or you are using your db for only one function (e.g. printing receipts) –Otherwise you should strongly consider breaking it up.

Deciding when to break Once you’ve decided to break it up you have two options regarding the way to do lookups: Once you’ve decided to break it up you have two options regarding the way to do lookups: –By Value, which means to copy the information from one database to the other (if you do this changes in one db will not effect the other) –By Reference, which essentially means to put the fields from one database directly into the other.

Value or Reference? Examples: Examples: Value: Value: –This is good if for example you are storing receipts (or forms), the majority of the information should be copied in from your other sources, because you would not want your price info changing Reference: Reference: –If you have a real-time inventory you would want to do that with references so you could update the information as it changed.

Key Field Usually we’ll use what’s known as a key field to connect two databases, this will uniquely identify records, and could be for example a social security number. Usually we’ll use what’s known as a key field to connect two databases, this will uniquely identify records, and could be for example a social security number. You will always want a unique field so if you don’t have one make it, either use a caluculation and combine two fields, or use the serial number function under autoentry You will always want a unique field so if you don’t have one make it, either use a caluculation and combine two fields, or use the serial number function under autoentry

Implementation First we need to define the relationships First we need to define the relationships –Go to File…Define Relationships(FMPRO5) or File…Define…Define Relationships(FMPRO4) –The following Screen will appear

Implementation Click the New button, you will be presented with a database, select the file you want to relate to this one. Click the New button, you will be presented with a database, select the file you want to relate to this one. Now you will be presented with this screen: Now you will be presented with this screen: Relate the key field from DB2 with the lookup field from DB1 Relate the key field from DB2 with the lookup field from DB1

Implementation Click the New button, you will be presented with a database, select the file you want to relate to this one. Click the New button, you will be presented with a database, select the file you want to relate to this one. Now you will be presented with this screen: Now you will be presented with this screen: Relate the key field from DB2 with the lookup field from DB1 Relate the key field from DB2 with the lookup field from DB1

Implementation Don’t worry too much about the options on this screen (I.e. create related record) the only one you may want to look at at this stage is the sort related records, this sorts the output from a relationship Don’t worry too much about the options on this screen (I.e. create related record) the only one you may want to look at at this stage is the sort related records, this sorts the output from a relationship Now that you’ve made a relationship we can use it for Value or reference lookups, let’s try by Value first Now that you’ve made a relationship we can use it for Value or reference lookups, let’s try by Value first –Under the auto-entry screen you may have seen a checkbox that says looked-up value, simply click on that box and then select the name of your relationship from the screen that pop’s up

Implementation –Select the same field for both (I.e. both Name) –DON’T do this for the field that you used in the relationship, this must remain as a normal field so that when you type in the (I.e. SS#) the lookup will appear on the related fields(name etc) –Now we can finally see where repeating fields become handy. –Click on repetitions on the bottom of the autoenter screen(FMPRO4) or in the storage tab(FMPRO5) –Now click on the field on the layout go to Format…Field Format type in the number of repetitions of the field you want to display

Implementation –What you’ve just done is perfect for an invoice or receipt because you could type in a part number and have the price come up from the related database, but that would not be changed if the price goes down. Now let’s look at references Now let’s look at references –A good example of this wanted to display how many of an inventory item were in stock or maybe for displaying a students contact info on an invoice

Implementation –You can put referential fields directly in your layout, simply use the field tool like usual, except when it prompts you for the field, pull down the top menu to find your relationship, then choose the related field –This works fine for things that are unique(I.e. lookup the address from the student DB) –If instead you are looking for something with more than one repetition (I.e. all the classes the student has taken, you will need to do something else

Implementation –You need to use a portal to display more than one record on the same screen –The portal tool looks like this: and is next to the button tool –Simply drag it out to display an area, than drag in the fields you defined above –The portal looks like this –Make sure and drag into the top white section

Multi User Because it may be helpful for the project I’ll discuss what you will need to do to set up your database so it can be worked upon in multiple locations at once Because it may be helpful for the project I’ll discuss what you will need to do to set up your database so it can be worked upon in multiple locations at once –One caveat you can not define fields once your db is set up for multi-user, so define these first. –First go to Edit…Preferences…Application then make sure under network protocol it says TCP/IP if not select it

Multi User –Now go to file…sharing and select multi-user –Now would be a good time to set up a password, go to File…Access Privileges…Password –The following screen will appear: –Type in a password and hit create to password protect your file. Don’t worry about everything else for now

Multi User –In order for both users to use it it has to be open on one computer, then to log in the other user just clicks on File…open and then clicks on the hosts button, somewhere in the list that appears should be the name of the file click open and type in the password. Now both users can change the layout, modify scripts etc (except for fields of course)

Groups Working in groups allows for complicated databases to be designed in the minimal amount of time Working in groups allows for complicated databases to be designed in the minimal amount of time Group work is also good for learning because it allows students to learn from each other Group work is also good for learning because it allows students to learn from each other There are many different approaches to working in groups I will present two and the method I would prefer for you to take on this project There are many different approaches to working in groups I will present two and the method I would prefer for you to take on this project –The expert approach: in this approach each person either is or becomes an expert in a specific area (e.g. layouts, scripts etc) this approach has several advantages

Groups –The advantages of the expert approach: minimal amount of time learning with maximal overall knowledge, great for getting a project done quickly, but does have some disadvantages this technique is often used in industry (and even here in our computer services department because of those advantages) –First and most important for this class is that you don’t learn everything about the database system which leads to the next problem, you can have concurrency problems, if one person is not doing there job it could hold up another person from doing their job.

Groups –The technique I would like you to use is what I call the 80/20 group distribution –If one person is or wants to be an expert in one area (e.g. scripts) they should do 80% of the work in this area, the other 20% should be done by the other member(s) –This allows for the project to be completed relatively quickly while everyone gets a chance to learn

Groups –Finally, I would recommend starting work the following way, before you start working with FileMaker at all write out everything you want to do on paper –Start out by writing a Sentence or two describing what the goal of the project is –Then together work on figuring out what fields will be necessary if there are any what information is required to be in the field if any(validations) and whether a calculation is necessary –You may find it helpful to draw out rough sketches of what the layouts are going to look like –Don’t forget to write out in English what your scripts will do.

Advice –Utilize the message board, if you’re having a problem figuring something out check the message board, if there is nothing relevant there then post. –If you have completed a problem and see a question related to it feel free to give the user a hint or explain a concept, just don’t post your solution =) –I will jump in where necessary. –Good luck. –There is no firm due date on this project (probably the last day of class), I reserve the right to add to the definition it as we learn more material.