none
Bindingsource Filter Problem RRS feed

  • Question

  • When using the bindingsource filter I run into trouble if columns have a certain character in their names. e.g. "Part #" or even "Part Number" gives me problems, becuase of the reserved word Number. Is there anyway to encapsulate the column names in the filter string so they are looked at as only column names instead of filter commands. I have tried surrounding them with  ' ' and " "  but neither work. Thanks for any help
    Friday, December 23, 2005 4:38 PM

Answers

  • Try @ or [ ]. Like this:

      @"Part #"

       or

       @"Part Number"

      or

      [Part #]

       or

      [Part Number]

     

     

    Friday, December 23, 2005 5:41 PM

All replies