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

Sorting Negative numbers on a Report

Status
Not open for further replies.

rccline

Technical User
Jun 13, 2002
341
US
I am creating a report with Report Wizard using a query as a data source.

I would like to sort on a field which includes negative numbers. The report does not recognize the negative numbers.

Sorting on the number field, the report doesn't recognize that -128 < 1 or that -131 < -128

How do I create a report that sorts the negative numbers properly?

Example:
123
125
-128
130
-131
138
155


and not:

-131
-128
123
125
130
138



 
Are these calculated values or a numeric data field?
Are you sorting in the query or report? Only in the report works reliably.
 
Yes, these are calcualted values.
Robert
 
Set your sorting in the dialog with the expression:
=Val([YourCalcdField])

Duane
MS Access MVP
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top