Hoppa till huvudinnehållet

autocomplete where clause CASE statement. Is it possible to include?

Kommentarer

2 kommentarer

  • Justin Kraemer
    Just to clarify one thing, the reason I have an IN statement in place of  what could be (and formerly was) a simple = {1:ComboBox1} is I had hoped to replace the default combo box value with a list of all municipality names, but that failed because of the necessary quotes around {1:ComboBox1}. 
    0
  • Justin Kraemer
    Figured it out. I simply changed the 

     

    AND Municipality IN ( '{1:ComboBox1}' )

     

    portion into

     

    AND Municipality LIKE '{1:ComboBox1}'

     

    and then set the combobox value for All of Bruce County to % 

     

    So now it works, though I'm still curious if CASE statements are supported in an autocomplete box Where clause. Can someone say?
    0

Du måste logga in om du vill lämna en kommentar.