Search these areas:
Support Forums
Product Info

-DataWeb: What's New
-Creating an Application
-The DataWeb Designer
-Application Management
-Data Tables
-Data Tables
-Data Analysis
-Object Model
-Full-Text Search
-Domain and Email Hosting
-HotBlock Modules
-Account Management
-New Responsive UI Module

DataWeb Help
Support Forums
Script Library
Knowledge Base

Home > Support


How To: Filter for records where a Field is NOT equal to a Value
Article TypeHow To
TitleFilter for records where a Field is NOT equal to a Value
<I>How do I filter a resultset where a field is <B>not equal</B> to a value?</I><BR><BR>Use a <A href="/default.view?Topic=objectmodel/dataargs/wsdataargs">filter object</A> with <A href="/default.view?Topic=urls/urlfilterview">URL filter syntax</A>:<BR><BR><SPAN class=smallCode><PRE>// return all records on the FRUIT table except those where fruitName = "Apples";
var filter = new Object;<BR>
filter["fruitName~ne"] = "Apples";
rsIndex = "fruit", ["rowId","fruitName","season"],
                  filter, "+fruitName");</PRE></SPAN>
Last ReviewedFebruary 20, 2015 14:08:18

Affiliate | Partner | Terms of Use | Privacy Policy | Contact Us | Pricing | Bring DataWeb In-House    
DataWeb, 720 North 10th Street, A #145, Renton, Washington 98057 *425-583-5970* Fax 484-770-4706* Email Us