Skip to main content

Require Syntax example, for a WhereClause populated from a ComboBox and a ListBox

Comments

1 comment

  • Permanently deleted user

    Hi All,

    FYI

    This has been solved, see below for example of syntax that worked

      "Category = '" + ComboBox111.ToString + "' and CrossingCategory = '" + ListBox222.ToString + "'"

     

    (Using a ListBox with a Selection Mode: as Multple) 

    "Category = '" + ComboBox111.ToString + "' and CrossingCategory IN ('" + String.Join("','", CType(ListBox222, Object())) + "')"

     

    Also for my first question, I needed to create a new Variables (as Objects) for the Display's form "Output Arguments"

    e.g. ComboBox11  -  ComboBox111  and  ListBox22 - ListBox222

      

    0

Please sign in to leave a comment.