Solved

Having difficulty exporting table to csv file using schema.ini file

Posted on 2008-10-29
3
826 Views
Last Modified: 2013-12-25
I need to export microsoft access 2003 table into a csv file. I am using the TransferText Command and I need to set certain details for the output file. For exampleNumberDigits=4
TextDelimiter=none

I have set these protocols up in my schema.ini file. I have put the schema.ini file into the same folder as the csv file. The when I go to run the TransferText command I get I get error Run-time error '3625': The text file specification does not exist. You cannot import, export, or link using the specification. I have attached my vb code of the TransferText Command and also the schema.ini file
DoCmd.TransferText acExportDelim, "Z:\Swingframe Order Management System\Channels\schema", "ExportChannelsTable2", "Z:\Swingframe Order Management System\Channels\channels.csv"
 
 
 

Here is my schema
 

[Channels.csv]

ColNameHeader = True

CharacterSet = ANSI

Format = CSVDeLimited

NumberDigits=4

TextDelimiter=none

Col1=SalesOrderNumber Integer

Col2=Bin Text Width 50

Col3=Cut1 Double

Col4=Cut1NumberofCuts Integer

Col5=MaterialID Text Width 4

Open in new window

0
Comment
Question by:swingframe
3 Comments
 
LVL 21

Accepted Solution

by:
oleggold earned 500 total points
ID: 22900379
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Not long ago I saw a question in the VB Script forum that I thought would not take much time. You can read that question (Question ID  (http://www.experts-exchange.com/Programming/Languages/Visual_Basic/VB_Script/Q_28455246.html)28455246) Here (http…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

920 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now