Hi!

When I use this code:

<% if rs("pic") <> "" then %>
<img src="../bilder/artiklar/<%= rs("pic") %>"><br>
<% else %>
<input type="file" name="pic" size="30" style="width: 425px;">
<% end if %>

....no image is displayed; I get a broken <img> tag.
But when I comment the If-statement:

<% 'if rs("pic") <> "" then %>
<img src="../bilder/artiklar/<%= rs("pic") %>"><br>
<% else %>
'<input type="file" name="pic" size="30" style="width: 425px;">
<% end if %>

The image is suddenly displayed.
It seems like I can only access rs("pic") once, and after that
is becomes invalid.

Has anyone else experienced the before?

/John