dbTalk Databases Forums  

Sort problem when importing

comp.database.ms-access comp.database.ms-access


Discuss Sort problem when importing in the comp.database.ms-access forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Binary Dave
 
Posts: n/a

Default Sort problem when importing - 07-18-2003 , 09:28 AM






Looking for some help. Not really sure if this is VBA or Access. I'm
using Access97, and using the TransferText command, and I want the
text file to come into the Access table as is; no sorting. However,
when I open the table, the records aren't in the same order as the
import file. Any suggestions? Here's my syntax: DoCmd.TransferText
acImportFixed, mySpec, _
tableName, myString

Thanks in advance!

Dave

Reply With Quote
  #2  
Old   
khayman_v@yahoo.com
 
Posts: n/a

Default Re: Sort problem when importing - 07-25-2003 , 03:22 PM






bytedad (AT) ivillage (DOT) com (Binary Dave) wrote in message news:<e7074e57.0307180628.32d806bf (AT) posting (DOT) google.com>...
Quote:
Looking for some help. Not really sure if this is VBA or Access. I'm
using Access97, and using the TransferText command, and I want the
text file to come into the Access table as is; no sorting. However,
when I open the table, the records aren't in the same order as the
import file. Any suggestions? Here's my syntax: DoCmd.TransferText
acImportFixed, mySpec, _
tableName, myString

Thanks in advance!

Dave

I created a short text file and imported it into a two different table
using the same syntax for the TransferText command. One table had an
index and the other didn't. The table witbout the index shows the
records in the same order as the file. The table with the index has
the records sorted by xyz. I hope this helps.

-charles-


Reply With Quote
Reply




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.