Re: RowFilter in DataView: Missing operand before '|' operator
- From: "Norman Yuan" <NotReal@xxxxxxxxxxx>
- Date: Wed, 17 Jan 2007 10:52:05 -0700
RowFilter="Status='' OR Status<>'Scanned'"
(Assume empty Status is '', not NULL).
"Fir5tSight" <fir5tsight@xxxxxxxxx> wrote in message
news:1169048841.186113.12950@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
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
.
- References:
- RowFilter in DataView: Missing operand before '|' operator
- From: Fir5tSight
- RowFilter in DataView: Missing operand before '|' operator
- Prev by Date: debugger error?
- Next by Date: Re: C# Application Problem on Windows 2003 Server
- Previous by thread: RowFilter in DataView: Missing operand before '|' operator
- Next by thread: debugger error?
- Index(es):
Relevant Pages
|