Re: sorting question
- From: Marshall Barton <marshbarton@xxxxxxxxxx>
- Date: Mon, 07 Apr 2008 17:30:49 -0500
jlute@xxxxxxxxxxxx wrote:
Sorting a query is mostly useless for reports. Use the
report's Sorting and Grouping to sort the report's records.
I see I wasn't very clear. I meant to say that the query sorts
ascending NOT because it has a sort order but because the ID is the
primary key and therefore automatically sorts ascending.
I took another look at the subreport and sorted [ShortAddress]
descending so that any ID's with null values are shoved to the bottom.
This enables the text box to properly appear however the ID's are
thrown out of order. To resolve that I sorted the ID's ascending. This
results in the ID with a value in [ShortAddress] to be first followed
by all other ID's in ascending order which is not exactly what I'd
like.
This seems impossible to resolve. I'm back to square one:
The text box displays properly ONLY if the FIRST record in the
ascending order contains a value in [ShortAddress].
Where is this text box? It sounds like it's in the report
(or page) header. I would expect it to behave if it were in
the detail section.
The sorting issue still needs to be addressed. You can not
rely on the query sorting without using the Ordery By
clause. And even if you do that, the report will very
likely ignore it. From your explanation, you should specify
the ID field at the top of the report's Sorting and
Grouping.
--
Marsh
MVP [MS Access]
.
- Follow-Ups:
- Re: sorting question
- From: jlute
- Re: sorting question
- References:
- sorting question
- From: jlute
- Re: sorting question
- From: Marshall Barton
- Re: sorting question
- From: jlute
- sorting question
- Prev by Date: Re: Group Week Sunday to Saturday
- Next by Date: Email report to multiple users
- Previous by thread: Re: sorting question
- Next by thread: Re: sorting question
- Index(es):
Relevant Pages
|