RowFilter in DataView: Missing operand before '|' operator

  • Thread starter Thread starter Fir5tSight
  • Start date Start date
F

Fir5tSight

Hi,

I am using a DataView to displaying a records from datatable. I have a
filter that I define it as follows:

"Status = '' || Status <> 'Scanned'"

The problems is that I get an error about "Missing operand before '|'
operator".

If I change the filter to "Status <> 'Scanned'", there is no error. But
records with an empty Status field do not show in the grid.

Any advice on how to make the filter work?

Thanks!

-Emily
 
RowFilter="Status='' OR Status<>'Scanned'"

(Assume empty Status is '', not NULL).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top