Literal percentage symbol in rowfilter

  • Thread starter Thread starter Rob Oldfield
  • Start date Start date
R

Rob Oldfield

I have a dataview that accepts input from the user before being applied.
That's fine except where the text they want to search for includes the %
character. How do I do Fullname like '*a%b*' where I want the % handled as
an actual character?

Thanks
 
Try enclosing it in brackets ([])
See the doc's for DataColumn.Expression for more info.

/claes
 
Perfect. Many thanks.


Claes Bergefall said:
Try enclosing it in brackets ([])
See the doc's for DataColumn.Expression for more info.

/claes

Rob Oldfield said:
I have a dataview that accepts input from the user before being applied.
That's fine except where the text they want to search for includes the %
character. How do I do Fullname like '*a%b*' where I want the % handled as
an actual character?

Thanks
 
Back
Top