View Single Post
  #7 (permalink)  
Old May 2nd, 2008, 01:02 PM
mehere's Avatar
mehere mehere is offline
Mistress of Sarcasm

 
Join Date: Mar 2008
Location: Wide Awake In Dreamland
Posts: 111
Thanks: 8
Thanked 19 Times in 17 Posts
Rep Power: 1
mehere is on a distinguished road

Awards Showcase
Microsoft SQL Server Classic ASP 
Total Awards: 2

Default

while displaying the records ... check if it's ready or repair ... kinda like the way you're (i'm assuming) you're doing it for region ... something like this:
Code:
do while not rs.EOF
strLoc = rs("loc")
strType = MID(strLoc,inStr(strLoc,"-")+1,len(strLoc))
if strType <> prevType then
     response.Write(strType & "<br />")
end if
response.Write(the rest of the data)
prevType = strType
rs.MoveNext
loop
__________________
Quote of the Month:
Strife: As long as we have each other, we'll never run out of problems.

Questions to Ponder:
Should vegetarians eat animal crackers?

iif([sarcasm]=true,iif([you have to ask]=true,"didn't work","ha ha ha"),"not sarcasm")
copyright © 2008 sbenj69

Last edited by mehere; May 2nd, 2008 at 01:13 PM. Reason: forgot a parenthesis