This topic is locked

show image or text if image empty

11/6/2008 2:52:42 PM
ASPRunnerPro General questions
W
wfcentral author

I have a table called vendors. In this I put the name of the vendor and their logo.
What is the best way to have it show only the logo (if one is uploaded) OR if no logo is upload - then show the Name.

J
Jane 11/7/2008

Hi,
you can set up these fields as custom on the "View as" settings dialog on the Visual Editor tab.

Here is a sample for NameField:

if rs("LogoField")<>"" then

strValue = ""

end if