A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » New Users
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Export table to fixed length changes the sort of the table



 
 
Thread Tools Display Modes
  #1  
Old October 6th, 2005, 03:16 PM
AccessNewbie
external usenet poster
 
Posts: n/a
Default Export table to fixed length changes the sort of the table

Hello: I have created a series of queries whose end result is an Access
table in the correct sorting order that I want. The next step is to export
it to a fixed length .txt file. I've got the specs to work and the data is
lining up in the proper columns. The problem is that the sorting of the data
changes upon export. What causes the export processs to change the sort?

--
Thanks from a frustrated accountant
  #2  
Old October 6th, 2005, 03:58 PM
Kevin3NF
external usenet poster
 
Posts: n/a
Default

In Access there is no way to guarantee a sort order without using an ORDER
BY clause in your query...despite how it may look when you open the table.

--
Kevin Hill
President
3NF Consulting

www.3nf-inc.com/NewsGroups.htm


"AccessNewbie" wrote in message
news
Hello: I have created a series of queries whose end result is an Access
table in the correct sorting order that I want. The next step is to
export
it to a fixed length .txt file. I've got the specs to work and the data
is
lining up in the proper columns. The problem is that the sorting of the
data
changes upon export. What causes the export processs to change the sort?

--
Thanks from a frustrated accountant



  #3  
Old October 6th, 2005, 09:20 PM
Vincent Johns
external usenet poster
 
Posts: n/a
Default

Kevin3NF wrote:
In Access there is no way to guarantee a sort order without using an ORDER
BY clause in your query...despite how it may look when you open the table.

--
Kevin Hill
President
3NF Consulting

www.3nf-inc.com/NewsGroups.htm


Therefore, the easy way to do this is to export your Query, not a Table.

I suggest that, for ease of maintenance (depending on how much manual
tweaking you had to do to create the Table that you exported), it would
be wise to set up a grand, unified Query that combines the effects of
all those others that you set up. This may not be practical for you,
but if it is, I think you'll save a lot of effort the next time you have
to do this. And you won't have a redundant Table cluttering up your
database file.

-- Vincent Johns
Please feel free to quote anything I say here.

"AccessNewbie" wrote in message newswww.3nf-inc.com/NewsGroups.htm "AccessNewbie" wrote in message news
Hello: I have created a series of queries whose end result is an Access
table in the correct sorting order that I want. The next step is to
export
it to a fixed length .txt file. I've got the specs to work and the data
is
lining up in the proper columns. The problem is that the sorting of the
data
changes upon export. What causes the export processs to change the sort?

--
Thanks from a frustrated accountant

 




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 Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with relationship plase Rock General Discussion 5 July 4th, 2005 03:54 AM
Access combo box-show name, not ID, in table? write on New Users 30 April 30th, 2005 09:11 PM
Manual line break spaces on TOC or Table of tables Eric Page Layout 9 October 29th, 2004 04:42 PM
Here's a shocker Mike Labosh General Discussion 2 October 26th, 2004 05:04 PM
Table Wizard Does Not Set Relationship if Foreign Key and Primary Key Name Do Not Match Exactly in Case. HDW Database Design 3 October 16th, 2004 03:42 AM


All times are GMT +1. The time now is 11:57 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.