Quote:
|
quote:the page that calls these contentID's is predetermined.
|
Is that predetermined just before the page is called, which means everytime the page is called, these ranges are going to be different? Or those ranges are always same (61 - 81 and then 92 - 105)?
Whichever, I would suggest you check for the rs("contentID") to do things there.
Code:
While Not rs.EOF
If (rs("contentID") >= x and rs("contentID")<= y) or (rs("contentID") >= A and rs("contentID")<= B) then
...do anything that you want here.
End If
rs.MoveNext
WEnd
Hope that helps.
Cheers!
_________________________
- Vijay G
Strive for Perfection