"MrNobody" <Mr******@discussions.microsoft.com> wrote in message
news:37**********************************@microsof t.com...
I really need to use the "&" logical operator on a data column when using
FilterRow, but apparantly the filter expressions do not support this. Is
there any workaround for this?
The SQL interpreter build into .Net (used by FilterRow) may not
recognize bitwise &, but TransactSQL does (and presumably what ever data
server you are using does).
So, on your initial query, include a new column which has the data
manipulated as you desired:
Instead of:
Select A,B,C from MyTable"
use
Select A,B,C, (A & 128) as D from MyTable"
Then the RowFilter merely becomes "D > 0"
--
Truth,
James Curran
[erstwhile VC++ MVP]
Home:
www.noveltheory.com Work:
www.njtheater.com
Blog:
www.honestillusion.com Day Job:
www.partsearch.com