Forums

This topic is locked

Conditional region extension problem

Posted 12 Aug 2001 22:48:18
1
has voted
12 Aug 2001 22:48:18 dan dan posted:
Hello all.
i am trying to show a image field if the image field in the database is not null.
I use the Conditional region extension db field and data base script i set the db field to my picture name and i set it as not equales to then i set the script as ""
it seems like the right thing to do show the image field if the field is not null

this works it does not show the field if the field is null.

but my problem is it does not call up the image name if it is not null and it does call it up with out the Conditional region extension put on the image field. i use an access 2000 data base while i am devloping the site.
and here is the snipet of code with the Conditional region extension applyed to the image field

<% if (Recordset1.Fields.Item("dp_pic3".Value != ("") { // script %>
<img src="media/post/<%=(Recordset1.Fields.Item("dp_pic3".Value)%>">
<% } // if (Recordset1.Fields.Item("dp_pic3".Value != ("") script %>

am i missing something?
thanks odles for any help



hisdh

Replies

Replied 13 Aug 2001 12:16:12
13 Aug 2001 12:16:12 Waldo Smeets replied:
Check this FAQ: www.UDzone.com/go?1219

Waldo Smeets - www.UDzone.com Webmaster
<font size=1>-------------------------------------------
<i>Please read the Forum FAQ before posting
a question to this TalkZone.</i>
-------------------------------------------
www.UDzone.com : A dynamic Dreamweaver,
Ultradev and Fireworks site for developers
by developers.
-------------------------------------------</font id=size1>

Reply to this topic