Solved

Tab delimit

Posted on 2004-04-05
3
928 Views
Last Modified: 2012-08-13
I need a file exported as text using tab-delimited, no quotes around text.  I created a spec in the "Export Wizard", called 'TabExportSpec' and ran the following:

DoCmd.TransferText acExportDelim, TabExportSpec, "ActionCodeResults", "C:\MFAtest\ActionCode2.txt", False

Access ignored the spec I created and used comma's and quotes anyway.  Apparently my spec is in the wrong place.  What Have I done wrong?

Warren Shore
0
Comment
Question by:wshore
3 Comments
 
LVL 7

Expert Comment

by:donpricejr
ID: 10762452
Try changing "acExportDelim" to "acExportFixed".

-Don
0
 

Author Comment

by:wshore
ID: 10762679
Don:

This still produces an error, in this case 2511 "...action requires a specification". That's what I thought 'TabExportSpec' was for.  Is TabExportSpec in the wrong place?  Why isn't it recognized?

Warren
0
 
LVL 2

Accepted Solution

by:
joshco earned 100 total points
ID: 10762749
put "Tabexportspec" in quotes, right now you are passing it a null for the value which suggests to it that it doesn't need to use a spec.

DoCmd.TransferText acExportDelim, "TabExportSpec", "ActionCodeResults", "C:\MFAtest\ActionCode2.txt", False

-Josh
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Regardless of which version on MS Access you are using, one of the harder data-entry forms to create is one where most data from previous entries needs to be appended to new records, especially when there are numerous fields and records involved.  W…
Experts-Exchange is a great place to come for help with solutions for your database issues, and many problems are resolved within minutes of being posted.  Others take a little more time and effort and often providing a sample database is very helpf…
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
Learn how to number pages in an Access report over each group. Activate two pass printing by referencing the pages property: Add code to the Page Footers OnFormat event to capture the pages as there occur for each group. Use the pages property to …

760 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

18 Experts available now in Live!

Get 1:1 Help Now