Hi,<BR>Am trying to generate a CSV, populated with data from a Recordset (SQL db), so a user has the option of either viewing data from a query as html on screen (no problem) or downloading as a CSV file to the client PC (Ummm!).<BR><BR>I guess this is therefore two questions:<BR><BR>1) How do I generate the CSV file <BR>2) How can I enable the file to be downloaded to client PC automatically once created?<BR><BR>Thanks for any help you can provide.<BR><BR>cheers,<BR><BR>MrB