Solved

Expport CSV From MS Access

Posted on 2014-01-09
1
323 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 250 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

Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

Question has a verified solution.

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

Describes a method of obtaining an object variable to an already running instance of Microsoft Access so that it can be controlled via automation.
Phishing attempts can come in all forms, shapes and sizes. No matter how familiar you think you are with them, always remember to take extra precaution when opening an email with attachments or links.
With Microsoft Access, learn how to specify relationships between tables and set various options on the relationship. Add the tables: Create the relationship: Decide if you’re going to set referential integrity: Decide if you want cascade upda…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

739 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