MGS 351 Introduction to Management Information Systems Recitation # 12 Agenda • • • • • Attendance Homework 5 Hints HTML intro and practice Project Work Reminders Homework 5 (10 points) • Chapter 7 – Switchboard and Macros – Orders.accdb (database file) – Chapter 7 Guided and Applied Exercises – Chapter 7 Guided Exercise Questions (pg. 82) • Due: – Tuesday Recitations: December 1, 2015 – Thursday Recitations: December 3, 2015 – Friday Recitations: December 4, 2015 Homework 5 Hints • Switchboards – To edit the switchboard: • Database Tools > Switchboard Manager – Do not delete ANY existing items from the switchboard (labels, images, etc.) • Run the risk of making switchboard inoperable – If switchboard is acting weird, try: • File > Compact & Repair Database Homework 5 Hints • Switchboard (main menu) – What final Switchboard should look like Should open menu with 3 buttons; 2 to open reports 1 to return to main menu open menu with 4 buttons; 3 to open forms and 1 to return to main menu of switchboard Should open up a help box popup Should Exit Access Homework 5 Hints • Macros – When the “Open Customer Orders Form” button is clicked on, it should: • • • • Open the Orders Form Maximize the window Open up to a new (blank) record Cursor should be in the Customer ID field Homework 5 Hints Autoexec Macro: Automatically executes when database is opened –Make sure you name it Autoexec exactly –Action 1: Open Form • Form Name: Switchboard • View: Form • Window Mode: Normal –Action 2: Message Box • Welcome Message Helpful HTML Resources • Posted on my discussion board on UBlearns: – HTML Help Powerpoint - explains how to access your website on campus and off campus – HTML Code Document - provides code you will need to achieve minimal requirements Website Requirements 1. Project Website – GROUP http://mandmstudenthousing.weebly.com/ 2. Individual Websites – EACH MEMBER Group Project Website • Each group member’s name in alphabetical order in an unordered list • Member’s names should link to their individual websites • Links for downloading PowerPoint (optional) and database • Paragraph or two about your project • Background color or image • Title for the page Individual Website • A background color or image for the page using the HTML body tag • An appropriate title for the page using the HTML title tag • Your name, email address and a few sentences about yourself. When the email address is clicked, it should open up an email message to that address • A link to a pdf version of your personal resume. If you have privacy concerns, a fake resume can be used • Links to your social media accounts (LinkedIn, Facebook, Instagram, Twitter, etc.) should be included. These links should use social media buttons (images) instead of text. • A link to your group project page Getting Started: Activate Your Website • To check if your website has been activated: – http://www.acsu.buffalo.edu/~yourUBITusername/ Mine is: http://www.acsu.buffalo.edu/~maryanns/ If you get this, it means that you have not activated your website Activate your website • To activate your website: – https://ubfs.buffalo.edu/cgi-bin/ubfs_activatepersonalwebsite.cgi • Click on activate your website • Test it again! – http://www.acsu.buffalo.edu/~yourUBITusername/ This should now display something like : What does that mean? • You are using the default page that UB creates for you once you activate it • If you right click the page and press “view page source,” it will show you all the code. In Order to Edit the Code • On your desktop, click the UBFS drive (S Drive), then public_html (this folder will contain all your website files such as: code, pictures, database, etc.) To Edit Code • The file “index” is where you will store all your code. It is a text file • Open your index file using NOTEPAD application – Delete all the default code that you have in there Code Layout HTML Tags Opening & Closing Tag: <h1> …………….. </h1> Self Closing Tags: <br/> (single line break) <meta/> (doesn’t show up on page, search engine uses) <img/> Edit Code: Background Color/Image <body bgcolor="#80FF00"> • This will change the background color to green • For other colors: http://html-color-codes.info/ Edit Code: Page Title <title> Maryann’s Website </title> • This is what is displayed on the website tab, not the actual page • Make sure you change what is in between the tags to your name Edit Code: Name, Email, Few Sentences Name: <h1> Your Name </h> Email: <a href="mailto:mgs351maryann@gmail.com"> mgs351maryann@gmail.com </a> Few Sentences: <p> Hi my name is Maryann…</p> Edit Code: Resume <a href="resume.pdf">My Resume</a> • Make sure you save it as a pdf • Make sure it is saved to your public.html folder • Relative Link Edit Code: Links to Social Media(as images) Facebook: <a href="http://www.facebook.com/maryann.stankovski"> <img src="facebook.png" /></a> • • • Absolute Link http link is going to be the one to YOUR social media "facebook.png " is going to be whatever you saved your image as in your public.html folder LinkedIn: <a href="http://www.linkedin.com/pub/maryannstankovski/79/197/527"><img src="linkedin.png" alt= "Linkedin Profile" border="0" /></a> • • • • Absolute Link http link is going to be the one to YOUR LinkedIn profile "linkedin.png" is going to be whatever you saved the image as in your public.html folder alt= "LinkedIn Profile“ displays when the picture does NOT display Edit Code: Link to Group Website <a href="http://www.mandmstudenthousing.weebly.com" >Group Website</a> • Absolute Link • http link is going to be to YOUR group website • “Group Website” is what is going to be displayed on your website to click on Project Progress Stage 1: Entity Creation/Data – Tables, relationships, records Stage 2: Forms/Subforms Stage 3:Queries and Reports Stage 4: Switchboard and Macros Stage 5: Website Creation Stage 6: Presentation/Write-up Project Work: Switchboard & Macros Homework 5 will be very helpful for this section! Next Lab: Last Recitation Before Presentations! • Homework 5 due • Optional Early Project Presentations • Project Work: – Switchboard and Macros – Website – Presentation – Write-up