Re: Multiple Copies Query
- From: Dale Fye <dale.fye@xxxxxxxxxx>
- Date: Thu, 29 Nov 2007 13:37:00 -0800
Adam
WHERE Len([yourField] & "") > 0
This problem arises when someone deletes data from a field (generally by
highlighting the cell in a table for query view and hitting the delete key,
or by deleting the data from a textbox on a form). When that happens, you
are left with a ZLS rather than a NULL.
Over time, I've gotten to where I generally use this method whenever I want
to check to see if the field is "empty".
HTH
Dale
--
Don''t forget to rate the post if it was helpful!
Email address is not valid.
Please reply to newsgroup only.
"Adam" wrote:
Hi Jeff.
Thanks very much! I ran the query you suggested and it showed all the
records I DON'T want in my multiple copies query (i.e ones that I thought had
a null value but actually have a ZLS. So how do I ensure that this query only
has records where the entry in the "copies" column is >1?
Thanks again
Adam
"Jeff Boyce" wrote:
Adam
We humans have trouble seeing the difference between a Null and a
zero-length string (""). You could try running a query against that table
to see if there are any ZLS's in that field.
--
Regards
Jeff Boyce
www.InformationFutures.net
Microsoft Office/Access MVP
http://mvp.support.microsoft.com/
Microsoft IT Academy Program Mentor
http://microsoftitacademy.com/
"Adam" <Adam@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:AF2C22C7-221E-4CAF-9A28-698C8125548E@xxxxxxxxxxxxxxxx
I have a database set up for our company newsletter. I have a query thatcolumn
allows me to see how many people receive multiple copies. The "copies"
in this query displays numbers like 2, 20, 35 etc. However when I openedit
today there are records where the copies cell is blank. How can this be?In
the design view the criteria says "Is not null." Perhaps it would bebetter
if it said greater than 1. How would I go about doing this?
- References:
- Re: Multiple Copies Query
- From: Jeff Boyce
- Re: Multiple Copies Query
- Prev by Date: Re: Query that is used in the openrecordset method
- Next by Date: RE: Using multiple form fields to populate the WHERE clause in a query
- Previous by thread: Re: Multiple Copies Query
- Next by thread: Re: Multiple Copies Query
- Index(es):
Relevant Pages
|