L
Laurel
I have a table that has a dropdown text column called "membership". If I
enter data into the column, the person is marked as "non-member" or
"associate member." If I don't enter anything, the person is treated as a
"regular member." Most new records are regular members, so it saves on data
entry.
The problem comes when something is mistakenly entered into that column and
then deleted. After that, a query like this.
Select * from tblMembers where (Membership <> +) and (Membership <> ^)
no longer returns any rows. The colum membership looks the same when I look
directly at the table. I assume this has something to do with nulls and
empty strings? What can I do to make my query always work, even if data in
that column has been deleted?
TIA
LAS
enter data into the column, the person is marked as "non-member" or
"associate member." If I don't enter anything, the person is treated as a
"regular member." Most new records are regular members, so it saves on data
entry.
The problem comes when something is mistakenly entered into that column and
then deleted. After that, a query like this.
Select * from tblMembers where (Membership <> +) and (Membership <> ^)
no longer returns any rows. The colum membership looks the same when I look
directly at the table. I assume this has something to do with nulls and
empty strings? What can I do to make my query always work, even if data in
that column has been deleted?
TIA
LAS