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

Sort by textbox result

Status
Not open for further replies.

bill1one

Programmer
Sep 29, 2004
93
US
I have a text box called txtTotal. It is an unbound object that equals the total of 8 different fields ([Week 1] + [week 2] + [week 3] + etc.) I'd like to sort my report by txtTotal, but when I change the property box to sort by that object, I get no result. Is there a different way to do this?
 
Try in your sort criteria putting =([Week 1] + [week 2] + [week 3])

ChaZ

There Are 10 Types Of People In The world:
Those That Understand BINARY And Those That Don’t.
 
I am using the Order By property and it doesn't work. Is there perhaps a VB code?
 
If the Week fields are in your report's record source, open the sorting and grouping dialog and add
Code:
  =([Week 1] + [week 2] + [week 3] + etc.)

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