Skip to Content
author's profile photo Former Member
Former Member

CR v11 - How to select records ONLY IF "Effective End Date" field is Null

Hello. Newbie here to Crystal Reports. Does anyone know how to select records ONLY IF the "Effective End Date" field is Null? The field is defined in the database as a date field. I only want to see the records where this field is Null (I don't want to see the records where this field is populated)

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jan 29, 2008 at 03:48 PM

    Try isnull(EffectiveEndDate)

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 11, 2007 at 06:18 AM

    use this query...

    select * from <table name> where <date field name> is null;

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 22, 2008 at 02:29 AM

    I have run into a similar issue with a report of mine and adding the following formula to the Select statement seems to do the trick:

    isnull({feild holding your effective enddate})

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.