[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

filter with <NULL>

Posted on 2005-04-20
2
Medium Priority
?
310 Views
Last Modified: 2010-04-23
How can I this
dvContratoMaquila.RowFilter = "FechaFinal='<NULL>'"
I need filter all the rows with this field NULL.

thank,

 
0
Comment
Question by:miguelmam
  • 2
2 Comments
 
LVL 14

Accepted Solution

by:
amyhxu earned 2000 total points
ID: 13829082
if it's from SQL database:

dvContratoMaquila.RowFilter = "FechaFinal Is Null"
0
 
LVL 14

Expert Comment

by:amyhxu
ID: 13829226
That worked for me.

Other suggestions are:
 -- Syncfusion
 ' for a numeric null in FechaFinal
     dvContratoMaquila.RowFilter = "IsNull(FechaFinal, 0) = 0"

 -- Microsoft
To return only those columns with null values, use the following expression:
     "Isnull(Col1,'Null Column') = 'Null Column'"

 -- Some discussion
http://www.dotnet247.com/247reference/msgs/30/153129.aspx
 
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This tutorial demonstrates one way to create an application that runs without any Forms but still has a GUI presence via an Icon in the System Tray. The magic lies in Inheriting from the ApplicationContext Class and passing that to Application.Ru…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
This Micro Tutorial will teach you how to add a cinematic look to any film or video out there. There are very few simple steps that you will follow to do so. This will be demonstrated using Adobe Premiere Pro CS6.
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…
Suggested Courses

872 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question