473,386 Members | 1,710 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Sort problem when importing

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
Jul 17 '05 #1
2 2684
On 18 Jul 2003 07:32:34 -0700, in comp.lang.visual.basic
by*****@ivillage.com (Binary Dave) wrote:
| 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


Do you specify a primary key on any of your fields when importing
(mySpec)? Access will automatically sort of these fields.
---------------------------------------------------------------
jn****@yourpantsbigpond.net.au : Remove your pants to reply
---------------------------------------------------------------
Jul 17 '05 #2
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
Beware of fields names. If any of the fields name you have defined begins by "num", Access will put automatically an "index" on it. Is it your case ?
Alain
Feb 28 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Andreas Emmert | last post by:
Hi there, I'm trying to import a csv file into my MySQL database. Unfortunately the number format for the price column is formatted in German style, i.e. XX,XX (decimals separated by comma not...
12
by: qwweeeit | last post by:
The pythonic way of programming requires, as far as I know, to spread a big application in plenty of more manageable scripts, using import or from ... import to connect the various modules. In...
4
by: jean-marc | last post by:
As an application programmer, I'm not well versed in the material aspects of computing (memory, cpu, bus and all). My understanding of imports in Python is such: the __main__ program is the center...
0
by: Daryl Zavier | last post by:
Hi Gurus, Please forgive me if my question is dumb cause this is my first web application I've done. Currently in my web application there is a button to click which will fire off a DTS event...
1
by: William.R.Reisen | last post by:
Hi, I have currently in Xcel and long list of X English phrases in one column with associated numerical data about each name in adjoining columns. I have on another workbook (which could of...
12
by: Jozef | last post by:
Here's a strange one. I made a modification to a database recently, and wound up getting an error message when trying to make an mde file. I'm using Access XP/2002, and the error message I got...
9
by: Lance Hoffmeyer | last post by:
Is there an easy way to round numbers in an array? I have Test = and want to round so the values are print Test
2
by: richardkreidl | last post by:
I heard of importing your xml doc into a dataset, then sort the dataset and re-populate your xml, but I'm not sure how to code this or is there another way of sorting a XML file? I not familiar...
3
by: rs387 | last post by:
Hi, I've found the following behaviour on importing a variable from a module somewhat odd. The behaviour is identical in Python 2.5 and 3.0b2. In summary, here's what happens. I have a...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.