ORDER BY

D

Dave B

I have a form that has a list of cities, states, and populations. When I
turn the Order By On property to Yes and Type [State] in the Order By
property, the report still orders the entries by population. I know I could
do this with grouping, but I'm wondering why the Order By property might not
be working.
 
M

mike

How can I use my orderby fields (passed from the form) while still grouping
(sorting&grouping) fields on the report. Their doesn't seem to be a way to
turn off the sorting when I want to group things together.

- Mike

Duane Hookom said:
Any order in the sorting and grouping will over-ride the OrderBy property.
It isn't too difficult to set these properties.

--
Duane Hookom
MS Access MVP


Dave B said:
I have a form that has a list of cities, states, and populations. When I
turn the Order By On property to Yes and Type [State] in the Order By
property, the report still orders the entries by population. I know I could
do this with grouping, but I'm wondering why the Order By property might not
be working.
 
D

Duane Hookom

Allen Browne has a tip at http://users.bigpond.net.au/abrowne1/ser-33.html
describing how to set the group level expressions in a report.

--
Duane Hookom
Microsoft Access MVP


mike said:
How can I use my orderby fields (passed from the form) while still grouping
(sorting&grouping) fields on the report. Their doesn't seem to be a way to
turn off the sorting when I want to group things together.

- Mike

Duane Hookom said:
Any order in the sorting and grouping will over-ride the OrderBy property.
It isn't too difficult to set these properties.
When
I
turn the Order By On property to Yes and Type [State] in the Order By
property, the report still orders the entries by population. I know I could
do this with grouping, but I'm wondering why the Order By property
might
not
be working.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top