PC Review


Reply
Thread Tools Rate Thread

Access Export File Transfer - Help Required

 
 
New Member
Join Date: Sep 2011
Posts: 1
 
      6th Sep 2011
Hi

I am trying to export a file from access and I have given this command
DoCmd.TransferText acExportFixed, , "Orders", "C:\MyFiles\Export\cc.txt", True

and I tried all the possibilities. The command executes successfully but, I did not find the file cc.txt - I tested through query and my table has records. My only problem is that it is not writing the file into the folder or anywhere else.

Any help is appreciated and my advance thanks

Thanks,
Sankara
 
Reply With Quote
 
 
 
 
New Member
Join Date: Aug 2012
Posts: 3
 
      3rd Aug 2012
For acExportFixed you need an ini file or a specification file: "For a fixed-width text file, you must either specify an argument [specification file name] or use a schema.ini file...". That is from VBA help.

You likely have Warnings off, or you would get error number 2511 from Access indicating the need for a spec file.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Catalyst release Catalyst File Transfer .NET V5.0 - Native .Net Internet File Transfer and Management Component fiona@catalyst.com Microsoft Dot NET 0 21st Oct 2007 08:01 PM
File and settings transfer memory required? Daniel P. Levesque Windows XP Basics 2 19th Feb 2005 01:32 AM
EXPORT EXPORT EXPORT jubejoie@aol.com Microsoft Access External Data 1 12th May 2004 12:05 AM
Help! Help! Help! Help! Help! Help! Help! Help! Help! Help! Help! Help! Help! -$- Windows XP Internet Explorer 2 21st Dec 2003 11:45 PM
Outlook 97 - Journal - File - Import & export - Export to a file - Micros Excel Sam Microsoft Outlook Discussion 0 25th Jul 2003 01:56 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:59 PM.