By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,693 Members | 1,557 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,693 IT Pros & Developers. It's quick & easy.

vb classic asp help.

P: n/a
I have a record in an access dbase that has some items in it

and then on a web page I have this code.

<% If cstr(rsProducts("Logos")) = "OP" Then %>
<img name="Logo" src="images/op_big.gif" alt="Out of Print">
<% End If %>
<% If cstr(rsProducts("Logos")) = "NLT" Then %>
<img name="NLT" src="images/NLTlogo.gif" alt="New Living Translation">
<% End If %>
<% If cstr(rsProducts("Logos")) = "LBk" Then %>
<img name="Lbk" src="images/LBklogo.gif" alt="Living Books">
<% End If %>
<% If cstr(rsProducts("Logos")) = "GM" Then %>
<img name="Logo" src="images/GMlogo.gif" alt="Gold Medallion Award>
<% End If %>

This works, however, if the field has more then one answer it wont work.
(the page still works, but it wont display any logos)

If there is more then one logo, it would be separated in the field by a

so sometimes there are a combination of logos for each one, and I want to
display the appropriate logos for each product
NLT, LbK, GM etc.

is there an operator I can use so if it the record contains such and such
instead of =

Nov 20 '05 #1
Share this Question
Share on Google+
2 Replies

P: n/a

"Robert Blackwell" <Ro****> schrieb:
I have a record in an access dbase that has some items in it

This is a VB.NET language group. You will more likely get an answer to your
question if you post to this group:


Herfried K. Wagner
MVP VB Classic, VB.NET
Nov 20 '05 #2

P: n/a
Nov 20 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.