Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more ➡
Download
Standard view
Full view
of .
Add note
Save to My Library
Sync to mobile
Look up keyword
Like this
1Activity
×
0 of .
Results for:
No results containing your search query
P. 1
Create a Database

Create a Database

Ratings: (0)|Views: 68|Likes:
Published by EdTechSystems

More info:

Published by: EdTechSystems on Jul 05, 2012
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See More
See less

04/16/2013

pdf

text

original

 
 1
Building a Course Database
The
database activity module
allows the teacher and/or students to build, display and search a bank of record entries about any conceivable topic. The format and structure of these entries can be almostunlimited, including images, files, URLs, numbers and text amongst other things.This module will create one table per instance, but you may create as many instances as you need. Therecords can be linked to other tables and all resources in the course, if you allow auto-link in a name field,but you cannot build a SQL query.
Adding a Database:
1.
 
Log into your course2.
 
Click 3.
 
Click the
Add an activity
drop-down arrow and select
Database
4.
 
Enter a
Name
and
Introduction
for the database
 
 25.
 
More Settings (Optional)
 
Available from
 
Available to
 
Viewable from
 
Viewable to
 
Required Entries
- The number of entries a participant is required to submit. Users will see areminder message displayed while viewing if they have not submitted the required number of entries. The activity will not be considered complete until the user has submitted the requirednumber of entries.
 
Entries required before viewing
- The number of entries a participant is required to submitbefore they are allowed to view any entries in this database activity.
Note:
This feature cannot be used together with the database auto-linking filter, since it's notpossible for the database auto-linking filter to determine whether a user has submitted therequired number of entries.
 
Maximum entries
- The maximum number of entries a participant can submit for this activity.
 
Comments
- Allow users to make comments on each entry.
 
Require approval
- Should entries be approved by a teacher before they are viewable tostudents? This is useful for moderating content that may be potentially offensive orinappropriate.
 
Allow posts to be rated -
If checked, post can be rated and the
Grade
option becomesavailable
 
Grade
- Only available if “
Allow posts to be rated
” is checked. This option allows teachersto grade the posts6.
 
Click 
Save and Display
 
Create the Database Fields:
A
field
is a named unit of information. Each entry in a database activity module can have multiplefields of multiple types e.g. a text field called 'Favorite Color' which allows you to type in yourfavorite shade, or a menu called 'State' that lets you choose one from a list of the 50 that make up theUnited States of America. By combining several fields with appropriate names and types you shouldbe able to capture all the relevant information about the items in your database.
Field Types:
 
Checkbox
A
checkbox
field allows one or more checkboxes. Each line in the options box is a differentcheckbox. The text entered is what will be the case if the checkbox is checked e.g. 'Valid' forsomething that can be valid or not. This word will appear beside the checkbox on entry, andthen by itself when viewing if the box has been checked. Checkboxes
default to their
 
 3
unchecked status
. If you wish to ensure that the user actively selects one of the options youcan use radio buttons instead.Multiple checkboxes could be used, for example, in a movie database that has Horror,Comedy, Western etc. checkboxes for different film genres, and you would be able to check more than one in the case of Horror-Comedies or Comedy-Westerns. The menu (multi-select)field also achieves this, but clicking multiple checkboxes is usually a more obvious interface.
 
Date
A
date
field allows users to enter a date by picking a day, month and year from a drop downlist.
 
File
A
file
field asks users to upload a file from their computer. If it is an image file then the picturefield may be a better choice.
 
Menu
The text entered in the
options
area of the
menu
field will be presented as a drop-down list forthe user to choose from. Each line represents a different option.
 
Menu (Multi-select)
The text entered in the
options
area of the
menu (multi-select)
will be presented as a list forthe user to choose from and each line represents a different option. By holding down control orshift as they click, users will be able to select multiple options. This is a fairly advancedcomputer skill so it may be wise to use multiple checkboxes instead.
 
Number
The
number
field stores a floating number.
 
Picture
The
picture
field allows the user to upload an image file from their computer.
 
Radio Buttons
The
radio button
allows the user to choose one from a range of options. If the user doesn'tselect any of these options then they will be prompted to do so and can only submit the entrywhen one option is chosen.If you only have two options and they are opposites (true/false, yes/no) then you could simplyuse a single checkbox instead. However checkboxes
default to their unchecked status
,therefore users could submit without actively selecting one of the options. This may notalways be appropriate.

You're Reading a Free Preview

Download
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->