Forums

This topic is locked

Change code to include 2 rows of repeat region?

Posted 20 May 2002 11:14:09
1
has voted
20 May 2002 11:14:09 b w posted:
How do you tweak the code to include two rows instead of one for the repeat region behavior? ie two rows repeated ....
Thanks


Replies

Replied 20 May 2002 14:44:15
20 May 2002 14:44:15 David Behan replied:
Just highlight the two rows and then select repeat region. Simple as that...

_________________________
David Behan - www.site-manager.com/af.asp?a=11&l=1tds9p6x2
Replied 20 May 2002 19:12:34
20 May 2002 19:12:34 David Thomas replied:
Just like beano said, you simply highlight as many rows as you want before you apply the repeat region.
You could have an entire 25 row table repeated if you wanted <img src=../images/dmxzone/forum/icon_smile.gif border=0 align=middle>

"Nobody ever said this stuff was easy"
Replied 21 May 2002 04:03:45
21 May 2002 04:03:45 b w replied:
Ok. That was too easy and I should have known better. <img src=../images/dmxzone/forum/icon_smile_blush.gif border=0 align=middle>
<pre id=code><font face=courier size=2 id=code>
&lt;tr &lt;% If Repeat1__numRows Mod 2 Then %&gt;bgcolor="#CCCCCC"&lt;% End If %&gt;bgcolor="#999999" bgcolor="#FFFFFF"&gt;
</font id=code></pre id=code>

I am using this as the alternate row colors but it only works for the first row even though I apply this to the second row &lt;TR&gt;

Can someone give me some help on this?

thanks,

Replied 21 May 2002 09:17:54
21 May 2002 09:17:54 Viktor Farcic replied:
Are you sure you're using right variable? RepeatX__numRows is created by UD. Every recordset get's one with different incrementing number (Repeat1__numRows, Repeat2__numRows, Repeat3__numRows...).

<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
Ok. That was too easy and I should have known better. <img src=../images/dmxzone/forum/icon_smile_blush.gif border=0 align=middle>
<pre id=code><font face=courier size=2 id=code>
&lt;tr &lt;% If Repeat1__numRows Mod 2 Then %&gt;bgcolor="#CCCCCC"&lt;% End If %&gt;bgcolor="#999999" bgcolor="#FFFFFF"&gt;
</font id=code></pre id=code>

I am using this as the alternate row colors but it only works for the first row even though I apply this to the second row &lt;TR&gt;

Can someone give me some help on this?

thanks,


<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
Replied 22 May 2002 04:45:07
22 May 2002 04:45:07 b w replied:
Thanks Viktor,

I think It was because I had two BGcolors on the same line. I put the code in for each &lt;tr&gt; and "voila" it works.
Thanks for replying.


Reply to this topic