Results 1 to 5 of 5

Thread: [RESOLVED]check for date null value doesn't work. help.

Threaded View

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Nov 2002
    Posts
    150

    [RESOLVED]check for date null value doesn't work. help.

    hi,
    I have formula that checks for two date fields and displays the earlier one.
    I tried these tow formulas:

    if date1 < date2 OR date1 = date2 then date1
    else if isnull(date1) then date2
    else if isnull(date2) then date1
    ----------------------------------------------
    if date1 < date2 then date1
    Else date2
    ----------------------------------------------
    these formulas work if none of the dates is Null.
    the data is coming from Stored Proc and when I run it in the analyser I get Null values for some fields.

    any suggestions?
    thanks
    Last edited by waely; Nov 7th, 2006 at 08:28 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width