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 reports by exprression

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
I need to sort a report by an expression. The expression refers to a control on a form. I must use the Group/Sort window in the report because I have a group defined and any sorting done in the query is negated. In the Grouping/Sorting window I have entered [Forms]![formname]![controlname]. The information in the control is derived from an option box. I have checked the debug window and the correct data is being passed into the control. The expression, however, does not seem to have an effect on the sorting. There is one group specified before the sort criteria. Any suggestions?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top