Adding a database entry: Difference between revisions
lea virgile (talk | contribs) m (precision to find the proper page) |
No edit summary |
||
Line 1: | Line 1: | ||
{{Moodle 1.7}}{{Databases}} | |||
{{Databases}} | |||
You can add many kinds of fields to your database. After you have created some fields, you will be able to add information to the database. | You can add many kinds of fields to your database. After you have created some fields, you will be able to add information to the database. | ||
==Creating a single entry== | |||
Go to the "Add entry" tab and fill in the form. | |||
==Importing many entries== | |||
At the bottom of the page "Add a database entry", you'll find a place to upload a csv file, though there are no help documents on what the CSV is supposed to look like. Please test and post your results. | At the bottom of the page "Add a database entry", you'll find a place to upload a csv file, though there are no help documents on what the CSV is supposed to look like. Please test and post your results. | ||
[[image:Upload_entries.png]] | [[image:Upload_entries.png]] | ||
Here's a sample of what a very simple file will look like. | Here's a sample of what a very simple file will look like. | ||
Line 20: | Line 17: | ||
Do not put spaces after your commas or upload will fail! | Do not put spaces after your commas or upload will fail! | ||
After upload page import.php comes back blank if it failed. | After upload page import.php comes back blank if it failed. | ||
If successful you'll read a message like, "1 entries saved". | If successful you'll read a message like, "1 entries saved". | ||
==See also== | |||
* [[Database export]] | |||
[[Category:Teacher]] | [[Category:Teacher]] | ||
Line 39: | Line 29: | ||
[[de:Datenbankeintrag hinzufügen]] | [[de:Datenbankeintrag hinzufügen]] | ||
[[ja:データベースエントリの追加]] | [[ja:データベースエントリの追加]] | ||
[[ru:Добавление записи]] |
Revision as of 01:50, 18 March 2009
Moodle1.7
You can add many kinds of fields to your database. After you have created some fields, you will be able to add information to the database.
Creating a single entry
Go to the "Add entry" tab and fill in the form.
Importing many entries
At the bottom of the page "Add a database entry", you'll find a place to upload a csv file, though there are no help documents on what the CSV is supposed to look like. Please test and post your results.
Here's a sample of what a very simple file will look like.
Do not put spaces after your commas or upload will fail!
After upload page import.php comes back blank if it failed. If successful you'll read a message like, "1 entries saved".