Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

how can i Export ms access table to CSV file

Posted on 2008-10-25
8
Medium Priority
?
401 Views
Last Modified: 2012-05-05
I need to export a table from ms access to a csv file in a location on my computer

Table is called frooglefeed
location is U:\judi
csv file is called frooglefeedReadyUpload

I tried using a ms access macro but can't see the opyion for csv file

0
Comment
Question by:oldmillsaddlery
8 Comments
 
LVL 93

Expert Comment

by:Patrick Matthews
ID: 22803167
Hello oldmillsaddlery,

A CSV file is simply a comma delimited text file.  If you must have a CSV extension for some reason, just
change the txt to csv after export.

Regards,

Patrick
0
 
LVL 7

Expert Comment

by:Norush
ID: 22803209
You need to do this once or more often ?
0
 
LVL 120

Accepted Solution

by:
Rey Obrero (Capricorn1) earned 195 total points
ID: 22803224
csv are also text file. use

Action
TransferText

transfer type  export delimited

table Name    frooglefeed
file name       U:\judi\frooglefeedReadyUpload.csv
has field names  Yes
0
Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

 

Author Comment

by:oldmillsaddlery
ID: 22803354
Hi Capricorn1,
I am getting a message can't update Database or Object is read only . Any Ideas
0
 
LVL 120

Expert Comment

by:Rey Obrero (Capricorn1)
ID: 22803430
check the macro that you created.
0
 
LVL 74

Assisted Solution

by:Jeffrey Coachman
Jeffrey Coachman earned 90 total points
ID: 22804147
oldmillsaddlery,

Take a close look at your spelling of your output file name.
You will get this error when you give the filename a non-standard extension for a text file.

So:
    U:\judi\frooglefeedReadyUpload.cvs
    U:\judi\frooglefeedReadyUpload.xtx
Will NOT work, but:...
    U:\judi\frooglefeedReadyUpload.csv
    U:\judi\frooglefeedReadyUpload.txt
WILL work.
;-)

JeffCoachman
0
 
LVL 46

Assisted Solution

by:aikimark
aikimark earned 90 total points
ID: 22804182
Use DoCmd.TransferText

Note: TransferText can also be invoked from a macro as an action
0
 
LVL 120

Expert Comment

by:Rey Obrero (Capricorn1)
ID: 22804539
B ???  
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
Traditionally, the method to display pictures in Access forms and reports is to first download them from URLs to a folder, record the path in a table and then let the form or report pull the pictures from that folder. But why not let Windows retr…
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…
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…
Suggested Courses

916 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