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 Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SPLIT HTML TABLE ON CHANGE IN VALUE?

Status
Not open for further replies.

IncredibleVolk

Technical User
Apr 2, 2004
67
US
I currently have an html table that displays data from an SQL table. I was wondering if it's possible to create a new table for each value in a field. For instance:

Column A
X
X
X
Y
Y
Y

Is there a way I can create a new html table for each change in Column A? One table for X and one for Y?


do while not rs.EOF






 
TheValue=""
do while not rs.EOF
if(TheValue<>rs("Column A")) then
TheValue=rs("Column A"))
response.write("New column: "&TheValue&"<br>")
end if


Known is handfull, Unknown is worldfull
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top