> > I would like to add "omit <> 'yes' " to the WHERE clause. When I
> > do this, the
> > query returns 0 records (unmodified, it returns 25 records).
> AND NOT omit = 'yes'

In addition to Kevin's comments, some flavors of SQL (especially SQL Server)
treat NULL differently - so "NOT omit='Yes'" will ignore NULL values as it's
only looking for string values, it might be worth using;
AND (NOT omit='yes' OR omit IS NULL)

Try both and see what happens...

Philip Arnold
ASP Multimedia Limited
T: +44 (0)20 8680 1133

"Websites for the real world"

**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
**********************************************************************


------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to