|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
do next and loop help
Hi guys,
Im trying to sort out what should be a very easy task, but I'm having a blank spot. Im pulling a distinct letter out of a DB and i want to be able to sort it A-Z inclusive using next and/or loop and then use them as a navigation aid....anybody throw any good links up or have help in the basics of loops... many thanks A |
|
#2
|
|||
|
|||
|
I need more information because you mention here:
---BEGIN QUOTE--- Im pulling a distinct letter out of a DB... ---END QUOTE--- So you are pulling **A** distinct letter as in "only one" right? So why would you sort it if it's only "one letter"? Perhaps I'm missing something here... Another thing, why aren't sorting the values directly inside your SQL Query with an ORDER BY clause? no? Anyway...Hope this helps! Sincerely Vlince |
|
#3
|
|||
|
|||
|
http://www.aspfaqs.com/aspfaqs/ShowFAQ.asp?FAQID=83
but if you can ORDER BY in the SQL statement you're crazy for trying to do it through scripting. |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > ASP Programming > do next and loop help |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|