Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Improving speed to Import a text file into Access DB AD
Message
From
08/01/2002 12:56:29
Jason Dalio
Northern Interior Regional Health Board
Prince George, British Columbia, Canada
 
 
To
08/01/2002 09:59:40
General information
Forum:
Visual Basic
Category:
Database DAO/RDO/ODBC/ADO
Miscellaneous
Thread ID:
00601606
Message ID:
00602075
Views:
24
Well, within Access itself it is fairly easy. Use the import wizard to import the text file and set it up how you want it then just before you click Finish click on the Advanced button (all within the wizard) and then click save. Now you have a saved improt specification within Accses that you can reference with the TransferText command (just look in Access help for syntax for TransferText as it makes more sense then just posting a line of code here).

However in VB, I'm not sure if you can access the built in specifications without using automation (or is it all called COM now?) to open up Access in the background and do the import. I did find a link though on Microsoft's site that you may or may not find interesting.

http://support.microsoft.com/default.aspx?scid=kb;EN-US;q113905
Previous
Reply
Map
View

Click here to load this message in the networking platform