Get ready for BLACK FRIDAY shopping starting in

Forums

This topic is locked

Numeric repeat region

Posted 29 Mar 2005 19:12:48
1
has voted
29 Mar 2005 19:12:48 Christian Sen posted:
Does anybody know how to make a repeated list/region numeric?

I would like to add a number to each line that is made by the
repeat region function, like this:

1 Bob Sinclair Member
2 Ronald Dupp Member
3 Frank Silly Admin
4 Joanna Smart Member


Regard, Christian



Help is only a click away...
~~~~~~~~~~~~~~~~~
DWMX2004 | ASP | Access

Replies

Replied 29 Mar 2005 21:30:03
29 Mar 2005 21:30:03 Dave Thomas replied:
<pre id=code><font face=courier size=2 id=code>
&lt;ol&gt;
&lt;li&gt;your database binding here&lt;/li&gt;
&lt;/ol&gt;
</font id=code></pre id=code>

and select the <b>li</b> tag and apply a repeat region to it.

regards

Dave Thomas
<b>DMX Zone Manager</b>
Replied 29 Mar 2005 21:59:44
29 Mar 2005 21:59:44 Vince Baker replied:
Nice and clean as ever dave....I would have set a variable and incremented it each time repeat region ran.......shows you can always learn on here.....

Regards

Vince Baker
<strong>DMX Zone Manager</strong>

[VBScript | ASP | HTML | CSS | SQL | Oracle | AS400 | ERP Logic | Hosting]
Replied 30 Mar 2005 09:09:03
30 Mar 2005 09:09:03 Dave Thomas replied:
cheers buddy <img src=../images/dmxzone/forum/icon_smile_wink.gif border=0 align=middle>

regards

Dave Thomas
<b>DMX Zone Manager</b>
Replied 30 Mar 2005 19:26:48
30 Mar 2005 19:26:48 Christian Sen replied:
Thanks Dave, nice job!

Regards, Christian

Help is only a click away...
~~~~~~~~~~~~~~~~~
DWMX2004 | ASP | Access
Replied 02 Apr 2005 16:29:12
02 Apr 2005 16:29:12 Christian Sen replied:
Hi again!

I had a little trouble doing that..WYSIWYG-progs makes the html skills crash and burn.

I have a table with 4 cells/1 row, and it didn't turn out quite the way it was intended to.

Tried to copy my code into this scheme, but it didn't show up on the preview so I didn't
take the chance of referring to it.


Regards, Christian




Help is only a click away...
~~~~~~~~~~~~~~~~~
DWMX2004 | ASP | Access
Replied 02 Apr 2005 17:23:29
02 Apr 2005 17:23:29 Dave Thomas replied:
why what happened dude?

try this instead if that wont work

www.dmxzone.com/showDetail.asp?TypeId=7&NewsId=1995

regards

Dave Thomas
<b>DMX Zone Manager</b>
Replied 02 Apr 2005 18:05:32
02 Apr 2005 18:05:32 Christian Sen replied:
That last one did the trick!

Not sure what I did wrong before, probably placed the &lt; lo &gt; and &lt; li &gt;
all wrong. Working now though.

Thank you for your help Dave, much appreciated <img src=../images/dmxzone/forum/icon_smile.gif border=0 align=middle>


Regards, Christian




Help is only a click away...
~~~~~~~~~~~~~~~~~
DWMX2004 | ASP | Access

Reply to this topic