This demo shows how data from table can be exported to simple the csv file.
When Export buttons is pressed csv file will be created in the project's resource folder, you can check file by clicking View CSV File button, generated file will be shown in the subform bellow.