[thelist] asp coding problem

Jeroen Wijers info at internetvraagbaak.nl
Wed Apr 6 07:35:28 CDT 2005


Hi,

Well i have an asp baed website in "maintenance" but now i need to change
something in the code:
    Response.Write("<td><B>" & FindVar("CityResultsStart") & 
Cities.Fields("CityCount") & _
                      "</B>some words, separated by commas" & 
iif(Cities.Fields("CityCount") <> 1,"en","") & "</td><tr>")
                   Cities.MoveNext()

The problem is the iif(........) <>1, "en",""&"</td> puts only the "en" 
behind the last word ( offcourse ;-) ).
But i would like to OR have it put after all the words (some words, 
separated by commas)
OR somehow remove the "en" part en define when CityCount") <> 1, "different 
words comma separted"


I lack the asp knowlegde... i am afraid... has any one a solution?

Thank you!

Jeroen




More information about the thelist mailing list