Well, yes, it does work. You can provide a default value of OR .T.
>This is not what I'm looing for. I need to change the where condition dynamically (i.e. add an extra OR condition)
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer