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!

Categorizing results by letter

Status
Not open for further replies.

TheDust

Programmer
Aug 12, 2002
217
US
I have been having trouble coming up with an effective way to take a list of values from a dataset and group them by letter on a page.

For example the page would start with a "#" heading and display all listings starting with a number, then below that an "A" heading with all listings starting with "A", and so on...

Can anyone reccomend a quick and efficient way of doing this, without hitting the database 27 times?

Thanks in advance to anyone who can lend a hand,
Dust
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top