[thelist] asp coding problem
VOLKAN ÖZÇELİK
volkan.ozcelik at gmail.com
Wed Apr 6 09:16:13 CDT 2005
Hi,
sorry but I did not understand what you are trying to express.
I guess, however, a loop structure is required. Have you considered using a
for/while loop
to iterate Cities.Fields collection and concatenate the values you want.
You can try
http://www.w3schools.com/vbscript/vbscript_looping.asp
http://www.w3schools.com/asp/default.asp
for a starting point.
HTH,
Volkan.
On Apr 6, 2005 3:35 PM, Jeroen Wijers <info at internetvraagbaak.nl> wrote:
>
> 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
>
> --
>
> * * Please support the community that supports you. * *
> http://evolt.org/help_support_evolt/
>
> For unsubscribe and other options, including the Tip Harvester
> and archives of thelist go to: http://lists.evolt.org
> Workers of the Web, evolt !
>
More information about the thelist
mailing list