Note: You are currently viewing documentation for Moodle 3.4. Up-to-date documentation for the latest stable version of Moodle is likely available here: Database activity.

Database activity: Difference between revisions

From MoodleDocs
No edit summary
 
(66 intermediate revisions by 23 users not shown)
Line 1: Line 1:
{{Databases}}
{{Activities}}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 almost unlimited, including images, files, URLs, numbers and text amongst other things.  
{{Moodle 1.6}}


The '''Database 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 almost unlimited, including images, files, URLs, numbers and text amongst other things. You may be familiar with similar technology from building Microsoft Access or Filemaker databases.
[[Image:databaseintro.png]]


* The first task is to [[Adding/editing_a_database|add the database]]. You will be asked to give it a name, provide some text explaining its intended purpose to users and set a few other options.
* [[Database activity settings|Database settings]]
* Next you define the kind of [[Fields]] that define the information you wish to collect. For example a database of famous paintings may have a [[picture field]] called ''painting'', for uploading an image file showing the painting, and two [[text fields]] called ''artist'' and ''title'' for the name of the artist and the painting.
* [[Building Database]]
* It is then optional to edit the [[Templates|database templates]] to alter the way in which the database displays entries.
* [[Database templates]]
* Note that if you later edit the fields in the databases you must use the [[Reset template button]], or manually edit the template, to ensure the new fields are added to the display
* [[Using Database]]
* Finally the [[Teacher]] and/or [[Students]] can start entering data and (optionally) commenting on and grading other submissions. These entries can be [[viewed alone]], [[viewed as a list]] or [[searched and sorted]].
* [[Database activity FAQ]]


[[Category:Database activity module]]


:'''''Note:''' Please don't confuse this [[Adding resources and activities | activity type]] with Moodle's underlying SQL database, which stores all of the information used in Moodle courses and is only of interest to Moodle [[Administrators]].''
[[de:Datenbank]]
 
[[es:Base_de_datos_%28m%C3%B3dulo%29]]
 
[[eu:Datu-basea]]
== See also ==
[[fr:Base de données]]
 
[[ja:データベースモジュール]]
* [[Glossary module]], which performs a similar though more specialised, text-based role and is available for previous versions of Moodle.
 
[[Category:Teacher]]
[[category:Modules]]

Latest revision as of 15:11, 2 October 2015

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 almost unlimited, including images, files, URLs, numbers and text amongst other things.

databaseintro.png