Presentation is loading. Please wait.

Presentation is loading. Please wait.

Creating a Web Site to Gather Data and Conduct Research.

Similar presentations


Presentation on theme: "Creating a Web Site to Gather Data and Conduct Research."— Presentation transcript:

1 Creating a Web Site to Gather Data and Conduct Research

2 Generating a Form by Using the Database Interface Wizard Generating a New Database by Using the Database Interface Wizard To generate a form by using the Database Interface Wizard 1.On the File menu, point to New, and then click Page or Web. 2.On the New page or web task pane, click Web Site Templates. 3.In the Web Templates dialog box, type the location where you want to create the Web, click Database Interface Wizard, and then click OK. 4.Leave Create a new Access database selected, and then click Next. 5.In the Enter a name for the database connection text box, type Psychology_204, and then click Next. 6.In the next window, you can modify the database form before it is created. Highlight the Address row, and then click Modify. 7.In the Column name text box, delete Address, and then type Group Presentation. 8.Leave the Column type as Text, and in the Form field input type drop-down list, select Drop-Down Box. 9.Change the number of options for the drop-down list to 3, and then click OK. To generate a new database by using the Database Interface Wizard (cont.) 10.Change the third form field from Choice to Rating, and change the Number of Options to 10. Click OK, and then click Next. 11.The database and the FrontPage Web are created. Click Next, and then on the next page, select the Database Editor check box. Click Next. 12.In the next window, leave the user name as Administrator, and in the Password and Confirm text boxes, type 1234. Click Finish to complete the Web.

3 Modifying the Form You Created To modify the form you created 1.Open the Submission Form in FrontPage. 2.Under Group Presentation, right-click the drop-down list, and then click Form Field Properties. 3.Select Option 1, and then click Modify. 4.Change both the Choice field and the Specify Value field from Option 1 to 1. Repeat this step for the other 2 options by changing them to 2 and 3, respectively. 5.Change the options under Rating to read 1 through 10. 6.Save the Submission Form. Modifying the Form You Created

4 Viewing, Adding, Editing, or Deleting Records by Using a Web Page To view, add, edit, or delete records by using a Web page 1.Type the address of your Web site in the Address bar of your Web browser. The Database Interface Wizard opens. The three options on the main Database Interface page are: Results Page. Displays results from the forms submitted to the database from the Web page. The results are listed in a table or a list so they can be compared with other fields. Submission Form. Enables users to type data into the database. To modify this form, you must change it in FrontPage and then republish the Web. Database Editor. Enables an administrator to view, modify, and delete records. 2.Click Submission Form. 3.In the Name field, type the student's name. 4.In the Group Presentation drop-down list, select 2. 5.In the Rating drop-down list, select 7. 6.Click OK. The record is added to the database. Viewing, Adding, Editing, or Deleting Records by Using a Web Page

5 To modify or delete a database record 1. In the upper-right corner of the Submission Form, or on the main Database Interface page, click Database Editor. 2. In the Username text box, type Administrator, and in the Password text box, type 1234 (the password you set when you created the site), and then click Login. The Database Editor page opens. 3. You can now view, edit, or delete the records in the table. · To delete a record, select the check box next to a record, and then click Delete. In the bottom frame, a message opens that confirms that you want to delete the record. Click OK to delete the record. · To modify a record, click Record Number to open the record, click Edit, and then change the appropriate fields. Modifying or Deleting a Database Record

6 Displaying the Contents of a Database on Your Page To display the contents of a database on your page 1.On the Insert menu, point to Database, and then click Results. The Database Results Wizard opens. 2.Step 1 of the wizard prompts you for the name of the database to use. For this example, select Use an existing database connection, select the Psychology_204 database, and then click Next. 3.In step 2 of the wizard, specify the source of the information you want to display on your Web page, such as the name of the particular study. Make sure Record source is selected, and that Categories is visible in the drop-down list box, and then click Next. Click Next again to accept the default settings in step 3. 4.In step 4, select Drop-down list: one record per item from the drop-down list, and then click Next. 5.Click Finish to accept the default settings. The database contents are displayed on your Web page. 6.On the File menu, click Save As, and then save the page as Demographics_contents.asp. Displaying the Contents of a Database on Your Page

7 Creating a New Form To create a new form (cont.) 8. Type What type of assignment are you requesting?, and then press SHIFT+ENTER to start a new line directly under the typed text. 9. On the Insert menu, click Form, and then click Drop-Down Box. 10. Right-click the new drop-down box, and then click Form Field Properties. 11. In the Name text box, type AssignmentType, and then click Add. 12. In the Add Choice dialog box, type Extra Credit. 13. Repeat step 11, adding options for Late Assignment and Practice Test. Confirm that the choices are in numerical order in the list, and then click OK. 14. On the File menu, click Save. You may want to save as you go to protect your work in progress. Creating a New Form To create a new form 1.On the File menu, point to New, and then click Page or Web. 2.On the New Page or Web task pane, click Blank Page. 3.On the Insert menu, point to Form, and then click Text Box. 4.Press ENTER to move the Submit/Reset buttons to a line by themselves and position the cursor to the left of the box. 5.To the left of the text box, type Your name. Position the cursor to the right of the text box, and then press ENTER. 6.Double-click the text box to open the Text Box Properties dialog box. Type name in the Name box. 7.In the Width in characters box type 30, and then click OK. Position your cursor at the end of the question, and then press ENTER.

8 Validating Data To validate data 1.Right-click the text box that prompts the user to type their name, click Form Field Properties, and then click Validate. 2.In the Drop-Down Box Validation dialog box, select the Data Required check box, and then click OK.

9 Saving Form Results to a Comma Separated Value File To save form results to a comma separated value file 1.In FrontPage, open the page containing the form, right-click a blank area of the form, and then click Form Properties. In the Send to File name box, type the path to location where you want to save the results. The file name should end in.csv to indicate a CSV file. 2.Click OK to save your changes and close the dialog box. 3.Choose a location in which to save the attachment(s) and click Save.

10 Creating a SharePoint Team Services Survey To create a SharePoint Team Services survey 1.Open Microsoft Internet Explorer. In the Address text box, type the URL of a server running SharePoint Team Services. 2.On the main SharePoint Team Services page, on the menu at the top of the window, click Create. 3.On the Create page, click Survey. 4.In the Name text box, type the name of the survey. For this example, type Psychology 204 Survey. 5.In the Description text box, type This survey collects information about which topics students would like to cover in depth. 6.Under Display this survey on the Quick Launch bar, leave Yes selected. 7.Under Show user names in survey results, click No. To create a SharePoint Team Services survey (cont.) 8.Under Allow multiple responses, click No, and then click Next. The Add Question page opens. 9.In the Question text box, type What do you expect to learn from this course? 10.Under The type of answer to this question is, click Choice (menu to choose from). This changes the optional settings section to contain only options that can be used in either a drop-down list or a set of radio buttons. 11.Under Optional Settings for your Question, click Yes under Require an answer for this question. 12.In the Type each choice in a separate line text box, type 1, 2, 3, 4, 5, 6, and More than 6, with each entry on a separate line. 13.Under Display choices using, click Drop-Down Menu, and then click OK. 14.On the Customization page, verify the settings, and then click the address of your survey. 15.To test your survey, click Respond to This Survey on the menu at the top of the page, and then fill out the survey.

11 Exporting the Results of a Survey to an Excel Spreadsheet To export the results of a survey to an Excel spreadsheet 1.Go to the main survey page. 2.On the top of the page, click Export Results to a Spreadsheet. 3.In the File Download dialog box, click Save to save the file on your computer, or Open to view the results file now.

12


Download ppt "Creating a Web Site to Gather Data and Conduct Research."

Similar presentations


Ads by Google