Get ready for BLACK FRIDAY shopping starting in

Forums

This topic is locked

Dynamic Table Columns

Posted 31 Jan 2002 23:10:04
1
has voted
31 Jan 2002 23:10:04 lane c posted:
I want to have the number of columns in a table be dynamic depending on a varying number. Is this possible?

Replies

Replied 01 Feb 2002 09:54:45
01 Feb 2002 09:54:45 Viktor Farcic replied:
1. Apply Repeat Region server behavior.
2. Find this piece of code:
<%
Dim Repeat1__numRows
Repeat1__numRows = -1
Dim Repeat1__index
Repeat1__index = 0
tblForums_numRows = tblForums_numRows + Repeat1__numRows
%>
3. Replace:
Repeat1__numRows = -1
with:
Repeat1__numRows = SomeVaribleThatContainsNumberOfColumnsToBeDisplayed

<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
I want to have the number of columns in a table be dynamic depending on a varying number. Is this possible?


<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>

Viktor Farcic

TalkZone Manager

Reply to this topic