+ Reply to Thread
Results 1 to 3 of 3

Incorrect Outcome with Dates and >= statement

  1. #1
    Registered User
    Join Date
    02-14-2010
    Location
    Scotland
    MS-Off Ver
    MS Office 2013
    Posts
    35

    Incorrect Outcome with Dates and >= statement

    Hi All,

    I'm having a bit of a hard time trying to resolve the following:-

    Basically I need to call a procedure if a date is between two defined dates. My curent code is:

    CANDIDATE_CREATED_ON value is set at "11/01/2011"
    STARFILTERDATE_START value is set at "15/10/2010"
    STARFILTERDATE_END value is set at "15/10/2010"

    Please Login or Register  to view this content.
    My issue is that the statement calls my sub procedure. Any ideas where my code is failing?

    Thanks for you help in advance.
    Last edited by stuart010; 11-29-2011 at 12:58 PM.

  2. #2
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,168

    Re: Incorrect Outcome with Dates and >= statement

    Hi stuart010,

    I think you have your < and > signs backwards. You want < End and > Start not the other way around.
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  3. #3
    Registered User
    Join Date
    02-14-2010
    Location
    Scotland
    MS-Off Ver
    MS Office 2013
    Posts
    35

    Re: Incorrect Outcome with Dates and >= statement

    Oh, I need a break I think! Spot on.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1