Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Docmd.TransferText

Posted on 1999-07-09
4
Medium Priority
?
599 Views
Last Modified: 2012-06-21
Hello !

I need an example of TransferText's using with fixed format file text.

Thanx.
0
Comment
Question by:nk51
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 7

Expert Comment

by:KangaRoo
ID: 1999410
   DoCmd.TransferText acImportFixed, specs, table, file

0
 

Author Comment

by:nk51
ID: 1999411
Ok but how to make the specs ?
What's the way to do it ?
0
 
LVL 7

Accepted Solution

by:
KangaRoo earned 200 total points
ID: 1999412
specs = "F1 Import Specs" ' Created with (for instance) Import Wizard
table = "TblF1"
file = "C:\TEMP\F1.TXT"

DoCmd.TransferText acImportFixed, specs, table, file

0
 

Author Comment

by:nk51
ID: 1999413
OK. Thanx.
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
Instead of error trapping or hard-coding for non-updateable fields when using QODBC, let VBA automatically disable them when forms open. This way, users can view but not change the data. Part 1 explained how to use schema tables to do this. Part 2 h…
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 …
What’s inside an Access Desktop Database. Will look at the basic interface, Navigation Pane (Database Container), Tables, Queries, Forms, Report, Macro’s, and VBA code.

715 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