Thank you so much, Dan, your work is much appreciated - really looks great!!
I have attached your patch in a reformatted format, so that it can be applied against MOODLE_19_STABLE by executing "patch -p0 < MDL-8407-MOODLE_19_STABLE.patch" in the moodle root web directory:
[root@anet moodle]# patch -p0 < MDL-8407-MOODLE_19_STABLE.patch
patching file lang/en_utf8/data.php
patching file mod/data/field/checkbox/field.class.php
patching file mod/data/field/date/field.class.php
patching file mod/data/field/latlong/field.class.php
patching file mod/data/field/menu/field.class.php
patching file mod/data/field/multimenu/field.class.php
patching file mod/data/field/number/field.class.php
patching file mod/data/field/radiobutton/field.class.php
patching file mod/data/field/text/field.class.php
patching file mod/data/field/textarea/field.class.php
patching file mod/data/field/url/field.class.php
patching file mod/data/lib.php
patching file mod/data/tabs.php
patching file mod/data/export.php
patching file mod/data/export_form.php
What is missing for me is an option to specify the CSV separating character, similar than in the CSV import. Currently, a comma will be used which is bad IMO, since it prevents you to have commas in the data.
This is a very much needed feature for the database. Several of my users are asking how to export the databases they create with Moodle and we have many.