?
Solved

Expport CSV From MS Access

Posted on 2014-01-09
1
Medium Priority
?
328 Views
Last Modified: 2014-01-09
A client has asked that I export a file in CSV format.  Fro some reason I've always exported in spreadsheet format.

I'm looking at the TransferText command as the solution.  It looks easy enough but I keep getting an error 3027, Cannot update.  Database or object is read only.

My data is pulled together in a query called qrySSPropInfo

My command
DoCmd.TransferText acExportDelim, , "qrySSPropInfo", wkFileLocandName

wkFileLocAnd Name is set above to C:\ExportSS\PropInfo"

I treid replacing the query name with a table name and go the same result.

What is the issue?  If I get this to work will it export in CSV format?
0
Comment
Question by:mlcktmguy
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 120

Accepted Solution

by:
Rey Obrero (Capricorn1) earned 1000 total points
ID: 39770001
you will need an export specification to do this,

DoCmd.TransferText acExportDelim, "exportSpecification", "qrySSPropInfo", wkFileLocandName


 you need to create this export spec
see this link

http://support.microsoft.com/kb/208991
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
The Windows Phone Theme Colours is a tight, powerful, and well balanced palette. This tiny Access application makes it a snap to select and pick a value. And it doubles as an intro to implementing WithEvents, one of Access' hidden gems.
Using Microsoft Access, learn some simple rules for how to construct tables in a relational database. Split up all multi-value fields into single values: Split up fields that belong to other things into separate tables: Make sure that all record…
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.
Suggested Courses

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question