multiple countries

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • tippete
    Junior Member
    • Mar 2016
    • 42

    #1

    multiple countries

    I'm having a problem with the countries filter. I want to display races from GB and IE (Ireland).

    Seems i can get one or the other but not both. If i leave the filter out obviously i get all countries.

    This is what i tried.

    Dim marketCountries As New List(Of String)
    marketCountries.Add("IE" & "GB")
    params.filter.marketCountries = marketCountries

    Can anyone shine a light on where i might be going wrong?
  • jabe
    Senior Member
    • Dec 2014
    • 705

    #2
    Try adding them individually.

    marketCountries.Add("GB")
    marketCountries.Add("IE")

    Also found this, which creates an array that can be added to a list:
    Dim authors As String() = {"Mike Gold", "Don Box", "Sundar Lal", "Neel Beniwal"}
    AuthorList.AddRange(authors)

    Comment

    • tippete
      Junior Member
      • Mar 2016
      • 42

      #3
      Thanks Jabe , youre a star

      Comment

      Working...
      X