Re: Sort Question
- From: MJatAflac <MJatAflac@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 12 Aug 2005 06:33:19 -0700
I think what I am understanding from this is that the records may and
probably are being written in the order they are read (therefore sorted) but
when I open the table for viewing and or exporting, the order they are
displayed has nothing to do with the order they are physically stored in the
table. This actually makes sense to me on one level. It's not that my sorts
aren't working, if I did something like a debug.print after my sort, the
records would print in the right order.
I will take the advice I've received and secure the database and I will also
use the createquerydef method to pass to the export to excel. Do you know
whether I can use a querydef I've created on the fly like this to pass to a
transferspreadsheet method?
Thanks,
m
--
Michal Joyce
Project Management IS Analyst
Aflac - Project Management Office
"David C. Holley" wrote:
> So then there are two dimensions at work - the first being the physical
> organization of the records, which is what is being used when the
> records are put into the new, temporary table and the second which is a
> virtual organziation based on the specified ORDER BY statements.
>
> Marshall Barton wrote:
> > I didn't read the question that way, but the answer to that
> > is the records are stored on disk in whatever way Access (or
> > its programmers) finds convenient. Relational database
> > theory is quite clear on not imposing rules about how data
> > is stored so that database system developers can be free to
> > optimize saving data to the system's advantage.
> >
> > The same applies to retrieving records. The records are
> > only sorted by a query with an Order By clause after the
> > data has been retrived.
>
.
- Follow-Ups:
- Re: Sort Question
- From: Marshall Barton
- Re: Sort Question
- References:
- Sort Question
- From: MJatAflac
- Re: Sort Question
- From: Marshall Barton
- Re: Sort Question
- From: MJatAflac
- Re: Sort Question
- From: David C. Holley
- Re: Sort Question
- From: MJatAflac
- Re: Sort Question
- From: Marshall Barton
- Re: Sort Question
- From: David C. Holley
- Re: Sort Question
- From: Marshall Barton
- Re: Sort Question
- From: David C. Holley
- Sort Question
- Prev by Date: Re: Combo Box Nulls
- Next by Date: Problems with custom libraries
- Previous by thread: Re: Sort Question
- Next by thread: Re: Sort Question
- Index(es):
Relevant Pages
|