@Daniel
{exp:csvee filename="survey.csv" seperator="," query="SELECT name, email, q1, q2a, q2b, q2c, q2d, q3a, q3b, q3c, q3d, q4a, q4b,q4c,q4d,q5 FROM exp_freeform_entries ORDER BY entry_date DESC " }
I am getting the results as text in the browser window, but I am trying to get a CSV file as a download. Is there something missing from my code?