Re: Union Select sorting
From: Van T. Dinh (VanThien.Dinh_at_discussions.microsoft.com)
Date: 05/29/04
- Next message: Van T. Dinh: "Re: Select vs update Query"
- Previous message: Ken Snell: "Re: What is wrong with this WHERE clause ?"
- In reply to: JR: "Union Select sorting"
- Messages sorted by: [ date ] [ thread ]
Date: Sat, 29 May 2004 11:12:37 +1000
A work-around is to include the "hidden" Field in the Union Query then
create a new Select Query using the Union Query as the DataSource. Include
all other Fields (i.e. excluding the "hidden" Field) in the return list and
sort by the "hidden" Field.
-- HTH Van T. Dinh MVP (Access) "JR" <anonymous@discussions.microsoft.com> wrote in message news:482B522A-5F84-4E25-B0FF-3570E612ADE6@microsoft.com... > I'm having trouble sorting a Union Select query. I would like to sort on a hidden field, but from what I've read in help the only 'order by' field that I can add has to be one that is selected in both queries that I'm joining. > > Suggestions? > > Thanks for your help > > >
- Next message: Van T. Dinh: "Re: Select vs update Query"
- Previous message: Ken Snell: "Re: What is wrong with this WHERE clause ?"
- In reply to: JR: "Union Select sorting"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|