Re: Query Order By then By...

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



In the query grid, there is a sort by line. The sort will by will be in the
order of the fields, however, if you want to display the fields in one order
and sort them in another order, just add the fields to the end of the grid a
second time, uncheck the DISPLAY and then set the sort to ascending or
descending.


"SusanV" <svanallen@xxxxxxxxxxxxxxx> wrote in message
news:%2374ujdhbGHA.3800@xxxxxxxxxxxxxxxxxxxxxxx
Hi all,

I often use the query design view to put together quick and dirty queries
on my database that I will never use again, that I don't need a report
for, just need to get this particular data this one time for someone.

Is there a way to order by 2 fields - say by Date then by OrderNo in SQL
or in the design view? I know you can do multi-tiered sorting in a report,
but I don't need a report. What I've been doing is dumping it to Excel
then using Excel's sorting, but that adds another step I'd like to
eliminate.

TIA,
Susan



.



Relevant Pages

  • Help Needed With Format Of Query Expression
    ... I'm using the following expression in the query grid to show the Month ... Is there a different way that it can be formatted so that when I sort ... aggregate function and if I Group on TxtDate or use Min or Max the ...
    (comp.databases.ms-access)
  • Re: Access Query to request record with date closest to todays dat
    ... The query grid is a graphic view of SQL that has a section at the bottom (a ... Field: SomeDate ... Sort: Descending ... additional sort criteria. ...
    (microsoft.public.access.queries)
  • Re: query records by numbers column with blank records showing last
    ... If you are doing this in the query grid, add a calculated column. ... An alternative, if your numbers column has a known maximum is to sort by NZ ... Prev by Date: ...
    (microsoft.public.access.queries)
  • Re: alphabetic sort problem
    ... why does the sort work in the query grid using the A-Z ... The Report processing ignores the sorting in your Query! ...
    (microsoft.public.access.queries)
  • Re: Report in FM 6 or 7
    ... Please adivse on this- and then, I get to attack this report again in ... you cannot sort by AgeDivision_Category and why the Export/Import ... act they want to be the last act of the show, they have to sort by their ... If the Age Division field contains data in the form "3-5 Age Division" ...
    (comp.databases.filemaker)