Difference between revisions of "Building Database"

Jump to: navigation, search
m (Reverted edits by Suryadihadi11 (talk) to last revision by Tomaz Lasic)
(How to use the database activity module moved from Database activity module)
Line 1: Line 1:
 +
{{Improve}}
 +
 
{{Database}}
 
{{Database}}
<p class="note">'''Please refer to [[Page_notes#Database|these notes]] before editing this page.'''</p>
+
After creating a database, as explained in [[Database activity settings]]...
 +
* Next you define the kind of [[Database fields|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.
 +
* It is then optional to edit the [[Database templates|database templates]] to alter the way in which the database displays entries.
 +
* 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
 +
* 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.
 +
* Data can be uploaded into the database from a .csv file:
 +
** Click the 'Add Entry' tab
 +
** At the bottom of the page there is a link 'Upload entries from a file' which provides help in assigning data in a csv file to the relevant fields in your database.

Revision as of 15:05, 23 September 2011

This page really needs improving. Please see the page comments for suggestions of what to include, then remove this template when you're done.


After creating a database, as explained in Database activity 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.
  • It is then optional to edit the database templates to alter the way in which the database displays entries.
  • 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
  • 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.
  • Data can be uploaded into the database from a .csv file:
    • Click the 'Add Entry' tab
    • At the bottom of the page there is a link 'Upload entries from a file' which provides help in assigning data in a csv file to the relevant fields in your database.