[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

AcFormat in Docmd

Posted on 2012-08-24
2
Medium Priority
?
1,799 Views
Last Modified: 2012-08-24
Could someone please help.
I am trying to export a table to a csv file using the following:

DoCmd.OutputTo acOutputTable, "shippedmanifest", acFormatCSV, "c:\scansystem\export\Shipped-" & Format$(StDate, "dd-mm-yyyy-hh-mm") & " " & Me.shippername & ".csv", False, "", , acExportDelim


acformatCSV isnt accepted.

Thanks in advance
0
Comment
Question by:iainmacleod
2 Comments
 
LVL 40

Accepted Solution

by:
als315 earned 2000 total points
ID: 38328620
If you like docmd.Outputto use acFormatTXT
I can recommend you to use for export as csv
docmd.transfertext with acExportDelim
0
 

Author Closing Comment

by:iainmacleod
ID: 38328645
Perfect, many thanks
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

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

Access custom database properties are useful for storing miscellaneous bits of information in a format that persists through database closing and reopening.  This article shows how to create and use them.
In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
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…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
Suggested Courses

872 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