Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sorting a Report by more than 10 fields 1

Status
Not open for further replies.

Timko

Programmer
Jul 20, 2004
5
GB
I have created a report and I want to sort on 13 fields, but in the Sorting and Grouping dialog there are only 10 rows. I cannot find a way to include more rows so that I can sort by more than 10 different rows.

I hope that some one can help me.

Tim
 
A single sorting and grouping level can contain an expression the includes more than one field. You can also consider using subreports to increase the number of levels.

Duane MS Access MVP
[green]Ask a great question, get a great answer.[/green] [red]Ask a vague question, get a vague answer.[/red]
[green]Find out how to get great answers faq219-2884.[/green]
 
Hi dhookom

Thanks for your reply, but i'm not sure how I can include an expression which sorts by more than one field. I have tried entering an expression "order by (country, ID, Value) but it won't accept this.

Could you let me know how I can do this?

Thank you

Tim
 
If you wanted to sort by LastName and then FirstName in a report, you could set the sorting and grouping expression to something like:
=Left([LastName] & Space(40),40) & [FirstName]


Duane MS Access MVP
[green]Ask a great question, get a great answer.[/green] [red]Ask a vague question, get a vague answer.[/red]
[green]Find out how to get great answers faq219-2884.[/green]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top