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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Reports Sorting Dilemma 1

Status
Not open for further replies.

Mantle51

Programmer
Aug 17, 2006
97
0
0
US
Hello,
Within in Reports Sorting and Grouping box, I'm trying to arrange a record with name "Not Provided" will always appear last in a particular field. Short of doing some kind work-around like renaming the records "zzNot Provided" in the underlying table, is there any expression I can write in the sorting and grouping box to implement this condition?

Thank you........Mickey
 
You can use almost any expression in the sorting and grouping dialog control source.
=IIf([Unnamed Name Field]="Not Provided","zzz",[Unnamed Name Field])


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