P
Paul
I have a combo box in the form header of a continuous form that I'm trying
to use to filter records displayed in the form. I'm trying to use the
following text as the Row Source for the control:
"*";"All leases";"ABC";"ABC leases only";"<>ABC";"Non-ABC leases"
The first two choices, All leases and ABC leases only work fine. That is,
the recordset only displays the appropriate records for those choices. It's
the third choice I'm having trouble with - trying to display all but the ABC
leases.
I realize I have a problem with the syntax, so I've tried every other
possible combination I can think of:
<>"ABC"
"<>'ABC'"
Not "ABC"
"Not ABC"
and nothing seems to work.
I've got to believe there's a way to tell the query to display all leases
except for the ABC leases. Please tell me what I need to enter in the Value
list so I can accomplish this.
Thanks in advance,
Paul
to use to filter records displayed in the form. I'm trying to use the
following text as the Row Source for the control:
"*";"All leases";"ABC";"ABC leases only";"<>ABC";"Non-ABC leases"
The first two choices, All leases and ABC leases only work fine. That is,
the recordset only displays the appropriate records for those choices. It's
the third choice I'm having trouble with - trying to display all but the ABC
leases.
I realize I have a problem with the syntax, so I've tried every other
possible combination I can think of:
<>"ABC"
"<>'ABC'"
Not "ABC"
"Not ABC"
and nothing seems to work.
I've got to believe there's a way to tell the query to display all leases
except for the ABC leases. Please tell me what I need to enter in the Value
list so I can accomplish this.
Thanks in advance,
Paul