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

Database results

Status
Not open for further replies.

pancake

Programmer
Aug 21, 2001
88
GB
Is there any way that I can display database results horisontally instead of vertically accross a page? For example my database results at the moment are a single field like this

12a
12b
12c

And I would like to show it as

12a 12b 12c

Thanks in advance
 
You could create a table and loop it to keep creating cells until the EOF. You can postition the table and define the properties and format however you like.

<TABLE>
<TR>
<%Do Until RS.EOF%>
<TD><%Response.write RS(&quot;Fieldname&quot;)%></TD>
<% RS.MoveNext
Loop
%>
</TR>
</TABLE>

Hope this helps.










 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top