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 a numeric column in a report

Status
Not open for further replies.

cougartrace

Technical User
Sep 9, 2003
29
US
Hi all,

I have a report where I have 5 headings. I group by Title and then I sort by Number after this. However, if I have numbers 110,220,50. The 50 comes last instead of 1st. How do I fix this?
 
Seems like your "number" field is actually text. In the sorting and grouping box add a CInt to that field:

CInt([TheField])

Hope that helps.

Kevin
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top