I've got a query I want to export [qryExport]. I want the user to be able to export the contents of the query to a CSV file to a location of their choice and for this to be run from a button on a form. Obviously I'm going to need to be able to specify save as CSV format in the underlying code, and be able to call a "standard" Save As type dialogue box to allow the choice of Save location (but not of file type as it must go to CSV).
How do I go about this? The MS Access Help on "Export File formats" seems to concentrate on doing this via the database window rather than coded buttons. I've had a quick search through this forum for some ideas but I can't find anything that really hits the spot. Any Routines or Code I should be looking at?
tx
How do I go about this? The MS Access Help on "Export File formats" seems to concentrate on doing this via the database window rather than coded buttons. I've had a quick search through this forum for some ideas but I can't find anything that really hits the spot. Any Routines or Code I should be looking at?
tx