GetRows Random <td></td> Output

J

Jim

Hey all,

I am trying to generate a random image output that will appear like this -
http://wd-santabarbara.com/atex/ .

I am not sure of where to start on this or even if I am using the right
search terms for google. All I could find was info for Random Records.

Any hints, help, or advice will be sincerely appreciated.

Thanks,
Jim

I use this to display image table data :

s = "<table>" & vbcrlf & vbcrlf

' loop through the rows
For iRowLoop = iStart to iStop
ImageID=aResults(0,iRowLoop)
thmbpath=aResults(1,iRowLoop)
Filename=aResults(2,iRowLoop)
strThumb = "Yada"

' test for start of new row
If c > 0 And c Mod numColumns = 0 Then
s = s & "</tr>" & vbCrLf & "<tr>"
End If

' output current column
s = s & "YADA" & vbCrLf
' increment column counter
c = c + 1
Next

' add any missing columns to the last row
Do While c Mod numColumns <> 0
s = s & "<img src=""graphics/trans.gif"" width=""125""
height=""1""></td>"
c = c + 1
Loop

s = s & "</tr></table>"
 
J

Jeff Clark

ask the microsoft.public.sqlserver.programming about returning a recordset
in random order
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,764
Messages
2,569,564
Members
45,040
Latest member
papereejit

Latest Threads

Top