Get ready for BLACK FRIDAY shopping starting in

Forums

This topic is locked

Reusing Records More Than Once Bug

Posted 04 Jun 2002 09:51:05
1
has voted
04 Jun 2002 09:51:05 aegis kleais posted:
When I use any one data source more then once, (being used as a link or just to display or what have you), neither show up.

What I want to do is say www.page.com (and have it clickable so that when you click on it it goes to www.page.com)

Well, just inserting the text and viewing it in IIS5.1 is fine. Then I click on the data source, click on the LINK FOLDER, click DATA SOURCE, and select the same data source again. When I save it and upload it, the entire link and text are gone.

So I tried showing the text:

<%=(rcdUsers.Fields.Item("username".Value%>

Boom, works. Tried placing the EXACT SAME CODE somewhere else in the page. BOOM both are gone. What's up with that?

Replies

Replied 04 Jun 2002 23:56:13
04 Jun 2002 23:56:13 aegis kleais replied:
My bad, the code is this:

<%=(rcdUsers.Fields.Item("username".Value)%>


Proper Parentheses.....
Replied 05 Jun 2002 17:23:13
05 Jun 2002 17:23:13 aegis kleais replied:
Please note if you're reading this, my last post wasn't to say that I fixed the problem. It was just to show you that I had mistyped the code that I used......I still have the same prob.
Replied 06 Jun 2002 00:37:50
06 Jun 2002 00:37:50 David Thomas replied:
I had the same problem, it also seems to only allow one repeat region. I didn't actually find out how to get around it, i just based the design around only using the record once. <img src=../images/dmxzone/forum/icon_smile_sad.gif border=0 align=middle>

"Nobody ever said this stuff was easy"
Replied 09 Jun 2002 07:45:06
09 Jun 2002 07:45:06 aegis kleais replied:
Well, I think I figured out the problem.

A way around is to set a variable to the data you want to reuse over and over. Then just use the &lt;%= VariableName %&gt; and it works everytime.

I hope DMX codes so I don't have to setup variables!

Reply to this topic