Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / New Users / June 2006

Tip: Looking for answers? Try searching our database.

export to CSV file

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Tanya - 07 Jun 2006 01:08 GMT
Hi,

i am trying to get a temp table to export directly to a csv file however i am
having a few problems with "

this is what i have thus far:

DoCmd.TransferText transfertype:=acExportDelim, _
               TableName:="SOIC_New", _
               Filename:="V:\SOIC\XLS_CSV\" & Me.State & "\CSV\Install\" &
"SSCI&M" & _
               Format(Me.EndingDate, "ddmmyy") & "Summary" & ".csv", _
               HasFieldNames:=False

now when i open the csv in say notepad it gives me this
"SSCCNVLJ",951099,"270506",""

how do i get rid of the " "  so it looks like this
SSCCNVLJ,951099,270506

any help or push in the right direction is greatly appreciated

Tanya
Tanya - 07 Jun 2006 04:21 GMT
Hi,

i figured this one out by setting up and using a specification name.

DoCmd.TransferText transfertype:=acExportDelim, _
               SpecificationName:="SOIC_CSV", _
               TableName:="SOIC_New", _
               Filename:="V:\SOIC\XLS_CSV\" & Me.State & "\CSV\Install\" &
"SSCI&M" & _
               Format(Me.EndingDate, "ddmmyy") & "Summary" & ".csv", _
               HasFieldNames:=False

woohoo.....

>Hi,
>
[quoted text clipped - 19 lines]
>
>Tanya
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.